Euphoria Interpreter design

new topic     » topic index » view thread      » older message » newer message

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.

Thanks for your time.

Ray Smith

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu