mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-27 00:53:17 -06:00
Export a grammar in source format to JSON
This commit is contained in:
1 parent
3432e6f571
commit
cc4d07f168
3 files changed
+5
No files matched your search
@@ -34,6 +34,7 @@ exportPGF opts fmt pgf =
|
||||
FmtPGFPretty -> multi "txt" (showPGF)
|
||||
FmtCanonicalGF -> [] -- canon "gf" (render80 . abstract2canonical)
|
||||
FmtCanonicalJson-> []
|
||||
FmtSourceJson -> []
|
||||
FmtHaskell -> multi "hs" (grammar2haskell opts name)
|
||||
FmtJava -> multi "java" (grammar2java opts name)
|
||||
FmtBNF -> single "bnf" bnfPrinter
|
||||
|
||||
Reference in new issue
Block a user