Commit Graph

203 Commits

Author SHA1 Message Date
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Folkert
80358d14a3 update target-lexicon 2021-08-23 19:44:53 +02:00
Folkert
b6255748b3 emit an error message when a symbol is not defined
i.e. don't panic in this case
2021-08-22 21:58:07 +02:00
Folkert
ecba687243 Unify variables directly when possible
instead of going through a solved type
2021-08-22 16:30:06 +02:00
Folkert
f35a20bc16 the test 2021-08-20 23:43:38 +02:00
Folkert de Vries
86d46825aa
Merge branch 'trunk' into NumBytesTo 2021-08-20 11:32:20 +02:00
Richard Feldman
f279485edf
Merge branch 'trunk' into roc_panic 2021-08-19 07:20:26 -04:00
Richard Feldman
0bebb64bae
Merge branch 'trunk' into NumBytesTo 2021-08-19 01:37:39 -04:00
Joshua Hoeflich
6ad7dfc0f4 Cargo fmt 2021-08-18 17:40:17 -05:00
Joshua Hoeflich
2672c8ed10 NumBytesToU16 and NumBytesToU32 tested 2021-08-18 17:39:59 -05:00
Joshua Hoeflich
a4197d073c bytesToU16 and bytesToU32 have proper types 2021-08-18 15:46:53 -05:00
Folkert
6be68b0d21 tests 2021-08-18 20:33:59 +02:00
Joshua Hoeflich
b4f575736b castToNat working 2021-08-18 11:31:48 -05:00
Folkert
367d08814d don't have compiler generate setjmp/longjmp when building an executable 2021-08-17 22:42:03 +02:00
Joshua Hoeflich
7068da7144 Merge trunk 2021-08-17 08:47:40 -05:00
Folkert
dca577df82 clippy 2021-08-16 20:46:31 +02:00
Folkert
5171d181ac emit invoke again to see what's up here 2021-08-16 20:44:55 +02:00
Joshua Hoeflich
1c6ac84f2f Add Num.round to dev backend 2021-08-15 17:50:07 -05:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Joshua Hoeflich
1b04ad0535 Merge branch 'trunk' into NumBytesTo 2021-08-14 20:41:33 -05:00
Joshua Hoeflich
22e781259d TODO: Actually implement the functions 2021-08-14 19:28:13 -05:00
Joshua Hoeflich
9dad304e95 Passing arguments successfully to bytesToU16 2021-08-14 19:11:27 -05:00
Joshua Hoeflich
5115a004ed Type shenanigans work 2021-08-14 18:50:55 -05:00
Joshua Hoeflich
c8f6762deb Switch from floats to usize 2021-08-14 18:30:43 -05:00
Joshua Hoeflich
59f07377fe More testing; clean up 2021-08-14 18:23:49 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Richard Feldman
bb7726b0e0
Merge branch 'trunk' into store-bool-closure-as-unit 2021-08-14 16:47:42 -04:00
Folkert
4b3aef5b30 fix test 2021-08-14 20:28:19 +02:00
Folkert
44253049e2 more tests 2021-08-14 19:08:58 +02:00
Folkert
2c1ab68ea7 represent byte/bool closure as unit 2021-08-14 18:56:05 +02:00
Folkert
3ea63ee18f fix whitespace 2021-08-14 15:55:01 +02:00
Folkert
441eb02ca3 represent bool closure as unit 2021-08-14 15:54:05 +02:00
Folkert
225c97aae3 move List.prepend to zig 2021-08-14 12:28:05 +02:00
Folkert
df83bf0d48 Merge remote-tracking branch 'origin/soa-alias' into alias-nominal-equality 2021-08-13 12:11:36 +02:00
Folkert
eb5439ee96 take alignment into account when calculating stack size 2021-08-11 22:37:00 +02:00
Joshua Hoeflich
05d87314e7 Consistently triggering null pointer bug 2021-08-10 10:51:15 -05:00
Joshua Hoeflich
ba360a2dd2 Test passing in debug but not release 2021-08-09 22:03:01 -05:00
Joshua Hoeflich
ae38a0d3ff Cargo fmt 2021-08-08 21:41:00 -05:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Joshua Hoeflich
17ec118f52 Work in progress: Bounds Checking 2021-08-08 12:02:20 -05:00
Joshua Hoeflich
b8b20a376a Passing without bounds checks 2021-08-08 11:26:49 -05:00
Joshua Hoeflich
4231b340ee Glue code working 2021-08-08 11:06:10 -05:00
Richard Feldman
2a616103c6 Rename Str.toBytes to Str.toUtf8 2021-08-07 22:46:24 -04:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Folkert
69c224843e all the work 2021-08-07 00:51:53 +02:00
Folkert
d4896d3ed2 remove inlinable_string dependency 2021-08-03 21:24:19 +02:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Richard Feldman
1c09450103 Use ::default over ::empty for RocStr and RocList 2021-08-03 07:28:03 -04:00
Folkert
894ef2b7b2 Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality 2021-07-30 23:34:16 +02:00