Anton-4
2ec6f54776
corrected formatting of generated code
2022-05-04 14:22:25 +02:00
Anton-4
2845371c50
build before checking fmt and clippy for rust code gen
2022-05-04 14:00:39 +02:00
Brian Carroll
46c285c43a
Add new top-level dir to Earthfile
2022-05-04 07:26:45 +01:00
Brian Carroll
f9aeed8cc8
Move wasi-libc-sys into the workspace
2022-05-03 19:23:16 +01:00
Brian Carroll
fd9a92927b
Clean up a stray underscore
2022-05-03 19:13:32 +01:00
Brian Carroll
5fffea969a
Provide a way for non-wasm Rust code to find the WASI libc
2022-05-03 19:12:36 +01:00
Brian Carroll
dd1d49db75
Build WASI libc using Zig, instead of using a checked-in binary
2022-05-03 08:00:58 +01:00
Brian Carroll
de7fbc3fb9
Merge pull request #2990 from rtfeldman/llvm-wasm-string-literal
...
keep strings on the stack on 32-bit targets
2022-05-03 01:56:52 -05:00
Ayaz
5ec815a373
Merge pull request #2985 from rtfeldman/closure-called-in-defining-scope
...
Closure called in defining scope
2022-05-02 16:41:55 -04:00
Folkert
68ca014cfa
comments + proper naming
2022-05-02 20:45:53 +02:00
Folkert
71cb370089
keep strings on the stack on 32-bit targets
2022-05-02 20:15:28 +02:00
Richard Feldman
13e1f64118
Merge pull request #2988 from rtfeldman/test_reporting_fix
...
fixed temp dir removal panic
2022-05-02 12:06:29 -04:00
Richard Feldman
489a436043
Merge pull request #2986 from rtfeldman/auto-doc-build
...
Move `Num` docs into `builtins/roc/`
2022-05-02 10:16:21 -04:00
Anton-4
ced9fdec3a
also copy over repl_wasm
2022-05-02 15:34:00 +02:00
Anton-4
1142377b42
fixed removal panic
2022-05-02 14:12:55 +02:00
Anton-4
16fbaf14a1
Earthly: copy over www folder
2022-05-02 13:02:20 +02:00
Richard Feldman
b42af866bb
Have REPL error use eprintln! over println!
2022-05-01 21:02:01 -04:00
Richard Feldman
4e220288a5
Delete builtin docs for Num
2022-05-01 20:58:01 -04:00
Richard Feldman
2dcd0f4d2b
Generate builtin docs in Earthfile
2022-05-01 20:57:18 -04:00
Richard Feldman
7fc0330a71
Move builtin docs from docs/ to roc/
2022-05-01 20:55:33 -04:00
Richard Feldman
eb92d20189
Build builtin docs from builtins/roc
2022-05-01 15:30:50 -04:00
Ayaz
2ab0bc1226
Merge pull request #2982 from rtfeldman/more-debug-flags
...
Add more debug flags
2022-05-01 14:30:33 -04:00
Richard Feldman
0e7afd15c5
Merge pull request #2984 from rtfeldman/format-allow-blank-line-around-comments
...
Allow single blank line around comments in lists, records, type annotations
2022-05-01 14:17:12 -04:00
Sean Hagstrom
4707528caa
feature(formatter): allow single blank line around comments in lists, records, type annotations
2022-05-01 18:28:49 +01:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
...
Scope bitmask
2022-05-01 12:26:14 -04:00
ayazhafiz
37ba70472f
Add more debug flags
2022-05-01 12:25:03 -04:00
Folkert
5c9f8f5037
fix a bug where a closure is called immediately
2022-05-01 14:42:16 +02:00
Folkert
a35619ec80
add Symbol::contains helper for debugging
2022-05-01 14:29:52 +02:00
Folkert
10c2c5e8fd
make construct_closure_data more polymorphic
2022-05-01 14:29:02 +02:00
Ayaz
3197cd97ce
Merge pull request #2977 from rtfeldman/debug_flags
...
Factor bespoke debug variables into debug_flags crate
2022-04-30 18:16:06 -04:00
Ayaz
56935407b2
Merge pull request #2974 from rtfeldman/opt-opaque-metadata
...
Delay opaque instantiation, remove unnecessary Lowercase in Type
2022-04-30 18:10:45 -04:00
Folkert
be6006bbab
refactor
2022-04-30 21:22:47 +02:00
Folkert
d3f00c8c6d
use vec![]
2022-04-30 21:21:14 +02:00
Folkert
a5ec269a4d
clippy
2022-04-30 21:06:34 +02:00
Folkert
66d29e8611
fix typo
2022-04-30 21:00:48 +02:00
Folkert
76754e4d2a
use &str instead of Ident in some key places
2022-04-30 20:43:12 +02:00
Folkert
15f860e6d7
search imports first; they are likely to be small, andl likely to contain used types
2022-04-30 19:58:09 +02:00
Folkert
c3ef37d1bd
refactor
2022-04-30 19:11:51 +02:00
Ayaz
c3209fdded
Merge pull request #2980 from rtfeldman/format-inline-comments-for-defs
...
Format Inline Comments for Defs
2022-04-30 11:33:45 -04:00
Folkert
ec99d61953
skip generated symbols when looking for an ident
2022-04-30 17:11:46 +02:00
Folkert
45197779ae
re-use idents more aggressively
2022-04-30 15:47:15 +02:00
Sean Hagstrom
e6621e5167
remove outdated test for inline comment formatting
...
I tested if the formatter was still inconsistent by locally changing the helloWorld example to have:
```
main =
greeting = "Hello, World!\n" # This variable is for greeting
greeting
```
And running the formatter multiple times with `cargo run -- formatter`.
At the moment the results are consistent and the inline comments remains inlined.
2022-04-30 14:37:53 +01:00
Sean Hagstrom
e36aad6310
fix(formatter): format and allow inline comments for defs
2022-04-30 14:34:33 +01:00
Folkert
d23a14eae6
fix can tests
2022-04-30 14:04:18 +02:00
Folkert
c1d9c63e37
flip the order of loops to make lookups much faster
2022-04-30 12:27:50 +02:00
Folkert
a78aff0f2f
clippy
2022-04-30 01:54:16 +02:00
Folkert de Vries
0100ec84b2
Merge pull request #2976 from rtfeldman/i/2489
...
Only assert that rigids are introduced at given rank behind flag
2022-04-30 01:37:48 +02:00
Folkert
4ad5e532c1
even more cleanup
2022-04-30 01:35:15 +02:00
Folkert
6fb014baba
more cleanup
2022-04-30 01:25:27 +02:00
Folkert
953369e0d8
cleanup
2022-04-30 00:57:21 +02:00