1. Using Euphoria
- Posted by rbniel0 Oct 21, 2011
- 36521 views
I am really new at this and I can't seem to figure out how to start Euphoria so I can type in a program. I am using Win XP Pro and I have clicked on all the .exe files and I still can't get it to start. can anyone give me a simple step by step way to do this?
2. Re: Using Euphoria
- Posted by evanmars Oct 21, 2011
- 36529 views
Have you read section 3.2 "Creating Euphoria Programs" in the manual?
"Euphoria programs can be written with any plain text editor. As a convenience Euphoria comes with ed, an editor written in Euphoria, that is handy for editing and executing Euphoria programs. Take a look at \euphoria\demo and euphoria\tutorial to see many example programs. "
http://openeuphoria.org/docs/creating_eu_progs.html#_63_creatingeuphoriaprograms
3. Re: Using Euphoria
- Posted by rbniel0 Oct 21, 2011
- 36462 views
When I open Ed.ex it asks for a file name. When I paste the program into it it just turns grey. It doesn't execute the program. Why?
4. Re: Using Euphoria
- Posted by Vinoba Oct 21, 2011
- 36443 views
When I open Ed.ex it asks for a file name. When I paste the program into it it just turns grey. It doesn't execute the program. Why?
ed.ex is an editor, in place of your wordpad/notepad. It creates and .ex file; it DOES NOT execute it. You invoke ed from console
eui ed eui is the executor program (eui.exe in windows) which runs ed.ex and all .ex files
When you installed euphoria, it set up the paths fory ou and paths for include files, such that you can execute ed, which automatically executes as eui ed
In your effort above, you give it the name of a new file name you are creating, or a path\filename you already have as a predefined .ex file.
You do not have to use ed. You can use wordpad or notepad or one of dozen other text editors and save as .ex file. If youe sytax for euphoria is correct, it will execute. supposing the new file is
rbniel0.ex
then you can execute it using
eui rbniel0
Go to the demo directory, and execute buzz.ex in coNsole as
eui buzz
Try
eui color
and ask for the colors. Try
eui animal and do a little interactive learning exercise for euphoria.
Similar to eui.exe for console applications, you have euiw.exe for windows applications.
If you have win32lib, or wxEuphora installed you can try the windows demos for these. Both these libraries have 30-40 demos. The windows level Euphoria files have .euw suffix. You should be able to run at least 70% of the demos for these two Windows libraries.
You create the Windows executables using wordpad/notepad or any other text editor. There is also a IDE for each of the above two libraries, but the IDE s are weak. First ry running a few windows applications, then modifying them from your wordpad. When you modify, make sure you save as text file.
All the above is related to using Euphoria as an Interpreter. You can also compile an application as a windows executable. You should study the euphoria manual, for learning to use these methods.
5. Re: Using Euphoria
- Posted by Euphoric_Kid Oct 23, 2011
- 36302 views
Download this book. Very Helpful http://www.rapideuphoria.com/euphoricMysteries%20v0.2.exe