Hi guys, With the commit counter on my year-of birth, the general structure of tree walk functions turns out to be well-suited and I finally got the dritf of Antlr rewrite rules. The combination enables quick progress on the straight-forward reformatting of code. On one hand, this means 'just work' to implement. But it also gives way to think about issues to be solved in the 'C-domain)':
- How to handle bit variables - How to handle the 'at' of variable definitions - When to call by value and when by reference - How to handle pseude variables, in code and as parameters Until now, the codegenerator itself is next to stateless and we should keep it that way if we can... An other thing is testing. With variable defs, functions, expressions, if-statements and forever-loops, you can actually build usefull programs. And building usefull programs means creating more complex combinations of statements that might surface bugs and will build confidence. So to anyone who is interested: give the translater a try and tell me what you think. Joep Joep 2010/4/22 <[email protected]>: > Revision: 1965 > Author: jsuijs > Date: Wed Apr 21 23:34:19 2010 > Log: And exit loop support. > http://code.google.com/p/jallib/source/detail?r=1965 > > Modified: > /trunk/grammar/codegen.c > /trunk/grammar/jal.g > /trunk/grammar/jalLexer.c > /trunk/grammar/jalLexer.h > /trunk/grammar/jalParser.c > /trunk/grammar/jalParser.h > /trunk/grammar/jalparser.exe > /trunk/grammar/test.jal > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. > > -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
