Jan Van Bruggen
e3071a22b0
Add blank lines around headings
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md022
2022-09-07 23:18:03 -06:00
Jan Van Bruggen
6229eb54ca
Add blank lines around fenced code blocks
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031
2022-09-07 23:18:03 -06:00
Folkert
d78be3f863
remove either dependency
2022-09-06 18:52:43 +02:00
dependabot[bot]
ee81b73ea5
Bump either from 1.7.0 to 1.8.0
...
Bumps [either](https://github.com/bluss/either ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/bluss/either/releases )
- [Commits](https://github.com/bluss/either/compare/1.7.0...1.8.0 )
---
updated-dependencies:
- dependency-name: either
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 16:50:25 +00:00
Folkert de Vries
6dc86513a1
Merge pull request #3973 from roc-lang/dependabot/cargo/libc-0.2.132
...
Bump libc from 0.2.126 to 0.2.132
2022-09-06 18:48:36 +02:00
Folkert de Vries
b8f6d84dc3
Merge pull request #3928 from roc-lang/windows-surgical-dll
...
windows surgical dll
2022-09-06 13:19:23 +02:00
dependabot[bot]
095505ee15
Bump libc from 0.2.126 to 0.2.132
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.126 to 0.2.132.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.126...0.2.132 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 07:27:05 +00:00
Anton-4
3f3de74250
Merge pull request #3970 from roc-lang/dependabot/cargo/serde_json-1.0.85
...
Bump serde_json from 1.0.82 to 1.0.85
2022-09-06 09:26:35 +02:00
Richard Feldman
eac04dfbc7
Merge pull request #3957 from roc-lang/dev-backend-bitwise-logical
...
dev backend: bitwise logical operators
2022-09-05 20:28:56 -07:00
dependabot[bot]
646c0d3ffa
Bump serde_json from 1.0.82 to 1.0.85
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.82 to 1.0.85.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.82...v1.0.85 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:02:45 +00:00
Folkert de Vries
92847fd7c6
Merge pull request #3965 from roc-lang/windows-dec-add
...
windows RocDec & Zig
2022-09-05 13:06:24 +02:00
Folkert de Vries
33ae4c2655
Merge branch 'main' into windows-surgical-dll
...
Signed-off-by: Folkert de Vries <folkert@folkertdev.nl>
2022-09-05 11:31:19 +02:00
Folkert
df7db18008
make test slighly different so it has a distinct hash
2022-09-04 19:49:11 +02:00
Folkert de Vries
95b00048bf
Merge pull request #3964 from roc-lang/list-map-load-opaque
...
list map load opaque
2022-09-04 19:12:13 +02:00
Folkert
cc1a5af70d
cleanup
2022-09-04 19:04:48 +02:00
Folkert
76f82a6175
remove debugging code
2022-09-04 19:02:13 +02:00
Folkert
828ded8ebc
fix get scalar unsafe for windows
2022-09-04 18:57:56 +02:00
Folkert
a52a148424
fix llvm issues in all windows num tests
2022-09-04 18:42:59 +02:00
Folkert
6404f308f9
add windows llvm check mode (hacky)
2022-09-04 18:30:48 +02:00
Folkert
08b25cb935
fix dec calling convention for windows
2022-09-04 18:26:04 +02:00
Brian Carroll
517223e12a
Merge pull request #3962 from roc-lang/capacity-realloc
...
Use capacity better for realloc
2022-09-04 17:00:37 +01:00
Folkert
5a078eee4f
fix bug in loading of an opaque pointer
2022-09-04 17:22:43 +02:00
Brian Carroll
173343eea2
builtins: relax condition for reusing an allocation
2022-09-04 14:37:42 +01:00
Brian Carroll
b1b28650e9
builtins: Avoid reallocating Lists when they have enough capacity
2022-09-04 14:37:42 +01:00
Brian Carroll
0423e5650f
builtins: remove some redundant small string checks in strToBytes
2022-09-04 14:37:42 +01:00
Brian Carroll
32b815847e
builtins: Remove old incorrect comment about isSmallStr and add a test to make sure
2022-09-04 14:37:42 +01:00
Folkert
56463faa80
compact some pattern matches
2022-09-03 16:04:42 +02:00
Folkert
c5edd98bef
compact code
2022-09-03 16:01:44 +02:00
Folkert
b7cb7bb786
bitwise logical operators in the dev backend
2022-09-03 15:48:57 +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
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
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
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