1
0
forked from GitHub/gf-core
Commit Graph

38 Commits

Author SHA1 Message Date
bringert
145e0a4c82 Transfer: Removed PType from source and core languages. 2006-03-03 10:34:15 +00:00
bringert
e22275d467 Regenerate Transfer abstract syntaxes with updated BNFC. 2006-01-03 10:29:47 +00:00
bringert
dc54207d3b Transfer compiler: rename variables before doing any substitutions. 2005-12-09 13:06:05 +00:00
bringert
ccfe7fb119 Transfer: changed syntax to remove the mandatory type annotation in let. 2005-12-09 11:45:57 +00:00
bringert
a282336de6 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
c703a92136 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
1094204640 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
5be879dd54 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
747271941a Added tuple expressions and patterns. 2005-12-05 16:44:56 +00:00
bringert
ddc8d5d0cc Transfer: fixed Eq derivation to at least work for GF-generated Tree types. 2005-12-05 14:14:19 +00:00
bringert
983aef132b Transfer added guards and Eq derivation. 2005-12-02 18:33:08 +00:00
bringert
396cc63cfc Added list patterns. Added som simple prelude functions. 2005-12-01 17:27:06 +00:00
bringert
56f62f31d8 Transfer: Added Double type. 2005-12-01 16:55:57 +00:00
bringert
635845eed8 Transfer: added support for disjunctive patterns. 2005-12-01 15:37:47 +00:00
bringert
938318d72b Fixed layout stop word bug. 2005-11-30 21:30:36 +00:00
bringert
7dfa184285 Added bind operators, do-notation, a cons operator and list sytnax. 2005-11-30 20:27:01 +00:00
bringert
12ca29b32b Transfer: derive instances, not functions. 2005-11-30 18:42:45 +00:00
bringert
a68cd282cb Transfer: reimplement operators with type classes. 2005-11-30 17:40:32 +00:00
bringert
94b99219b8 Transfer compiler: don't load the same module twice. 2005-11-30 17:40:11 +00:00
bringert
3139bd2a2e 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
86df2a69b1 Moved class stuff to prelude. 2005-11-30 15:51:43 +00:00
bringert
f2e0c40f5b Remove more useless pattern matching and variable bindings in transfer compilation. 2005-11-30 12:04:21 +00:00
bringert
9a2dea46d1 Use rec and sig for records. 2005-11-29 18:16:33 +00:00
bringert
9cc9a1fa8b Transfer: let expressions caused non-termination due to excessive strictness, fixed. 2005-11-29 17:40:43 +00:00
bringert
f85a51515d Transfer: added derive composFold 2005-11-29 17:08:43 +00:00
bringert
3374034bbf Transfer: support printing meta variable values. 2005-11-29 17:08:08 +00:00
bringert
c756b75ad8 Transfer: don't eta-expand overshadowed constructors. 2005-11-29 17:07:17 +00:00
bringert
68411f04f9 Fixed type argument to recursive call in generated composOp. 2005-11-29 16:10:52 +00:00
bringert
ba9461090e In transfer beta reduction optimization: reduce bottom-up instead of top-down. 2005-11-29 15:56:35 +00:00
bringert
eef20fa404 Added meta variables to transfer front-end and core. 2005-11-29 15:48:13 +00:00
bringert
967891cfd7 Transfer compiler: extended variable removal to variables bound in case expressions. 2005-11-28 23:02:04 +00:00
bringert
884055566e Transfer compilation: Change varibles which are not used to wildcards. 2005-11-28 22:39:53 +00:00
bringert
cb6f3088b5 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
5d7bcac1e5 Changed precedence of projection to be higher than application. 2005-11-28 21:45:58 +00:00
bringert
5a82068ddc 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
101f43dcd4 Cleaned up closure stuff in the transfer interpreter. 2005-11-28 19:12:15 +00:00
bringert
2f5ee5b6ef Added evaluateExp and builtin to InterpreterAPI. Check for EOF in interactive transfer interpreter mode. 2005-11-25 18:02:36 +00:00
bringert
dbe8e61acc Move transfer into the GF repo. 2005-11-25 16:36:19 +00:00