Commit graph

10698 commits

Author SHA1 Message Date
Folkert
83de4b55ef remove another instance of RocCallResult 2021-10-22 12:26:04 +02:00
Brian Carroll
4f958e8a80 Get most common instruction patterns to compile 2021-10-22 12:01:22 +02:00
Brian Carroll
4563e2af49 Get function_builder compiling 2021-10-22 10:38:53 +02:00
Anton-4
9b76f0c5af
improve Ubuntu/Debian llvm install instructions 2021-10-22 10:23:11 +02:00
Chelsea Troy
49a832d757
Add dropLast to tests and parser 2021-10-21 23:02:26 -05:00
Brendan Hansknecht
31651c6962 Fix minor typo 2021-10-21 20:21:20 -07:00
Richard Feldman
fdafbd2fe2
Merge pull request #1799 from rtfeldman/editor-roc-check
On `Ctrl+R` do `cargo run check` before `cargo run`
2021-10-21 21:55:26 -04:00
Richard Feldman
b615f5cea1
Merge pull request #1795 from rtfeldman/false
False Interpreter
2021-10-21 21:44:51 -04:00
Brian Carroll
dc80623d45 Sketch out methods for byte-level instructions. No macros yet. 2021-10-21 23:21:56 +02:00
Brian Carroll
e168d175c4 Start writing a byte-level function_builder 2021-10-21 21:30:51 +02:00
Brian Carroll
5ea313f256 update gen_wasm to use bumpalo::collections::Vec where possible 2021-10-21 21:14:15 +02:00
Folkert
5507743776 pass arguments as owned again, borrowed caused regressions 2021-10-21 21:09:48 +02:00
Folkert
0a12ce896f Revert "make list inc/dec non-recursive (except when freeing the list)"
This reverts commit 19eadbfe70.
2021-10-21 20:28:32 +02:00
Folkert
03144f978f Revert "clippy"
This reverts commit 7773cf9b4d.
2021-10-21 20:28:18 +02:00
Folkert
84950366b0 Merge remote-tracking branch 'origin/trunk' into false 2021-10-21 20:20:56 +02:00
Brian Carroll
1be6fd1222 Switch to fork of parity-wasm that can support bumpalo vectors 2021-10-21 17:14:07 +02:00
Richard Feldman
51de420ee7
Merge pull request #1803 from rtfeldman/launch-editor-arg-fix
launch_editor arg fix
2021-10-21 07:17:47 -04:00
Anton-4
bd67f770ca
launch_editor arg fix 2021-10-21 09:36:50 +02:00
Richard Feldman
1cdeba9afb
Add @shritesh to AUTHORS 2021-10-20 22:51:12 -04:00
Richard Feldman
48505abb08
Merge pull request #1801 from rtfeldman/shritesh/m1-codesign
Just enough changes to compile on M1
2021-10-20 22:50:14 -04:00
Richard Feldman
cf76ef1f6f
Merge pull request #1796 from rtfeldman/divTruncate
Intrinsics for more types
2021-10-20 21:33:44 -04:00
Richard Feldman
55b6461870
Merge pull request #1800 from rtfeldman/fix-weirdly-placed-error-messages
Fix errors shown in wrong location
2021-10-20 21:04:31 -04:00
Shritesh Bhattarai
be9d817830 Just enough changes to compile on M1 2021-10-20 20:07:33 -04:00
Folkert
5c02899535 oops 2021-10-20 23:52:51 +02:00
Folkert
dd38d49335 fix formatting 2021-10-20 19:44:26 +02:00
Folkert
76e26e47f3 more cleanup 2021-10-20 17:05:59 +02:00
Folkert
7735ca21ea cleanup 2021-10-20 17:03:55 +02:00
Folkert
f8dec9453b make things static again 2021-10-20 16:58:25 +02:00
Folkert
a072d8d1b1 fix things 2021-10-20 16:56:04 +02:00
Folkert
63b1aaad4e hook up polymorphic zig builtins 2021-10-20 16:43:39 +02:00
Folkert
ab34c2a55e generalize all number intrinsics 2021-10-20 16:21:57 +02:00
Folkert
9fc832d8ef new intrinsic approach 2021-10-20 15:18:02 +02:00
Anton-4
5fa58c37e4 do on first, sorted errors by alphabet 2021-10-20 13:57:59 +02:00
Folkert
bd98ac6dc7 Merge remote-tracking branch 'origin/trunk' into divTruncate 2021-10-19 23:36:03 +02:00
Folkert
78c49d3095 support intrinsics/builtins for more integer types 2021-10-19 21:41:38 +02:00
Brendan Hansknecht
b4be6da3a4 Add cli test for false interpreter 2021-10-19 11:27:05 -07:00
Brendan Hansknecht
0ca6a3d723 Add readme to false interpreter 2021-10-19 11:15:37 -07:00
Brendan Hansknecht
fcbc4ef206 Clean up extra print outs 2021-10-19 09:33:16 -07:00
Brian Carroll
95e38a36b6
Merge pull request #1784 from rtfeldman/wasm_reduce_set_get
Improve WasmBackend's output, and its structure
2021-10-19 18:19:10 +02:00
Anton-4
4f0526c8f9 fmt 2021-10-19 18:13:48 +02:00
Anton-4
bb715e0f84 cleanup 2021-10-19 17:51:47 +02:00
Anton-4
c7c421b2f5 fixed scope lookup bug 2021-10-19 16:45:28 +02:00
Brian Carroll
401f2ececd rename some methods 2021-10-18 21:35:16 +02:00
Brian Carroll
e4db06cbdd Add a debug assertion in code builder 2021-10-18 21:16:54 +02:00
Brian Carroll
64603a480c Get rid of Option in VM stack model 2021-10-18 21:03:54 +02:00
Brian Carroll
b86849347a Write test debug output to a path in /tmp 2021-10-18 20:42:13 +02:00
Anton-4
0a77b3f334 debugging wrong id in docs test 2021-10-18 19:58:03 +02:00
Brian Carroll
f242aade86 Rename a variable & fix a bug calling functions that return via stack memory 2021-10-18 18:35:48 +02:00
Brian Carroll
1b97675f1f Refactor the optimisation for immediately-returned Let statements
The original intention was to avoid creating a local when we define
and immediately return a primitive value. But now our default path
does avoids unnecessary locals anyway!

For StackMemory values we do need an optimised path but it's nicer
to just pass a flag to Storage::allocate.
2021-10-18 13:18:10 +02:00
Brian Carroll
2daefc8b32 Name a constant 2021-10-18 13:11:05 +02:00