Re: Goto (Was Re: Open Source)
- Posted by Matt Lewis <matthewwalkerlewis at g?ail?com> Oct 24, 2007
- 808 views
Derek Parnell wrote: > > Juergen Luethje wrote: > > Matt, I agree that would be better than my proposal above. > > BTW: I vaguely recall now, that Derek had suggested something similiar > > some years ago, but I can't remember any details. > > Yes I did. > > http://www.users.bigpond.com/ddparnell/euphoria/product.htm > > Item #24 "Support for named loops and blocks" I had totally forgotten about that page. It's kinda neat to see that we've managed to get a few of those into the code: 1. Namespaces (the page is light on details, but I think it's basically the same as what's in there now) 6. 'Length of Sequence' syntax item. 30. User defined crash routines. 32. 'Compile-to-P-code' option. And then there are those that I think are good ideas to consider: 3. Assignment on declaration 4. 'Next Interation' keyword 5. 'Repeat Current Iteration' keyword 7. Scope of a 'For' loop counter to extend beyond the loop. 8. 'Constant' declaration to be scoped at routine-level. 14. Ensure that the interpreter can support operating system threads. 20. Pass parameters by reference. 21. GOTO construct. 23. Code blocks within routines with their own scope. 24. Named loops and blocks 25. Memory mapped data (C structs) 26. Dynamic interpretation (execute strings) 47. Case Statement 48. Routine_id() for Built-ins 49. Variable_id() function Matt