1. Euphoria 4.x
- Posted by Davy Jan 02, 2012
- 1666 views
I'm a long time user of Euphoria but have only just made the switch to version 4.x. I just wanted to say thanks to all the devs for a superb job. An incredible amount of work has gone into this and Euphoria has IMO now risen way above what was previously a somewhat minimalist language. One thing I've noticed is that compared to ver 3.x there is a significant delay in the startup of programs, why is that? Also, I've got used to using the standard 'ed' editor and see that the new control structures don't have auto-indent. No big deal and I guess it's time to move on to a more sophisticated editor - can anyone recommend one which supports Euphoria 4 on Linux (ie; syntax colouring etc). Thanks.
2. Re: Euphoria 4.x
- Posted by SDPringle Jan 02, 2012
- 1599 views
I recommend you click on the 'SCM' on the "Misc Menu", located on the right hand side of this page. In there, there files for adding support for the language.
The only editor I know of that parses the ex.err file and puts you where the last error occurred is ed.ex but jumping to a specific line is a common command in programming editors. I only use jEdit myself which works on both Linux and Windows. Maybe its time I try out one of these alternatives.
I started using an auto-complete feature in this editor. Unfortunately, the jEdit editor will key-word complete identifiers local to previously finished local routines and it will not complete global/public identifiers that were exported from a dot-e file.
What I like best about jEdit is, it allows multi-file regular-expression search and replace. It has column-based selections. It runs on both Linux. Syntax highlighting is possible with a mode file.
3. Re: Euphoria 4.x
- Posted by Davy Jan 03, 2012
- 1530 views
Thanks for the feedback, I'll check out JEdit. I've got used to using a keyboard only editor so I might take a look at Vim.
Has ver 4 taken any hit in performance or is it still just as fast (or maybe faster) then ver 3?
I guess I should have checked the wiki before asking, I see there's a list of editors there. And I assume the delay in startup is because of the much larger size of the interpreter compared to ver 3.x.
5. Re: Euphoria 4.x
- Posted by mattlewis (admin) Jan 03, 2012
- 1517 views
I'm getting an error using the 'return' statement in a procedure. In 3.1 you didn't need to return a value in a procedure, but in 4.0 it seems this isn't the case? I can't find anything in the manual which mentions it.
That hasn't changed. Please post the code giving the error.
Matt
6. Re: Euphoria 4.x
- Posted by Davy Jan 03, 2012
- 1495 views
Sorry Matt, my mistake, there's no error.
7. Re: Euphoria 4.x
- Posted by K_D_R Jan 10, 2012
- 1396 views
Also, I've got used to using the standard 'ed' editor and see that the new control structures don't have auto-indent. No big deal and I guess it's time to move on to a more sophisticated editor - can anyone recommend one which supports Euphoria 4 on Linux (ie; syntax colouring etc). Thanks.
It should be fairly easy to add auto-indent to anything you want in ed.ex. Please specify the "new control structures" to which you refer and I'll give it a try.
Regards, Kenneth Rhodes
8. Re: Euphoria 4.x
- Posted by Davy Jan 12, 2012
- 1356 views
Hi Ken, thanks for the offer!
There are only 3:
Switch... case, Loop... Until and ifdef...
By the way, I notice there isn't full indentation of statements in the debug window, which can make things a little tricky to follow at times.