FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

lr parser generator - new release - version 0.2

 
Post new topic   Reply to topic     Forum Index -> lr-lalr
View previous topic :: View next topic  
Author Message
Ivan Senji



Joined: 03 Sep 2004
Posts: 8
Location: Zagreb, Croatia

PostPosted: Sat Sep 17, 2005 3:45 pm    Post subject: lr parser generator - new release - version 0.2 Reply with quote

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 Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> lr-lalr All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group