[antlr-interest] Grammar for Time,date types.

Bharath S bharath at starthis.com
Mon Apr 19 09:47:01 PDT 2004


Hi grp,

 

Does anyone have example grammar rules for units of time? (seconds, minutes,
hours etc). I have a working set of rules for the same and it requires
explicit usage of the "protected" keyword, which I am not very fond of. I
looked at the Java grammar, Pascal grammar and several others but none of
them have written grammar rules for TIME units.

 

Thanks!

 

Bharath.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20040419/227b1a25/attachment.html


More information about the antlr-interest mailing list