Folkert
145f75d72b
list reverse in-place
2020-09-11 00:59:19 +02:00
Dimitar Apostolov
51a6e0bde0
Add canonical Expr implementation for NumPow
2020-09-10 14:34:23 +02:00
Dimitar Apostolov
5bbee6217b
Add NUM_POW symbol to Num module
2020-09-10 14:34:23 +02:00
Chad Stearns
a318253d48
small str implementation in string literal, and bringing in remote trunk
2020-09-09 21:53:38 -04:00
Chadtech
07784bf6c2
Language clean up and uniqueness section in builtin readme
2020-09-09 12:14:23 -04:00
Folkert
1279999c6c
fix how free is called
...
somehow the previous version compiles passes llvm verification, but hangs when free is actually called
2020-09-08 21:30:23 +02:00
Folkert
1b42831973
implement Num.compare
2020-09-08 19:40:18 +02:00
Folkert
4c995b12a6
move refcounting code gen into its own module
2020-09-08 15:51:38 +02:00
Folkert
0344030015
allow calling of functions passed as arguments
2020-09-08 14:19:47 +02:00
Folkert
ad8e9db896
fix comments/warnings
2020-09-08 14:18:55 +02:00
Richard Feldman
e1b1491588
Merge branch 'trunk' into recursive-layouts
2020-09-07 21:59:49 -04:00
Richard Feldman
99f6146703
Update another comment
2020-09-07 21:59:17 -04:00
Richard Feldman
7e834fbb37
Update a comment
2020-09-07 21:59:06 -04:00
Richard Feldman
aefcdcb36c
Merge pull request #498 from rtfeldman/builtins-readme-warnings
...
Warning section in builtins readMe
2020-09-07 20:44:10 -04:00
Chad Stearns
5ab3bf8c24
isolated str builtin stuff into new build_str module
2020-09-07 18:41:12 -04:00
Chad Stearns
e7717230b8
Warning section in builtins readMe
2020-09-07 16:34:20 -04:00
Folkert
c8d03103d9
appease clippy
2020-09-07 22:18:16 +02:00
Folkert
30c897219b
clear up comments
2020-09-07 22:13:47 +02:00
Folkert
f857203673
Merge remote-tracking branch 'origin/trunk' into recursive-layouts
2020-09-07 16:53:15 +02:00
Folkert
85f290f9be
cleanup, and remove reset-reuse stuff for now
2020-09-07 16:50:05 +02:00
Folkert
4522fe14fc
fix recursion issue in type inference
2020-09-07 16:35:49 +02:00
Richard Feldman
3c39a331d7
Remove obsolete parse::ast::TypedBody
2020-09-07 09:19:25 -04:00
Folkert
0a034c474a
fix test failures
2020-09-07 14:36:33 +02:00
Folkert
127dd06586
fix bug with optional record fields
2020-09-07 14:13:22 +02:00
Folkert
25cd0a2c02
codegen for walkRight
2020-09-06 22:03:46 +02:00
Chad Stearns
5d0ec57461
List.walkRight definition in unique, std, builtins, etc. No implementation
2020-09-06 14:06:08 -04:00
Folkert
46755973d6
wip
2020-09-06 18:53:26 +02:00
Chadtech
ee74ccf6d2
Merge branch 'trunk' into list_keepIf
2020-09-05 19:03:05 -04:00
Chad Stearns
d61e0735ec
Minor changes to List.keepIf test and commented out a test that doesnt yet work
2020-09-05 19:02:44 -04:00
Chad Stearns
9de9831823
Code clarity changes to List.keepIf, including many comments
2020-09-05 19:02:04 -04:00
Chad Stearns
90a3771584
Fix comment definitions for List.keepIf and List.append
2020-09-05 19:01:26 -04:00
Chad Stearns
13a644b03c
Used correct low level op for List.keepIf definition
2020-09-05 19:00:55 -04:00
Folkert
ceb938c9af
get tests working again
2020-09-06 00:26:41 +02:00
Sébastien Besnier
72497a1916
add test for tag with no args and boolean
2020-09-05 09:17:42 +02:00
Chad Stearns
ad41d0f26e
Nonempty list with always true condition List.keepIf test
2020-09-05 02:52:51 -04:00
Chad Stearns
efbc8b4192
Renamed some llvm code block operations
2020-09-05 02:52:27 -04:00
Sébastien Besnier
f319fdad79
Tag with no args in error msgs ( #471 )
2020-09-05 08:42:40 +02:00
Chad Stearns
5bd88c8901
Merge branch 'trunk' of github.com:rtfeldman/roc into list_keepIf
2020-09-05 00:47:21 -04:00
Folkert
c1fdd0ea7b
remove unused field
2020-09-04 23:09:05 +02:00
Folkert
b849a3019f
reset reuse stuff
2020-09-04 23:07:45 +02:00
Folkert
f02d907f17
inc/dec for recursive unions; first pass
2020-09-04 23:07:27 +02:00
Richard Feldman
5eeb41d5c0
Add List.update and List.updater
2020-09-03 20:31:43 -04:00
Richard Feldman
0bdc7f2f74
Fix CLI underline character on Windows
2020-09-03 20:24:09 -04:00
Richard Feldman
d75b85998d
Take some notes in some docs
2020-09-03 20:23:48 -04:00
Richard Feldman
453fc0e27c
REVERT THIS! Temporarily break block strings.
...
Also disable some tests because trimming inputs
revealed some bugs I don't want to fix in this PR!
2020-08-31 23:22:10 -04:00
Richard Feldman
be0c8cd59b
clipp-w clipp-x clipp-y
2020-08-31 23:22:10 -04:00
Richard Feldman
37a254cef3
Interpolate strings by desugaring to Str.concat
...
We could definitely make this more efficent by
allocating enough space for the final string
and then copying the contents of each of the pieces
into it one by one. We don't do that yet though!
2020-08-31 23:14:45 -04:00
Richard Feldman
2e15443c8c
Canonicalize unicode code point escapes
2020-08-31 23:13:50 -04:00
Richard Feldman
7682e09b0a
Fix some fmt stuff
2020-08-31 23:13:50 -04:00
Richard Feldman
74c0bdfd5a
Fix empty string parsing bug
2020-08-31 23:13:50 -04:00