Re: IDE for Eu4?
- Posted by AndyDrummond Jan 06, 2011
- 3246 views
Okay, so I've changed the way the IDE runs your program. Before, it would get the fully-qualified path to your interpreter by using the EUDIR environment var. With Eu4, there's no such thing (or not need be). I've added an INI file in which you can tell the IDE what interpreter to use. Check out the file "which_interpreter.ini."
So now it just runs "euiw yourprogramhere.exw," without the path. This works just fine so long as the path to your interpreter is in your %PATH%.
(It seems there are other references to the interpreter elsewhere in the code, but I haven't needed to worry about those just yet.)
Anyway, I've updated the source code archive at my site with these latest changes. The executable will be uploaded in about half an hour... the time it takes to compile the project. :O
Let me know if you have any problems.
Now THAT sounds like a wonderful way around it! We have a single executable IDE (it has to be in C:\Euphoria\ide with all the language stuff to run) and then we can run programs in Eu3 as of old or Eu4 with all its bells and whistles. Excellent. I'm looking forward to seeing this working. So much good stuff in Eu4 but I really can't do all the Windows stuff with buttons and windows and so on (I'm the original WIMP!) but I still want to write new code for Eu4. So thank you, O Euphoric One, you're well on your way to make many people pretty Euphoric!
It would be great if the INI file was named the same as the project name (rather than adding an item to the project file) 'cos then each project would run its own correct interpreter. Hint hint ...