I have a situation where I would like multiple lexers to feed the same parser. In particular I would like to have lexers that allow a user to write code in their native language.
For example, an English lexer would define IF : 'if' ; WHILE : 'while' ; A German lexer might have (and this is just a babefish lookup) IF : 'wenn'; WHILE : 'wahrend'; Ideally, these lexers should be able to feed the same parser. I was wondering what the best approach would be in Antlr. Any pointers or tips would be appreciated. This may be a newby question but I could not find answer in the FAQs or recent mail archives. Thanks, Dan List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
