Commit Graph

394 Commits

Author SHA1 Message Date
Folkert
79d3b0ac01 cross module specialization WIP 2020-10-11 01:23:52 +02:00
Folkert
03d9a8821b ugh clippy 2020-10-10 20:11:26 +02:00
Folkert
d346482b76 fix new clippy warnings 2020-10-10 19:59:58 +02:00
Folkert
c7b251d6b4 Merge remote-tracking branch 'origin/trunk' into gen-modules 2020-10-08 01:29:32 +02:00
Folkert
768dbbc553 all tests passing 2020-10-08 00:53:06 +02:00
Folkert
6976682783 solving some compile errors 2020-10-07 21:28:42 +02:00
Folkert
faa5b2c830 fix clippy's qualms 2020-10-04 00:20:13 +02:00
Folkert
c4b4cb013e implement record update 2020-10-04 00:06:14 +02:00
Folkert
16ec417324 record update foundations 2020-10-03 21:44:25 +02:00
Folkert
c8e5acf142 code gen Accessor 2020-10-03 21:44:04 +02:00
Folkert
2e1e87ad6a add closure size variable 2020-10-02 00:53:02 +02:00
Jared Ramirez
5cafbcd5ad Add Num.atan builtin 2020-09-26 19:00:51 -07:00
Folkert
fb4a796e07 add different variants of addition 2020-09-21 23:38:10 +02:00
Folkert
f732eb3e83 crash upon integer overflow 2020-09-20 17:01:00 +02:00
Jared Ramirez
665c7c7f9f Add Num.floor 2020-09-17 17:44:53 -07:00
Dimitar Apostolov
50223ae93c Add canonical Expr implementation for Num.powInt 2020-09-17 11:31:13 +02:00
Richard Feldman
5d3645350d Merge remote-tracking branch 'origin/trunk' into small-str 2020-09-16 02:23:06 -04:00
Jared Ramirez
a0402bca4d Add Num.ceiling 2020-09-15 18:37:45 -07:00
Richard Feldman
e3d0145894 Add Str.isEmpty 2020-09-12 21:56:53 -04:00
Dimitar Apostolov
51a6e0bde0 Add canonical Expr implementation for NumPow 2020-09-10 14:34:23 +02: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
0344030015 allow calling of functions passed as arguments 2020-09-08 14:19: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
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
Folkert
ceb938c9af get tests working again 2020-09-06 00:26:41 +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
b849a3019f reset reuse stuff 2020-09-04 23:07:45 +02: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
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
5b27e10095 Reproduce empty string parsing bug 2020-08-31 23:13:50 -04:00
Richard Feldman
e9f71d09bb Monomorphize string interpolation 2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Richard Feldman
70bef827a7 Change borrow signature for concat 2020-08-31 23:13:50 -04:00
Chadtech
2ae63c87d6
Update compiler/mono/src/layout.rs
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2020-08-31 17:02:02 -04:00
Folkert
75ceb9e843 properly find the live variables 2020-08-31 20:00:02 +02:00
Folkert
f9cf4ea371 recursive tag unions 2020-08-31 14:29:09 +02:00
Chad Stearns
8b31419b2c Merge in remote 2020-08-30 15:38:43 -04:00
Chad Stearns
6b351d0375 Comply with clippy 2020-08-29 23:14:32 -04:00
Chad Stearns
30046d1ad4 basic List.keepIf set definition, but no implementation 2020-08-29 15:47:11 -04:00
Folkert
020b6154f9 fix passing functions by name 2020-08-26 23:34:49 +02:00
Chad Stearns
27ef81df58 Commented back in ir.rs lines 2020-08-24 03:36:20 -04:00
Chad Stearns
6232b31818 Comment out inc_dec in ir.rs 2020-08-22 19:48:08 -04:00
Chad Stearns
7c3e9809ca Put List.map tests under main 2020-08-22 19:47:29 -04:00