1
0
forked from GitHub/gf-core
Commit Graph

662 Commits

Author SHA1 Message Date
bringert
cb18297ace SLF generation: make sure that there is only one final node, and that it is actually final. 2005-12-08 16:01:13 +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
aarne
a6dc944356 opers in cnc 2005-12-06 12:39:36 +00:00
aarne
66caf2aa65 bug fix in Shell commands at, wt 2005-12-06 11:46:35 +00:00
aarne
9db6f69d0a multimodal resource recreated for new API 2005-12-05 18:31:15 +00:00
bringert
747271941a Added tuple expressions and patterns. 2005-12-05 16:44:56 +00:00
aarne
066d5bb0a9 tidy up res; bug fix in ShellState.addTransfer 2005-12-05 16:14:12 +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
aarne
dea5158cbf floats in GF and GFC (parsing user input still doesn't work) 2005-12-02 13:13:14 +00:00
bringert
6cba6eb004 Make words in SLF language models upper case. 2005-12-02 12:55:24 +00:00
bringert
396cc63cfc Added list patterns. Added som simple prelude functions. 2005-12-01 17:27:06 +00:00
aarne
8de44f741e EInteger 2005-12-02 08:46:30 +00:00
aarne
da22eac180 making apply_transfer work 2005-12-01 17:58:31 +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
aarne
68d4cc143f added transfer cases 2005-11-30 09:14:07 +00:00
aarne
ac08470c22 transfer added to GF command interpreter[ 2005-11-30 09:04:45 +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
2be80a7e3b Transfer generation: cat constructors should not have tree types. 2005-11-29 14:55:45 +00:00
bringert
dc06abd643 Transfer data type generation now uses the Tree type constructor for data constructor types. 2005-11-29 13:59:27 +00:00
bringert
3564aa406b Added GrammarToTransfer. It works, except that the constructor types are missing Tree here and there. 2005-11-29 12:22:40 +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
aarne
fe1fdf3afd questions and transfer in shell state 2005-11-25 17:40:51 +00:00
bringert
dbe8e61acc Move transfer into the GF repo. 2005-11-25 16:36:19 +00:00
peb
78e272be3c solved: path problem in SimpleGFC 2005-11-24 10:02:53 +00:00