Commit graph

8838 commits

Author SHA1 Message Date
Folkert
b29c7d6fb2
add Expect ir::Stmt node 2022-05-26 16:46:10 +02:00
Folkert
70df1ff9c7
Merge remote-tracking branch 'origin/trunk' into expect-report 2022-05-26 16:06:34 +02:00
Brian Carroll
44bca1c8c5
clippying & fmt'ing 2022-05-26 00:27:18 +01:00
Brian Carroll
11c1c92cc1
wasm: self-review edits 2022-05-25 23:11:37 +01:00
Brian Carroll
4300ef8b47
wasm: cleanup Section trait 2022-05-25 22:40:46 +01:00
Brian Carroll
da4529ab16
Clippyyy, Clippyyy, Clippyyy, the bush kangaroo... 2022-05-25 22:17:48 +01:00
Brian Carroll
07b83b1999
wasm: delete preload functions 2022-05-25 22:04:59 +01:00
Brian Carroll
adc16e1db1
wasm: convert CodeSection preload to parse 2022-05-25 21:57:04 +01:00
Brian Carroll
6ef445dc3f
wasm: delete ImportSection::append, which can never be called 2022-05-25 21:36:15 +01:00
Brian Carroll
731a227c61
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-parser-trait 2022-05-25 21:15:08 +01:00
Brian Carroll
db9881bbfb
wasm: use Parse instances for most sections (CodeSection todo) 2022-05-25 08:35:05 +01:00
Brian Carroll
1219af2664
wasm: implement Parse for Function section 2022-05-25 08:21:50 +01:00
Richard Feldman
8bcc815661
Merge pull request #3128 from rtfeldman/multi-arch-bindgen
Multi-arch bindgen
2022-05-24 13:26:29 -04:00
Richard Feldman
0f140facda
Merge pull request #3127 from rtfeldman/www
Sync up changes from #3041
2022-05-24 13:00:02 -04:00
Richard Feldman
fb5f30e5ed
Rename Arm to Aarch32, fix some of its code gen
As far as I can tell, Aarch32 only supports 32-bit
registers, so its pointers should be 4 bytes and
its F64 alignment should be 4 bytes as well
(because it's emulated in software).
2022-05-24 12:08:08 -04:00
Richard Feldman
2a5e6ab172
Add PartialEq, Eq, and EnumIter to Architecture 2022-05-24 12:08:07 -04:00
Sean Hagstrom
e2e77a2324
formatter: add newlines between parens delimiters for multiline expressions 2022-05-24 11:19:30 +01:00
Brian Carroll
2313ee2259
Parse ImportSection 2022-05-24 08:12:56 +01:00
Brian Carroll
cbf8c841f7
Parse TypeSection 2022-05-24 08:12:55 +01:00
Brian Carroll
dccdce839e
wasm: Create Parse instances for all Sections in the wasm file 2022-05-23 23:12:10 +01:00
Folkert de Vries
37fed3fbdb
Merge pull request #3101 from rtfeldman/simd-interner-search
simd small string interner search
2022-05-23 19:37:51 +02:00
Richard Feldman
4eec34becf
Update to use new square brace formatting 2022-05-22 23:15:54 -04:00
Richard Feldman
a4a5f438e6
Update type pretty-printing 2022-05-22 18:35:56 -04:00
Richard Feldman
8fa80fa69b
Merge pull request #3116 from rtfeldman/formatter-remove-space-between-square-braces 2022-05-22 18:06:03 -04:00
Brian Carroll
873d9d4e06
wasm: create separate steps for parsing the host and compiling the app 2022-05-22 20:49:16 +01:00
Brian Carroll
84a3ac2ef6
Replace byte slices with str 2022-05-22 19:37:06 +01:00
Brian Carroll
c16a5ad8ae
wasm: Create ParseError type 2022-05-22 15:37:47 +01:00
Brian Carroll
66c78ceed5
Replace some helper functions with Parse trait instances 2022-05-22 15:37:47 +01:00
Folkert
f8259913cc
clippy 2022-05-22 15:31:40 +02:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions 2022-05-22 14:06:34 +01:00
Ayaz
d8eaa135b2
Merge pull request #3115 from rtfeldman/improve-range-checking
Optimize range checking
2022-05-22 08:43:53 -04:00
Sean Hagstrom
4981f081a7
formatter: refactor fmt_collection to receive enum for braces type 2022-05-22 11:44:10 +01:00
Brian Carroll
8114ec60c1
Start using Result to handle Wasm module parse failures 2022-05-22 09:36:33 +01:00
Richard Feldman
5baf1ac8b3
Merge pull request #3088 from rtfeldman/fast-comment-simd
use simd in actual comment parsing
2022-05-21 22:39:25 -04:00
Folkert
fb37d925dc
deal with aliases around number types 2022-05-21 21:28:31 +02:00
Sean Hagstrom
c7e6547c9a
formatter: support outdenting multi-line annotations for record types and tag unions 2022-05-21 20:18:32 +01:00
Folkert
99a879d795
cleanup 2022-05-21 20:56:56 +02:00
Folkert
d43bda83b4
cleanup 2022-05-21 20:50:06 +02:00
Folkert
98ce9f4d09
remove the snapshots 2022-05-21 20:42:19 +02:00
Folkert
cb40aab21f
refactor number bounds 2022-05-21 18:53:50 +02:00
Folkert
b46721e43b
exit early from range checking 2022-05-21 18:28:11 +02:00
Folkert de Vries
e3b6a38394
Merge pull request #3114 from rtfeldman/less-u128-special-casing
Less U128 special-casing
2022-05-21 18:18:42 +02:00
Folkert de Vries
feaf53371f
Merge pull request #3113 from rtfeldman/new-utable-copy
New utable variable copy
2022-05-21 18:17:56 +02:00
Richard Feldman
3cdaa52a30
Merge pull request #3110 from rtfeldman/handcrafted-unification-table
Handcrafted unification table
2022-05-21 11:39:58 -04:00
Richard Feldman
66bcb53eb1
Merge pull request #3108 from rtfeldman/check-derived2
Validate derives clauses after solving
2022-05-21 11:39:18 -04:00
Richard Feldman
ba2465989a
Merge pull request #3098 from rtfeldman/check-derived
Canonicalize "has"-deriving clauses
2022-05-21 11:38:59 -04:00
Richard Feldman
879af96ba1
Merge pull request #3112 from rtfeldman/roc-dec-alignment
Giving RocDec alignment of 16
2022-05-21 10:55:57 -04:00
Richard Feldman
b4e949ca2e
Don't special-case so many U128 literals 2022-05-21 10:36:45 -04:00
Folkert
722ae9da6b
pass along the specific pool we're adding to 2022-05-21 14:48:45 +02:00
Folkert
1814a69c30
remove closure that is used once 2022-05-21 14:42:48 +02:00