Folkert
6c51198c6b
get rid of some mutual references
2022-09-03 15:01:59 +02:00
Folkert
af74f72f8a
minor tweaks
2022-09-03 14:45:22 +02:00
Folkert
ff7df65f36
simplify slices
2022-09-03 13:24:21 +02:00
Folkert
d99fdb3831
change the cutoff for when a pointer is used on windows
2022-09-03 12:42:13 +02:00
Folkert
8175e3a9e2
Merge remote-tracking branch 'origin/main' into windows-c-calling-convention
2022-09-03 12:14:17 +02:00
Jan Van Bruggen
4508a27fda
Merge pull request #3918 from roc-lang/format_cli_help
...
Improve consistency in CLI help messages
2022-09-02 20:03:45 -06:00
Folkert de Vries
93ace1d6f3
Merge pull request #3945 from roc-lang/i3942
...
Adds lambda set layout interning
2022-09-02 21:08:30 +02:00
Folkert de Vries
8cd308aa04
Merge pull request #3946 from roc-lang/faster-occurs-check
...
Attempt occurs checks for recursive lambda sets only during monomorphization
2022-09-02 20:51:51 +02:00
Folkert
ac3c5e2fdb
further additions for building on windows
2022-09-02 20:36:31 +02:00
Anton-4
34de640003
better windows setup instructions
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-02 19:42:56 +02:00
Folkert
016efc67c6
don't drop explicitly?
2022-09-02 19:15:03 +02:00
Anton-4
4b4e5b24c0
replaced forgotten u8 with bool
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-02 18:10:29 +02:00
Anton-4
694230390c
typo
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-02 17:45:17 +02:00
Anton-4
c9f4d58810
cleanup + format
2022-09-02 17:22:17 +02:00
Bryce Miller
a1543b5cc4
treat platform-switching similarly to benchmarks
2022-09-02 10:44:29 -04:00
Anton-4
932e28b505
remove macro's only used for debugging
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-02 16:40:57 +02:00
Anton-4
ed6b437e28
undo debug changes
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-02 16:39:17 +02:00
Bryce Miller
780945061f
Merge branch 'main' into move-examples-3912
2022-09-02 10:37:21 -04:00
Anton-4
37853e4477
skip failing tests
...
Also include DATE and SHA in tar filename.
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-02 16:36:26 +02:00
Brian Carroll
026087027e
Merge pull request #3902 from roc-lang/nightly_ubu_20
...
build nightly on ubuntu 20.04
2022-09-02 13:06:37 +01:00
Anton-4
de0b2735f6
proper transmute to u8
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-02 13:49:14 +02:00
Richard Feldman
ce4aa4c502
Centralize sidebar link logic
2022-09-01 16:28:21 -04:00
Bryce Miller
67a5aedd44
Merge branch 'roc-lang:main' into move-examples-3912
2022-09-01 15:20:34 -04:00
Richard Feldman
f3d38fd756
Merge pull request #3947 from KilianVounckx/str-splitfirst-bugfix
...
Str splitfirst bugfix
2022-09-01 12:00:18 -07:00
Folkert
4dbdd8ac87
extend the lifetime of a dll until after an assert
2022-09-01 20:54:06 +02:00
Richard Feldman
debcea0f8f
Set cache-control headers on Netlify
2022-09-01 14:24:40 -04:00
Richard Feldman
bdd98e0276
Add prefetching to sidebar links
2022-09-01 14:24:40 -04:00
Folkert
f0f720a86a
pass by pointer more on windows
2022-09-01 20:12:55 +02:00
kilianv
273907319d
Add tests for Str.splitLast
...
There was only one test, which didn't cover the bug I fixed in Str.splitLast. I
added the tests to make sure the bug will be caught in the future.
2022-09-01 17:03:26 +02:00
kilianv
97f49bf940
Add expect tests for Str.splitLast
2022-09-01 16:59:11 +02:00
kilianv
d89253779a
Add expect tests for Str.splitFirst
2022-09-01 16:57:19 +02:00
kilianv
23e430d91d
Fix splitFirst bug
...
The reason was an of-by-one error.
2022-09-01 16:48:04 +02:00
kilianv
80c8c80082
Add tests to splitFirst function
...
Bugfix is coming up. The extra tests should capture the fix. Right now
not all tests pass.
2022-09-01 16:43:13 +02:00
Brian Carroll
bfc00a4b94
Merge pull request #3920 from roc-lang/static-site-gen
...
Static site generator example
2022-09-01 07:12:12 +01:00
Ayaz Hafiz
086f7a7e9d
Attempt occurs checks for recursive lambda sets only during monomorphization
2022-08-31 16:45:57 -05:00
Ayaz Hafiz
46bc8647b4
Further push layout interner
2022-08-31 16:08:00 -05:00
Folkert de Vries
5d31ec762d
Merge pull request #3890 from roc-lang/layout-cache
...
Re-introduce layout caching
2022-08-31 22:50:54 +02:00
Ayaz Hafiz
cea2fcafae
Fix dev/wasm compile errors
2022-08-31 15:42:02 -05:00
Ayaz Hafiz
3a130acc32
Fix mut in test
2022-08-31 15:01:01 -05:00
Ayaz Hafiz
c2d042eba2
Stray dbg
2022-08-31 14:53:52 -05:00
Ayaz Hafiz
95765bcb1e
Intern the lambda set representation
2022-08-31 14:50:56 -05:00
Ayaz Hafiz
1e49622b61
Clippy
2022-08-31 14:36:44 -05:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout
2022-08-31 14:33:52 -05:00
Ayaz Hafiz
ed04c2040a
Push the layout interner through the backends
2022-08-31 14:33:52 -05:00
Ayaz Hafiz
c5466810a4
Add LayoutInterner to LayoutCache
...
Adds a thread-local interner of layouts to LayoutCache, and updates all
references appropriately.
This is a bit suboptimal for single-threaded workloads that will look at
creating layout caches again, like the REPL, but I think that's okay for
now - since the global interner will be uncontested for those workloads, it
should still be plenty fast to access the interner, even behind a lock.
2022-08-31 14:33:51 -05:00
Ayaz Hafiz
9d170be5c7
Add layout interner to load_internal
2022-08-31 14:33:51 -05:00
Ayaz Hafiz
14291c4ebc
Add an interner crate
2022-08-31 14:33:51 -05:00
Ayaz Hafiz
261cd75a71
Invalidate layout-cached variables correctly after merging
2022-08-31 14:33:50 -05:00
Ayaz Hafiz
7a7a4fa680
Use fnv hasher for layout cache
2022-08-31 14:26:16 -05:00
Ayaz Hafiz
c57fe24805
Use OptVariable rather than Option<Variable>
2022-08-31 14:23:50 -05:00