Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do you generate Delphi output with ANTLR? [closed]

Tags:

antlr

delphi

How do you generate Delphi output with ANTLR?

My grammar outputs ok in other languages but there seems I'm doing something wrong since I'm getting an error.

There is special switches or something to make it work?

like image 985
ernest Avatar asked Nov 05 '22 18:11

ernest


1 Answers

You're probably encountering an error like:

error(10): internal error: Exprtoken.g : java.lang.IllegalArgumentException: Can't find template actionGate.st; group hierarchy is [Delphi]

AFAIK, the Delphi target has always been experimental, and hasn't been updated in the past few years: I don't recommend you use it.

like image 173
Bart Kiers Avatar answered Nov 09 '22 10:11

Bart Kiers