Re: Euphoria Interpreter design
- Posted by Don Groves <groves at ACM.ORG> Feb 22, 1999
- 481 views
At 11:50 2/23/99 +1100, Smith Ray wrote: >Hello again, > >I guess this email is for Rob Craig ... > >The single pass design of the Euphoria Interpreter has the draw back that >all procedures / functions have to be defined before usage. I find that >it results in my source code to be poorly organised. > >I know you can use "routine_id" but I was wondering ... > >How difficult would it be for the Euphoria Interpreter to read the entire >source file and create an "entry point" table before execution begins ... >then procedures and functions could be executed from anywhere. > >I imagine this would also force all lines of code to be checked for syntax >errors as well. An added bonus. I find that not having forward references *enhances* code organization, not the reverse. You just have to learn to read your files from the bottom up -- Don Groves