[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.ldt] Tutorial for designing your own language

hello together,

i just work on the problem how to do my own programming language.
i hope that you can help me doing that... :-)

_what i have done so far:_
--> i have thought about the grammar which describes my language (finished)
--> i have created a parser with antlr (finished)
--> and i have got a treewalker for walking through the tree (finished)

my question is now, how to implement an interpreter?!
--> i mean the problem of creating and storing variables
--> how to handle a for loop if there is a function call in it => how can i keep the actual level(run) of the for loop, the variables,... in mind and how to jump into the right run of the loop when exiting the external function?!


=====> is there a good online tutorial/ documentation for this issue?!

Thanks in advance

Flik