Then inspect SqlBaseLexer.py. From line 1907 onwards the generated code is suddenly in C++ instead of python until about line 1960.
I would like to submit this as an issue on the antlr github. Any objections?
Best,
Simon
Mike Lischke
unread,
Dec 20, 2021, 7:03:28 AM12/20/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ANTLR discussion group
Hi Simon,
The grammar contains some action code written for the C++ target (see the named actions @parser::members and @lexer::members). You have to port this manually to Python.