Commit graph

5882 commits

Author SHA1 Message Date
Dan Knutson
352fe90e2d fix format violation 2021-10-26 18:14:04 -05:00
Brian Carroll
1def56ea04 Build up a vector of relocations 2021-10-26 23:31:36 +01:00
Folkert de Vries
65204cdfef
Merge branch 'trunk' into morphic-solve-trivial 2021-10-27 00:02:24 +02:00
Folkert
d561f2661d speedups 2021-10-27 00:01:21 +02:00
Brian Carroll
fd3d8f5227 Get rid of procedure sorting 2021-10-26 22:44:28 +01:00
Folkert de Vries
29bd4e3e50
Merge branch 'trunk' into str_trim 2021-10-26 22:45:32 +02:00
Brian Carroll
a0d2b7e6e1 Unit tests for LEB-128 encoders 2021-10-26 18:08:40 +01:00
Anton-4
d460ce64b1
Merge branch 'trunk' into str_from_int 2021-10-26 17:33:15 +02:00
Anton-4
45df20cb17 can now convert builtin calls to markup 2021-10-26 16:43:03 +02:00
Chelsea Troy
75e1c0a8af
Merge branch 'trunk' into add-list-dropLast 2021-10-25 21:57:19 -05:00
Chelsea Troy
7680a1d17a
Remove unused code 2021-10-25 21:55:45 -05:00
Dan Knutson
12d35ba9f1 work around all test strings being static 2021-10-25 20:22:37 -05:00
Dan Knutson
bf1b597369 use nullable index for reverse iterator 2021-10-25 20:22:37 -05:00
Dan Knutson
6f49f355dd clean up conditionals, use RocStr.init 2021-10-25 20:22:37 -05:00
Dan Knutson
7ed37bf544 use lowlevel_n helper 2021-10-25 20:22:37 -05:00
Dan Knutson
1de0e5d99b make test fail for missed small string conversion 2021-10-25 20:22:37 -05:00
Dan Knutson
438ffdb18e restore changes to builtins readme 2021-10-25 20:22:37 -05:00
Dan Knutson
e1b9699272 remove TODO tags 2021-10-25 20:22:37 -05:00
Dan Knutson
ab060a95b8 add TODO for incorrect unique Roc tests 2021-10-25 20:22:37 -05:00
Dan Knutson
ca48d17dbc add Roc-level shared case tests 2021-10-25 20:22:37 -05:00
Dan Knutson
6832f952d1 undo changes to builtins README 2021-10-25 20:22:37 -05:00
Dan Knutson
188de22d8d explain back iterator 2021-10-25 20:22:37 -05:00
Dan Knutson
e21fa3cb0a add zig test cases 2021-10-25 20:22:37 -05:00
Dan Knutson
6f7a26895a handle small strings correctly 2021-10-25 20:22:37 -05:00
Dan Knutson
13fd72f3d8 thrashing 2021-10-25 20:22:37 -05:00
Dan Knutson
46365da73a add failing tests
* SIGSEGV for non-empty strings
2021-10-25 20:22:37 -05:00
Dan Knutson
e7523ad41d add Roc wiring 2021-10-25 20:22:37 -05:00
Dan Knutson
c8287032b6 use reverse utf8 iterator for trailing whitespace 2021-10-25 20:22:37 -05:00
Dan Knutson
8bf252a56e use mutation for the unique case 2021-10-25 20:22:37 -05:00
Dan Knutson
024a902579 add a slow zig impl 2021-10-25 20:22:37 -05:00
Dan Knutson
fdac5e2bd8 add isWhitespace helper 2021-10-25 20:22:37 -05:00
Chelsea Troy
a4b5b81d60
Merge branch 'trunk' into add-list-dropLast 2021-10-25 11:49:27 -05:00
Chelsea Troy
fc55172219
Fix test typo 2021-10-25 10:45:18 -05:00
Brian Carroll
0aee2c8348
Merge branch 'trunk' into wasm_generate_bytes 2021-10-25 16:36:21 +02:00
Anton-4
39974ea039 Merge branch 'trunk' of github.com:rtfeldman/roc into function_closure_to_mark_node 2021-10-25 14:34:58 +02:00
Brian Carroll
d996eee72e Pointlessly improve how we handle a crazy edge case, because my brain wouldn't let it go 2021-10-25 13:26:50 +02:00
Brian Carroll
4e098be7fe Fix a test throwing a Wasm runtime error 2021-10-25 13:04:30 +02:00
Brian Carroll
3f404dd114 clippy 2021-10-25 12:23:24 +02:00
Brian Carroll
ddf66293e9 Fix and refactor number encodings 2021-10-25 12:15:04 +02:00
Chelsea Troy
789cc5acc0
cargo fmt 2021-10-25 00:28:50 -05:00
Chelsea Troy
886f85d3e3
Merge branch 'trunk' into add-list-dropLast 2021-10-25 00:09:09 -05:00
Chelsea Troy
063d7b178b
Figured out why dropLast call was producing an argument mismatch:
- Although list_drop_last's LowLevel operation modeling (body) was correct, the defn() CALLED that body with an extra argument for index (a copy-paste error from dropAt).
- List.dropAt works now :)
2021-10-25 00:06:37 -05:00
Brian Carroll
3992850387 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_generate_bytes 2021-10-24 23:36:12 +02:00
Brian Carroll
b6e442c9ee Fix locals code gen 2021-10-24 23:36:00 +02:00
Brian Carroll
11f327f722 Fix function call 2021-10-24 23:35:25 +02:00
Brian Carroll
c46e73bd64 Fix test code gen 2021-10-24 23:34:14 +02:00
Brian Carroll
6534da5055 Fix LEB encoding and refactor insertions 2021-10-24 11:54:21 +02:00
Brian Carroll
13577aa9ec Combine our handmade Code section with other sections from parity_wasm (tests compile but fail) 2021-10-23 17:12:49 +02:00
Brian Carroll
7c398ba238 tweak comment 2021-10-23 13:52:45 +02:00
Brian Carroll
0f8fcb68b1 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_generate_bytes 2021-10-23 13:50:11 +02:00