Commit Graph

442 Commits

Author SHA1 Message Date
Anton-4
80885151b6
ignore breakout test on windows 2023-02-13 13:55:05 +01:00
Anton-4
951f01eee0
better name, extra test 2023-01-30 15:54:16 +01:00
Folkert
ee87eafdca
remove once_cell dependency 2023-01-28 14:26:24 +01:00
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-23 18:27:33 +01:00
Ayaz Hafiz
f6da8275ec
Record changed variables if any nested variable has changed
When we unify variables in mono, we must invalidate the sections of the
layout cache reached by those variables. Previously we did this by
recording changed variables as those that were `merge`d. However this is
not enough; we must also record all the parent types they came from. The
reason is we may have something like

```
Alias (Foo, a) ~ Alias (Bar, U8)
```

where we will merge `a = U8` but we do not merge the aliases.

Closes #4919
2023-01-21 12:37:21 -06:00
Anton-4
1f7e8d58a6
only run letter parser on ubu CI 2023-01-20 16:42:37 +01:00
Anton-4
8b14aec0f5
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-18 19:26:59 +01:00
Anton-4
c9a0664023
Merge remote-tracking branch 'upstream/main' into parser-package 2023-01-18 19:21:27 +01:00
Ayaz Hafiz
f58fb42d2b
Ignore gui test for now 2023-01-18 10:16:25 -06:00
Luke Boswell
d14d410153
added basic parsing example to ci 2023-01-18 13:49:38 +01:00
Luke Boswell
6790848be5
remove redundant zig platform, fix tests 2023-01-18 12:52:19 +01:00
Anton-4
88f218d24f
clippy fixes after merge 2023-01-17 18:24:38 +01:00
Anton-4
bbf35af8fa
Merge branch 'main' into rust1_65
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-17 18:14:30 +01:00
Anton-4
a97c53d7ca
1.65 changes and clippy fixes 2023-01-17 18:09:16 +01:00
Anton-4
309052c85a
re-enable args cli_run test 2023-01-17 14:45:17 +01:00
Folkert de Vries
d8b2ff07f8
Merge pull request #4802 from roc-lang/valgrind-unit-tests
Valgrind unit tests
2023-01-11 19:45:28 +01:00
Folkert de Vries
a659b6b560
Merge pull request #4858 from roc-lang/parse-http
Example parser for HTTP messages
2023-01-10 19:03:56 +01:00
Brian Carroll
0ee8de2bc8
parser/Http: add a cli test and a new method for library testing 2023-01-10 08:53:48 +00:00
Ayaz Hafiz
50826d1a83
Inline interners into the layout interner module
I realized that we'll need to make the layout interner more complicated
to support things like recursive pointers pointing to their parents and
to support lambda set layout caching. Since the layout interner is the
only user of intern crate right now anyway, just inline the whole thing.
2023-01-03 14:19:39 -06:00
Folkert
407fef0602
fix compilation on non-linux systems 2022-12-30 14:30:10 +01:00
Folkert
9500b0b97b
stop writing to files 2022-12-30 14:30:10 +01:00
Folkert
b81aed852a
properly display valgrind problems 2022-12-30 14:30:09 +01:00
Folkert
32e3f01a28
refactor printing error counts 2022-12-30 14:30:08 +01:00
Folkert
1a2e1aecdb
fix wasm host compilation 2022-12-29 16:50:21 +01:00
Folkert
479caaf0a9
clean up path usage 2022-12-29 16:50:21 +01:00
Folkert
356875a851
simplify host extension 2022-12-29 16:50:20 +01:00
Folkert
1995d8b3df
refactor cli/src/build.rs 2022-12-29 16:50:20 +01:00
Folkert
a2c760aa56
keep conditional compilation local 2022-12-29 16:50:20 +01:00
Folkert
e44bf59334
remove argument from load_and_monomorphize 2022-12-29 16:50:19 +01:00
Folkert
92da3973e7
remove argument from load_and_typecheck 2022-12-29 16:50:19 +01:00
Ayaz
562a2748cb
Merge branch 'main' into i4732
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-12-28 11:56:08 -06:00
Ayaz
f7bdc59ac0
Merge pull request #4815 from roc-lang/improve_getting_started
helloWolrd use url platform, improve getting started
2022-12-27 10:02:44 -06:00
Anton-4
33af6264d6
add helloWorldNoURL 2022-12-27 15:03:31 +01:00
Ayaz Hafiz
ba2fc89ec4
Ignoring virtual DOM tests that only fail in debug 2022-12-25 17:10:08 -06:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file 2022-12-24 22:32:13 -05:00
Brian Carroll
2c0e6bb21f
Merge branch 'main' into virtual-dom-rendered-type
Signed-off-by: Brian Carroll <brian.carroll.ireland@gmail.com>
2022-12-21 17:26:15 +00:00
Folkert
af4023f116
make i386 cli tests compile 2022-12-20 16:29:01 +01:00
Richard Feldman
205b9bc20a
Merge pull request #4736 from roc-lang/packages
Basic Packages
2022-12-19 22:37:45 -05:00
Brian Carroll
9c3f61c448
cli_run: update virtual-dom test and add a client-side test 2022-12-19 23:40:10 +00:00
Anton-4
3185207313
ignore virtual dom test on windows 2022-12-19 11:31:18 +01:00
Folkert de Vries
a18197347b
Merge pull request #4767 from roc-lang/wasm_interp_repl_test
Replace Wasmer with roc_wasm_interp
2022-12-18 20:44:58 +01:00
Brian Carroll
32fcfec51d
virtual-dom: add a roc check test to cli_run 2022-12-18 16:48:20 +00:00
Richard Feldman
3e448fd2b4
Merge remote-tracking branch 'origin/main' into packages 2022-12-17 03:32:52 -05:00
Richard Feldman
fefb3b9908
gitignore cli_testing_example's compiled app 2022-12-16 12:29:47 -05:00
Richard Feldman
319fdbfaf7
Add packages-test to fixtures gitignore 2022-12-16 12:28:15 -05:00
Richard Feldman
c4da82cdae
Fix CLI test for packages 2022-12-16 12:27:22 -05:00
Richard Feldman
1d670cd0cf
Add CLI test for packages 2022-12-16 12:22:50 -05:00
Brian Carroll
3588e57c6a
clippy 2022-12-16 16:22:52 +00:00
Brian Carroll
eaf0211808
cli: update run_wasm to use roc_wasm_interp 2022-12-16 14:52:11 +00:00
Brian Carroll
09fee71084
cli: Convert run_wasm to work with roc_wasm_interp 2022-12-16 14:52:11 +00:00