added experimental generation of Lambda Prolog code. Could be used for exhaustive generation with dependent types. Doesn't support def rules yet but supports high-order syntax and lambda expressions.

This commit is contained in:
krasimir
2010-03-20 07:26:53 +00:00
parent a74a81b8a1
commit 57b8e42601
3 changed files with 90 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ data OutputFormat = FmtPGFPretty
| FmtHaskell
| FmtProlog
| FmtProlog_Abs
| FmtLambdaProlog
| FmtBNF
| FmtEBNF
| FmtRegular
@@ -432,6 +433,7 @@ outputFormats =
("haskell", FmtHaskell),
("prolog", FmtProlog),
("prolog_abs", FmtProlog_Abs),
("lambda_prolog",FmtLambdaProlog),
("bnf", FmtBNF),
("ebnf", FmtEBNF),
("regular", FmtRegular),