Commit Graph

8293 Commits

Author SHA1 Message Date
rvcas
216a945e28 feat(repl): add the rest of the Nums 2021-05-30 23:42:02 -04:00
Richard Feldman
9f0d866df2
Merge pull request #1321 from rtfeldman/morphic-static-strings
Morphic Static Strings
2021-05-30 20:15:13 -04:00
Chadtech
142f271956
Merge branch 'trunk' into doc-functions 2021-05-30 19:52:09 -04:00
Chadtech
4c1a5b3f62 Functions appear in docs 2021-05-30 19:48:16 -04:00
Folkert de Vries
d263016a84
Merge branch 'trunk' into morphic-static-strings 2021-05-30 23:03:29 +02:00
Folkert
b3e83b917c flip set key/value 2021-05-30 23:03:05 +02:00
Richard Feldman
483f3ed167
Merge pull request #1357 from rtfeldman/mono-tests-improved
Mono tests improved
2021-05-30 14:23:54 -04:00
Folkert
54057c90b8 new mono testing mechanism 2021-05-30 18:09:41 +02:00
Folkert
22a4df0e5e add test_mono_macros crate 2021-05-30 16:48:42 +02:00
Folkert
e1a444793d Merge remote-tracking branch 'origin/trunk' into catch-cleanup 2021-05-30 15:05:40 +02:00
Folkert
6d68f879e0 cleanup landingpad for foreign calls 2021-05-30 15:05:30 +02:00
Folkert
03cc96f4ed rename Rethrow -> Resume 2021-05-30 14:44:46 +02:00
Folkert
4eacbf5794 remove cxa_rethrow_exception 2021-05-30 14:42:04 +02:00
Richard Feldman
9e8dddc0fd Bump inkwell version 2021-05-29 21:47:24 -04:00
Richard Feldman
d53d444a1f
Merge pull request #1354 from rtfeldman/centralize-inkwell
centralize inkwell imports
2021-05-29 21:34:00 -04:00
Richard Feldman
4bf4de8ae9
Merge pull request #1353 from rtfeldman/imported-thunks
Imported thunks
2021-05-29 21:30:39 -04:00
Richard Feldman
52b75dfd1d
Merge pull request #1352 from rtfeldman/zig-build-script-on-big-sur
Run build script instead of zig build on big sur
2021-05-29 21:30:12 -04:00
Folkert
50ea46e73e add test 2021-05-29 23:29:33 +02:00
Folkert
64576ddab5 add exception id to invoke/rethrow 2021-05-29 23:27:43 +02:00
tarjei
ade591dd10 Fix plumbing 2021-05-29 22:21:25 +02:00
Folkert
3636e18a18 centralize inkwell imports 2021-05-29 21:46:33 +02:00
tarjei
107822a5cc Add plumbing for List.swap 2021-05-29 21:30:16 +02:00
tarjei
98011f48a8 Add tests
These tests cover, for good measure:

 - swapping an empty list
 - swapping elements outside a list
 - swapping a short list
 - swapping with reversed args
 - swapping the middle of a long list
 - swapping with one index outside the list
 - swapping the same index with itself
2021-05-29 20:58:59 +02:00
Folkert
551c9355a6 run rustfmt 2021-05-29 20:57:27 +02:00
Folkert de Vries
e4db9dd71f
Merge branch 'trunk' into imported-thunks 2021-05-29 20:53:26 +02:00
Folkert
a77b5504d8 force imported thunks when used 2021-05-29 20:48:57 +02:00
Folkert
3105f09b2f use empty tag union for tag union with no members 2021-05-29 20:44:53 +02:00
rvcas
5ae269659a feat(repl): implement Builtin::Int32 formatting 2021-05-29 13:26:44 -04:00
rvcas
1fbd52bb8d feat(repl): add formatting function for i32 2021-05-29 13:26:17 -04:00
Richard Feldman
21f0e320ea
Merge branch 'trunk' into zig-build-script-on-big-sur 2021-05-28 20:58:01 -04:00
Richard Feldman
09672ab933
Merge pull request #1350 from rtfeldman/constrain_if
Constrain Expr2::If
2021-05-28 20:48:33 -04:00
Jared Ramirez
a4d3f96f25 Run build script instead of zig build on big sur 2021-05-28 17:03:59 -07:00
Folkert
25c9089334 Revert "thread alias analysis solutions"
This reverts commit b75c40e65b.
2021-05-28 23:57:26 +02:00
Folkert
b75c40e65b thread alias analysis solutions 2021-05-28 23:57:11 +02:00
Folkert
1b3bbaf5de define one global static str 2021-05-28 23:56:52 +02:00
rvcas
4a93bbde18 feat: implement if constraints 2021-05-28 13:04:51 -04:00
rvcas
2e4696c3df chore: bring a type into scope 2021-05-28 13:03:01 -04:00
rvcas
695a5a7aa9 fix: made if branches smaller 2021-05-28 13:01:01 -04:00
rvcas
4739b5db91 test: add a test to contrain if expr 2021-05-28 12:57:56 -04:00
Anton-4
222bee931e Merge branch 'trunk' of github.com:rtfeldman/roc into benchmarks 2021-05-28 15:09:42 +02:00
Anton-4
05645088b7 run benchmarks with input 2021-05-28 15:08:46 +02:00
Richard Feldman
6f9e64f2ea
Merge pull request #1349 from rtfeldman/drop-balance
Remove examples/balance
2021-05-28 07:05:10 -04:00
Richard Feldman
0589735ff2 Fix typo 2021-05-27 22:16:07 -04:00
Richard Feldman
2c0b52dd6f Fix mono test 2021-05-27 22:16:07 -04:00
Richard Feldman
4af5cda91d Reuse a variable instead of duplicating strings 2021-05-27 22:16:07 -04:00
Richard Feldman
3a35fe55cf Combine two conditionals, rename some stuff 2021-05-27 22:16:07 -04:00
Richard Feldman
e8c3ff042c Remove examples/balance 2021-05-27 18:08:35 -04:00
Folkert
577d801829 Merge remote-tracking branch 'origin/trunk' into morphic-static-strings 2021-05-27 20:28:27 +02:00
Richard Feldman
39e873cfe2
Merge pull request #1345 from rtfeldman/num-format
Add Num.format docs
2021-05-27 06:38:43 -04:00
Richard Feldman
df75a01cf6
Merge pull request #1344 from rtfeldman/bitcode
Include builtins.bc in the roc binary
2021-05-27 06:38:31 -04:00