Commit graph

547 commits

Author SHA1 Message Date
Folkert
c5eeaab2c2 remove callresult from cli examples 2021-09-19 18:34:42 +02:00
Brian Carroll
874bf80321 README corrections 2021-09-19 11:59:24 +01:00
Brian Carroll
11f8652ff6 Refactor hello-web example for possible future automated testing
For now there's a Node.js test that works, but we're not actually running it in CI,
and Node is not a dependency of the project.
2021-09-19 11:48:31 +01:00
Richard Feldman
cda29d0706 memcpy and memset are byte-aligned 2021-09-18 23:40:36 -04:00
Richard Feldman
fa8aa20112
Merge branch 'trunk' into integrate-linker 2021-09-18 23:17:52 -04:00
Brian Carroll
c20a2e5740 Hello web is working!! 2021-09-18 23:52:18 +01:00
Folkert
712dfb2702 simplify alignment calculation 2021-09-19 00:35:09 +02:00
Folkert
8429325eed make main have callconv C 2021-09-19 00:27:57 +02:00
Brian Carroll
e0af849518 Create hello-web example 2021-09-18 22:56:33 +01:00
Brendan Hansknecht
d8d147375d update fib gitignore 2021-09-16 20:19:28 -07:00
Brendan Hansknecht
8a30b4803a Merge branch 'trunk' into integrate-linker 2021-09-16 16:27:50 -07:00
Folkert
539d90b62e make gen tests expose mainForHost like LLVM backend 2021-09-16 21:41:23 +02:00
Folkert
692ddc4c2e fix comments 2021-09-16 21:33:42 +02:00
Brendan Hansknecht
e4b3402369 Create dummy lib as libapp.so 2021-09-15 15:16:39 -07:00
Folkert
d390239577 add cli test 2021-09-15 23:35:29 +02:00
Folkert
2de9856576 add fibonacci example 2021-09-15 23:34:27 +02:00
Brendan Hansknecht
da28b669bb Get zig host working 2021-09-15 11:45:44 -07:00
Brendan Hansknecht
e2411ea83f Add surgical linking to frontend with simple dummy lib creation 2021-09-14 23:06:22 -07:00
Folkert
52d36cbe72 fix closure weirdness (skipping or infinite looping) 2021-09-13 22:50:48 +02:00
Richard Feldman
e00c8b6837 Update effects example to reproduce bug 2021-09-12 10:17:56 -04:00
Folkert
1496ee2e70 use zig allocator, not libc, in host 2021-09-10 10:15:41 +02:00
Folkert
3ace5c7660 fix invalid usize 2021-09-09 21:36:25 +02:00
Folkert
8eb032aa62 fix lints in quicksort platform 2021-09-09 21:03:08 +02:00
Folkert
f8c3351c08 better debug messages from bench host 2021-09-04 13:26:31 +02:00
Folkert
0ba91f885c make benchmark host.o more 32-bit compatible 2021-09-04 01:38:35 +02:00
Folkert de Vries
fc8fafbac8
Merge branch 'trunk' into wasm-gen-test 2021-08-30 21:53:50 +02:00
Richard Feldman
e3292cff4e Drop some more references to needing C++ 2021-08-29 16:59:15 -04:00
Folkert
904861a1e2 ignore .ll and .bc in benchmarks 2021-08-28 18:01:11 +02:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
5fe620f9b7
Merge pull request #1620 from rtfeldman/cli
Re-add `cli` example
2021-08-26 21:03:14 -04:00
Folkert
8a2baaf0cf remove debug prints 2021-08-27 00:05:13 +02:00
Folkert
03c21add77 don't touch the refcount in putLine 2021-08-26 23:35:15 +02:00
Folkert
84b5f0c91e free allocated buffer 2021-08-26 23:28:11 +02:00
Folkert
fb6131488c update platforms for the nightly zig + wasm C abi requirements 2021-08-26 21:22:44 +02:00
Folkert
4b6c3319d4 comment a definition, makes wasm32 backend work for AStar
weird...
2021-08-26 21:09:11 +02:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00
Folkert
12fb36d1df unused variables 2021-08-25 20:47:03 +02:00
Folkert
f04547e27e 32-bit memory safety in benchmark host 2021-08-25 20:47:03 +02:00
Folkert
b01309ea7f revert some host changes; they cause weird segfaults for TestBase64 2021-08-25 00:19:23 +02:00
Folkert
c2b43c30d6 try to fix host 2021-08-25 00:14:49 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
5a7a9e9520 fix alignment problems in zig hello host 2021-08-24 20:55:23 +02:00
Richard Feldman
1c481d7345 Add some tracing to reproduce double free 2021-08-22 16:23:56 -04:00
Richard Feldman
368ced972d Implement echo example 2021-08-22 16:12:54 -04:00
Richard Feldman
6b6c439d6a Update Stdin/Stdout in CLI example 2021-08-21 21:16:41 -04:00
Richard Feldman
dd4fec589e Update Task in CLI example 2021-08-21 21:14:30 -04:00
Richard Feldman
7069046aaf Add examples/cli 2021-08-21 20:54:15 -04:00
Folkert
a12e18ca70 add roc_panic to all hosts 2021-08-16 22:46:00 +02:00
Folkert
b9431187f7 remove c++ stuff 2021-08-16 20:33:55 +02:00
Folkert
d8e38ef2ac proof of concept 2021-08-15 13:21:14 +02:00