forked from GitHub/gf-core
added option -output-format=java for producing code for embedded grammars in Java
This commit is contained in:
@@ -90,6 +90,7 @@ data OutputFormat = FmtPGFPretty
|
||||
| FmtJavaScript
|
||||
| FmtPython
|
||||
| FmtHaskell
|
||||
| FmtJava
|
||||
| FmtProlog
|
||||
| FmtLambdaProlog
|
||||
| FmtByteCode
|
||||
@@ -475,6 +476,7 @@ outputFormatsExpl =
|
||||
(("js", FmtJavaScript),"JavaScript (whole grammar)"),
|
||||
(("python", FmtPython),"Python (whole grammar)"),
|
||||
(("haskell", FmtHaskell),"Haskell (abstract syntax)"),
|
||||
(("java", FmtJava),"Java (abstract syntax)"),
|
||||
(("prolog", FmtProlog),"Prolog (whole grammar)"),
|
||||
(("lambda_prolog",FmtLambdaProlog),"LambdaProlog (abstract syntax)"),
|
||||
(("lp_byte_code", FmtByteCode),"Bytecode for Teyjus (abstract syntax, experimental)"),
|
||||
|
||||
Reference in New Issue
Block a user