Commit Graph

38 Commits

Author SHA1 Message Date
bringert
61898554b5 Transfer: Removed PType from source and core languages. 2006-03-03 10:34:15 +00:00
bringert
958c754112 Regenerate Transfer abstract syntaxes with updated BNFC. 2006-01-03 10:29:47 +00:00
bringert
deb9e3f482 Transfer compiler: rename variables before doing any substitutions. 2005-12-09 13:06:05 +00:00
bringert
6b137b54ba Transfer: changed syntax to remove the mandatory type annotation in let. 2005-12-09 11:45:57 +00:00
bringert
d6fb8d218b Transfer: fixed bug in prelude partition. Fixed naming of tuple field names, made it 1-based as in docs, instead of 0-based as before. 2005-12-08 09:45:17 +00:00
bringert
900a8f1142 Transfer: Changed transfer program file extension from .tr to .tra to avoid collision with Troff file extension. 2005-12-06 16:33:40 +00:00
bringert
8b379e4421 Transfer: Fixed BNFC's layout resolver to not insert semicolon at end of line if there is one already. 2005-12-06 16:19:29 +00:00
bringert
ed23b9d8d8 Transfer: Changed BNFC's layout syntax resolver to add a semicolon at EOF if using top-level layout sytax. Changed transfer syntax to use this to force semicolon after imports when pretty printing transfer. transfer grammar printer now produces Transfer syntax, not core. It also imports prelude and includes Eq and Compos instances. 2005-12-06 15:57:43 +00:00
bringert
ccb780361f Added tuple expressions and patterns. 2005-12-05 16:44:56 +00:00
bringert
3442d42d3b Transfer: fixed Eq derivation to at least work for GF-generated Tree types. 2005-12-05 14:14:19 +00:00
bringert
ece605f887 Transfer added guards and Eq derivation. 2005-12-02 18:33:08 +00:00
bringert
a7af7bc384 Added list patterns. Added som simple prelude functions. 2005-12-01 17:27:06 +00:00
bringert
df1e92e837 Transfer: Added Double type. 2005-12-01 16:55:57 +00:00
bringert
12d4bc020d Transfer: added support for disjunctive patterns. 2005-12-01 15:37:47 +00:00
bringert
f91a36aaff Fixed layout stop word bug. 2005-11-30 21:30:36 +00:00
bringert
e762f85933 Added bind operators, do-notation, a cons operator and list sytnax. 2005-11-30 20:27:01 +00:00
bringert
8460fbef67 Transfer: derive instances, not functions. 2005-11-30 18:42:45 +00:00
bringert
997bc8c745 Transfer: reimplement operators with type classes. 2005-11-30 17:40:32 +00:00
bringert
8cec5d5d1a Transfer compiler: don't load the same module twice. 2005-11-30 17:40:11 +00:00
bringert
60ed11c321 Transfer compiler now has a search path. Use -ipath to add to the path. Created CompilerAPI. 2005-11-30 16:32:13 +00:00
bringert
47ad17e78d Moved class stuff to prelude. 2005-11-30 15:51:43 +00:00
bringert
34bdfd066c Remove more useless pattern matching and variable bindings in transfer compilation. 2005-11-30 12:04:21 +00:00
bringert
bb5f9dc312 Use rec and sig for records. 2005-11-29 18:16:33 +00:00
bringert
9d56a5f9b2 Transfer: let expressions caused non-termination due to excessive strictness, fixed. 2005-11-29 17:40:43 +00:00
bringert
eebe62ec19 Transfer: added derive composFold 2005-11-29 17:08:43 +00:00
bringert
e561f6398b Transfer: support printing meta variable values. 2005-11-29 17:08:08 +00:00
bringert
cd5e3e6744 Transfer: don't eta-expand overshadowed constructors. 2005-11-29 17:07:17 +00:00
bringert
dba03132b5 Fixed type argument to recursive call in generated composOp. 2005-11-29 16:10:52 +00:00
bringert
cffaff9588 In transfer beta reduction optimization: reduce bottom-up instead of top-down. 2005-11-29 15:56:35 +00:00
bringert
8a1efe2ce5 Added meta variables to transfer front-end and core. 2005-11-29 15:48:13 +00:00
bringert
3632c7eecf Transfer compiler: extended variable removal to variables bound in case expressions. 2005-11-28 23:02:04 +00:00
bringert
51fc5cb515 Transfer compilation: Change varibles which are not used to wildcards. 2005-11-28 22:39:53 +00:00
bringert
998ead90a6 Fixed transfer composOp generation to support tree types that don't take a single type argument. 2005-11-28 22:31:09 +00:00
bringert
0ee1c632f9 Changed precedence of projection to be higher than application. 2005-11-28 21:45:58 +00:00
bringert
576f25b53e Regenerated transfer layout syntax module with bug-fixed BNFC. Fixed printing of tokens in correct positions in the layout test program. 2005-11-28 21:25:03 +00:00
bringert
4248f092c1 Cleaned up closure stuff in the transfer interpreter. 2005-11-28 19:12:15 +00:00
bringert
0fc7c76717 Added evaluateExp and builtin to InterpreterAPI. Check for EOF in interactive transfer interpreter mode. 2005-11-25 18:02:36 +00:00
bringert
2a59fffd45 Move transfer into the GF repo. 2005-11-25 16:36:19 +00:00