Commit graph

1896 commits

Author SHA1 Message Date
Richard Feldman
6b39f3dffe
Merge pull request #671 from rtfeldman/effect-module-refactor
Effect module refactor
2020-11-09 23:19:05 -05:00
Folkert
0b19c594c5 improve compare/Order 2020-11-09 21:21:14 +01:00
Folkert
cc89088f60 thread through module timings 2020-11-09 21:20:57 +01:00
Folkert
0081c9ff77 fix tag test 2020-11-09 21:20:57 +01:00
Folkert
7e7fa4b4aa fix tag test 2020-11-09 20:11:39 +01:00
Folkert
0892451d47 more clippy 2020-11-09 20:03:10 +01:00
Folkert
f08f3e7510 cleanup 2020-11-09 19:53:03 +01:00
Folkert
492f0dcc84 add Effect.always and Effect.map 2020-11-09 19:14:26 +01:00
Folkert
14d6de626e add module for effect_module 2020-11-09 16:01:38 +01:00
Folkert
063492680f recursive functions cannot capture other recursive functions from their LetRec 2020-11-09 15:54:02 +01:00
Richard Feldman
54de538952
Merge pull request #666 from rtfeldman/return-function
Return function pointers and closures
2020-11-08 22:21:01 -05:00
Richard Feldman
8577efd9c3
Merge branch 'trunk' into new-annotated-body 2020-11-08 22:11:48 -05:00
Richard Feldman
ef90103353
Update compiler/fmt/src/def.rs 2020-11-08 22:11:38 -05:00
lrosa007
de33e9b388 fix(List): contains list can be borrowed 2020-11-08 20:17:05 -05:00
Folkert
65c1e0e5b1 appease clippy 2020-11-09 02:02:20 +01:00
Folkert
b044a0b8a8 remove comment inbetween signature and definition in test 2020-11-09 02:02:11 +01:00
Folkert
4868c0bd25 fix problem with patterns and optional record fields 2020-11-09 01:04:40 +01:00
Folkert
2d9f81ec9b fix mono error 2020-11-09 00:22:16 +01:00
Folkert
3f485b63d6 cleanup 2020-11-09 00:16:04 +01:00
Folkert
0d5aaf2aaa make getLine : Effect {} work 2020-11-08 23:36:08 +01:00
Folkert
1bce119b0a allow returning of funtions
e.g.

foo = Num.add
2020-11-08 15:49:24 +01:00
Sébastien Besnier
099c56fcf6 make compiler happy after rebasing 2020-11-08 13:55:01 +01:00
Sébastien Besnier
66392eeeaf other parsing adjustment! 2020-11-08 13:48:19 +01:00
Sébastien Besnier
bf68477c8a cargo fmt 2020-11-08 13:48:19 +01:00
Sébastien Besnier
45fb93d4ac comment out parsing test 2020-11-08 13:48:19 +01:00
Sébastien Besnier
420e1c84e0 make clippy happy 2020-11-08 13:48:19 +01:00
Sébastien Besnier
1c5f381c09 cargo fmt 2020-11-08 13:48:19 +01:00
Sébastien Besnier
8ac078936a add some tests around definition parsing -- all passing at the first time ! 2020-11-08 13:48:19 +01:00
Sébastien Besnier
a6a4750501 fix parsing issue 2020-11-08 13:48:19 +01:00
Richard Feldman
6db4bd6ed4 Drop spaces around fields in canonicalization 2020-11-08 13:48:19 +01:00
Richard Feldman
5f82372899 Fix AnnotatedBody desugaring 2020-11-08 13:48:19 +01:00
Richard Feldman
6c01d02de0 Make ann_pattern and ann_type references 2020-11-08 13:48:19 +01:00
Richard Feldman
b0e4f4c97f Reproduce nested_unannotated body 2020-11-08 13:48:19 +01:00
Richard Feldman
93867b1a1b Improve some error reporting 2020-11-08 13:48:19 +01:00
Richard Feldman
77662970e9 Drop debug println 2020-11-08 13:48:19 +01:00
Richard Feldman
4633619e18 Use newline_char over ascii_char('\n') 2020-11-08 13:48:19 +01:00
Sébastien Besnier
01b9b4a08d update nested test 2020-11-08 13:45:47 +01:00
Sébastien Besnier
ad9ff3b3a9 add nested tests 2020-11-08 13:45:47 +01:00
Sébastien Besnier
9b670bf092 remove unreachable branch 2020-11-08 13:45:47 +01:00
Sébastien Besnier
cfbfbf09be cargo fmt 2020-11-08 13:45:47 +01:00
Sébastien Besnier
94006f1d8f make clippy happy.... again 2020-11-08 13:45:47 +01:00
Sébastien Besnier
8870776fb0 make clippy happy 2020-11-08 13:43:11 +01:00
Sébastien Besnier
6dbde806d6 cargo-fmt 2020-11-08 13:43:11 +01:00
Sébastien Besnier
f4c1af0f19 test_can pass 2020-11-08 13:43:11 +01:00
Sébastien Besnier
19bd75aa62 merge things from trunk 2020-11-08 13:43:11 +01:00
Sébastien Besnier
014131dabe handle AnnotatedBody everywhere. It compiles now! 2020-11-08 13:43:11 +01:00
Sébastien Besnier
d2d3681d7e fix issue in annotated_body parser -- now compiling! 2020-11-08 13:43:11 +01:00
Sébastien Besnier
29c8ea6d8e transform annotated_body parser into small functions 2020-11-08 13:43:11 +01:00
Sébastien Besnier
bffc597e4e remove unused annotation 2020-11-08 13:43:11 +01:00
Sébastien Besnier
efe3497cc9 add AnnotatedBody in AST enum type 2020-11-08 13:43:11 +01:00