Commit graph

621 commits

Author SHA1 Message Date
Folkert
7aac6b6750 cleanup 2021-09-01 22:52:39 +02:00
Folkert
d8d4522b16 cleanup 2021-09-01 20:27:48 +02:00
Folkert
5cb7dbd3cc use zig's decref instead of an LLVM implementation 2021-09-01 16:58:05 +02:00
Folkert
3ef4a40f45 hopefully get the logic right this time 2021-09-01 15:56:50 +02:00
Folkert
4731cbd391 trying to be even smarter 2021-08-31 22:40:13 +02:00
Folkert
a810c2c27b smarter alignment code 2021-08-31 22:37:32 +02:00
Folkert
106f1311d2 only conditionally flip a bit 2021-08-31 22:32:56 +02:00
Folkert
b416e854ef Merge remote-tracking branch 'origin/trunk' into wasm-gen-test 2021-08-29 23:14:03 +02:00
rvcas
059aeaf1de fix: obj and ir files have new names 2021-08-29 10:47:53 -04:00
Folkert
fdd34a5d3e zig remove explicit libc dep in 32-bit mode 2021-08-29 00:37:28 +02:00
Richard Feldman
bc5b8bfbba Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-25 23:05:53 -04:00
Folkert
b9cd254b9a allow 4byte alignment in dict values 2021-08-25 22:07:16 +02:00
Folkert
e99237e302 make Dict.empty C ABI safe 2021-08-25 20:48:58 +02:00
Folkert
e387403c19 make Dict.empty C ABI safe 2021-08-25 20:47:03 +02:00
Folkert
a4475b7544 make TestBase64 compile 2021-08-25 20:47:03 +02:00
Folkert
4be5780215 hash function returns u64! 2021-08-25 00:24:46 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Folkert
04fa8fee38 take self by reference 2021-08-24 20:24:21 +02:00
Folkert
ca5efdf1d9 fix alignment issue 2021-08-24 20:23:24 +02:00
Folkert
13df4ee656 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-24 17:02:05 +02:00
Folkert
40d86551ad build builtins with 32-bit pointers 2021-08-24 16:38:47 +02:00
Folkert
7d874e5c15 fix zig warning 2021-08-23 22:27:00 +02:00
Folkert
9037e57e14 fix zig usize/u64 issues 2021-08-23 21:45:12 +02:00
Folkert
9903e14cd3 update zig to compile on nightly 2021-08-23 21:41:13 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Folkert de Vries
86d46825aa
Merge branch 'trunk' into NumBytesTo 2021-08-20 11:32:20 +02:00
Joshua Hoeflich
b57ebb6229 Remove castToNat 2021-08-19 16:11:21 -05:00
Joshua Hoeflich
2672c8ed10 NumBytesToU16 and NumBytesToU32 tested 2021-08-18 17:39:59 -05:00
Joshua Hoeflich
92da003fba Adds castToNat 2021-08-18 11:02:20 -05:00
Joshua Hoeflich
7068da7144 Merge trunk 2021-08-17 08:47:40 -05: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
Folkert
d8e38ef2ac proof of concept 2021-08-15 13:21:14 +02: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
8022e3e5f4 Rename var 2021-08-14 18:52:48 -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
d976f2fc93 Inlining zig side 2021-08-14 18:26:46 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ce8f947522 Split sig into two separate functions 2021-08-14 18:08:36 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Folkert
225c97aae3 move List.prepend to zig 2021-08-14 12:28:05 +02:00
Joshua Hoeflich
bd62347b11 Remove unnecessary lines from zig 2021-08-09 22:04:51 -05:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -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