Commit Graph

8852 Commits

Author SHA1 Message Date
Ayaz Hafiz
790eb8e20c
Lambda sets don't need extension vars 2022-06-01 13:18:03 -05:00
Ayaz Hafiz
c2a2ce690c
Lift lambda sets as their own type
This prepares for unspecialized lambda set in the type system in
general.
2022-06-01 13:17:22 -05:00
Ayaz Hafiz
3fc95bad90
Remove unused lambda set struct 2022-06-01 13:14:00 -05:00
Folkert de Vries
80492cbb0a
Merge pull request #3164 from rtfeldman/deep-copy-var-loop
make deep_copy_var non-recursive
2022-06-01 20:00:05 +02:00
Folkert
9540aa5b70
make deep_copy_var non-recursive 2022-06-01 17:59:35 +02:00
Anton-4
4b647fd4b1
Forgot tempfile dependency 2022-06-01 13:40:46 +02:00
Anton-4
cb229dad95
Fix zig caching issue 2022-06-01 13:38:38 +02:00
Sean Hagstrom
d9d708fc94
formatter: fix indentation for multi-line lambdas in pipeline expression 2022-06-01 08:53:13 +01:00
Sean Hagstrom
802cf20637
formatter: remove spaces from regions inside module AST definitions 2022-06-01 08:53:13 +01:00
Anton-4
e1804ff755
Merge branch 'trunk' of github.com:rtfeldman/roc into m1_gh_runner 2022-05-30 19:40:16 +02:00
Anton-4
e4412f73f2
add nix apple M1 workflow 2022-05-30 19:34:04 +02:00
Richard Feldman
c8454d0f9b
Merge pull request #3148 from rtfeldman/bindgen-recursive-union
Bindgen normal recursive unions
2022-05-29 12:19:11 -04:00
Richard Feldman
524ae1e3d8
Use RocType::TagUnionPayload for tag union payloads 2022-05-28 19:17:10 -04:00
Richard Feldman
ea644c3360
Merge pull request #3132 from rtfeldman/parse-def-soa 2022-05-28 01:55:01 -04:00
Folkert
278a370b30
use a loop {} instead of recursion to parse 2022-05-26 18:26:48 +02:00
Richard Feldman
1ef5d785c0
Remove no-longer-necessary ReferenceCount uses in wasm 2022-05-26 11:18:06 -04:00
Folkert
bab81fd941
actually use the new parser 2022-05-26 15:32:04 +02:00
Folkert
fa9ac912a0
parse defs with the new approach 2022-05-26 14:14:39 +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
Folkert
d174cb72ae
attempts at parsing 2022-05-25 20:30:43 +02:00
Folkert
72518bca9c
fix clippy things 2022-05-25 15:28:14 +02:00
Folkert
8829be30b7
update parse tests 2022-05-25 15:01:56 +02:00
Folkert
d72ebf4b74
formatting for Defs 2022-05-25 14:58:36 +02: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
2ae804790a
parse toplevel defs into an SOA structure 2022-05-23 22:07:37 +02: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