recursive comments on sablecc 3.7

31 views
Skip to first unread message

Tiago fumo

unread,
Nov 23, 2013, 11:18:11 PM11/23/13
to sab...@googlegroups.com
hi, I'm using sablecc in my college project for creating a compiler for a language that has recursive comments.

I tried to do as this page says: http://sablecc.org/wiki/LexerDetails but it doesn't work both on the sablecc 3.7 or sablecc 4 beta 4

So I don't know what to do, I tried converting it to sablecc 4 beta 4 but I get erros like the '...'  identifier isn't recognized, which exists in the example from the link I pasted.

I already started using sablecc 3.7 and all I have for my language is working in it, and only looked at the 4 because the page said it would work with sablecc 4, but it also mention another way on doing recursive comments with sablecc 3

So can someone show me a code for recursive comments on sablecc 3.7 (or sablecc 4 beta 4 if there is no option for sablecc 3.7)?
Reply all
Reply to author
Forward
0 new messages