Commit graph

929 commits

Author SHA1 Message Date
Folkert
727222bbe7 hashing always returns a U64 2021-08-29 00:51:48 +02: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
a4197d073c bytesToU16 and bytesToU32 have proper types 2021-08-18 15:46:53 -05:00
Joshua Hoeflich
b4f575736b castToNat working 2021-08-18 11:31:48 -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
Folkert
4140473f1a cleanup and comments 2021-08-11 01:12:46 +02:00
Joshua Hoeflich
bd62347b11 Remove unnecessary lines from zig 2021-08-09 22:04:51 -05:00
Joshua Hoeflich
a8bbf2ed36 Merge branch 'trunk' into Str.fromUtf8Range 2021-08-09 09:58:02 -05:00
Richard Feldman
f263b0dba7 True and False aren't links 2021-08-08 23:31:42 -04:00
Richard Feldman
65eaa5b95a Fix some U8 auto-links 2021-08-08 23:31:03 -04:00
Richard Feldman
ea5da5d477 Add Native to Endi 2021-08-08 23:23:45 -04:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Richard Feldman
3de0766fe9 Add Result docs 2021-08-08 20:36:52 -04:00
Richard Feldman
2abab84373 Update some map docs 2021-08-08 20:32:50 -04:00
Richard Feldman
a5929ada4c Update Dict docs 2021-08-08 20:03:57 -04:00
Richard Feldman
528840acd7 Fix Set docs 2021-08-08 19:59:56 -04:00