possible?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Liam83
Posted On:   Wednesday, June 13, 2012 10:31 AM

I try to make a grammer with ANTLR with the following specifics. It can parse an identifier like: foo > bar > 67 where foo > bar is the identifier, because if > followed by a letter it contains to the identifier and else its a greater than operator. And I it should parse things like ((a = 1) AND (b = 2)) OR (c = 3) where the ( ) are necessary. I'm really new to this topic and ANTLR and hope someone can help.    More>>

I try to make a grammer with ANTLR with the following specifics.

It can parse an identifier like:

			foo > bar > 67
		

where foo > bar is the identifier, because if > followed by a letter it contains to the identifier and else its a greater than operator.

And I it should parse things like

			((a = 1) AND (b = 2)) OR (c = 3)
		

where the ( ) are necessary.

I'm really new to this topic and ANTLR and hope someone can help.

   <<Less
About | Sitemap | Contact