Ivan Senji
Joined: 03 Sep 2004 Posts: 8 Location: Zagreb, Croatia
|
Posted: Sat Sep 17, 2005 3:45 pm Post subject: lr parser generator - new release - version 0.2 |
|
|
Available in the download section.
Changed syntax of the grammar definition file.
Now has only one example but it is quite nice and intresting. It is a translator from infix expressions to postfix expressions.
One example what it can do:
translate this: 1+sin(2)*cos(3)-1/(1+exp(1/cos(3.14159)))
into this: 1 2 sin 3 cos * + 1 1 1 3.14159 cos / exp + / -
Althouh the example is very simple it can get you started if you wan't to do anything more complex.
How to build and test this example is described in the documentation.html found in the zip file.
I hope you like it |
|