Ayaz Hafiz
304b88cdb2
Fix bug in expect test
2022-12-02 16:20:56 -06:00
Ayaz Hafiz
7e512077e7
Fix imports for repl
2022-12-02 14:11:58 -06:00
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME
2022-11-20 20:54:03 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere
2022-11-20 19:53:48 -05:00
Folkert de Vries
de472015f6
Merge pull request #4505 from roc-lang/fix-web-repl-palette
...
Fix web REPL error formatting by routing the active Palette everywhere
2022-11-15 15:49:37 +01:00
Folkert
662bf1de99
more workspace dependencies
2022-11-13 16:10:02 +01:00
Brian Carroll
b64514d7e4
Fix web REPL error formatting by routing the active Palette everywhere
2022-11-11 23:38:08 +00:00
Luke Boswell
cec67721e6
merge upstream/main
2022-11-06 09:27:46 +11:00
Luke Boswell
2c2a70b8e7
Merge remote-tracking branch 'upstream/main' into rust-docs
2022-11-06 09:15:57 +11:00
Richard Feldman
c03dc17ab4
Merge remote-tracking branch 'origin/main' into repl
2022-11-05 01:04:44 -04:00
Folkert
134de80150
various updates
2022-11-03 17:18:27 +01:00
Luke Boswell
f3bdb5f321
updating rust package documentation
2022-11-03 20:00:06 +11:00
Richard Feldman
560c984d30
Fix error filtering region math
2022-11-01 01:20:52 -04:00
Richard Feldman
9854dceec8
Filter out warnings and errors for past defs
2022-11-01 00:24:49 -04:00
Richard Feldman
4ace05ea5d
Revert "Start attempting to offset parse error regions"
...
This is going to be a bigger project than I want to take on right now.
This reverts commit 3304f37b78
.
2022-10-31 23:25:32 -04:00
Richard Feldman
3304f37b78
Start attempting to offset parse error regions
2022-10-31 23:25:24 -04:00
Richard Feldman
d7fd72c905
Fix eval-ing functions in repl
2022-10-30 14:41:57 -04:00
Richard Feldman
4d8a3ba3d7
Don't persist defs if they have errors
2022-10-30 03:42:30 -04:00
Richard Feldman
60d2d00651
Drop some unused comments
2022-10-30 03:42:15 -04:00
Richard Feldman
51cb51d485
Gracefully recover from malformed closure in repl
2022-10-30 03:31:54 -04:00
Richard Feldman
0190787f7b
Revert "send panics to the repl more gracefully"
...
Now doesn't seem like the right time to do a change this invasive.
This reverts commit a36ddbf6cb
.
2022-10-30 03:12:53 -04:00
Richard Feldman
a36ddbf6cb
WIP send panics to the repl more gracefully
2022-10-30 03:12:41 -04:00
Richard Feldman
b7d3c77b76
Have the repl eval anyway if there are errors
2022-10-27 18:47:32 -04:00
Richard Feldman
9f498add60
Reorganize some REPL modules
2022-10-27 18:47:27 -04:00
Ayaz Hafiz
077508114d
Fix repl examination of FunctionOrTagUnion
2022-10-05 17:25:12 -05:00
Ayaz Hafiz
61cf8e53e6
Have FunctionOrTagUnion include multiple possible tags
2022-10-05 17:24:52 -05:00
Ayaz Hafiz
e31a16f650
Properly wrap with newtype-by-void layouts in repl
...
Closes #4208
2022-10-05 11:17:57 -05:00
Ayaz Hafiz
dfd0fdc990
Print bool correctly in repl
...
Closes #4149
2022-10-03 14:32:15 -05:00
Ayaz Hafiz
e50f8d4888
Remove debug assert
2022-09-21 12:29:07 -05:00
Ayaz Hafiz
baa86e283e
repl tests
2022-09-20 14:42:09 -05:00
Ayaz Hafiz
0c2b0b1bcc
Unwrap recursion var
2022-09-14 11:26:49 -05:00
Ayaz Hafiz
274f40e4e1
Print on unreachable
2022-09-14 11:26:47 -05:00
dependabot[bot]
0079048944
Bump bumpalo from 3.10.0 to 3.11.0
...
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases )
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.11.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 21:08:56 +00:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout
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
3856ea6199
Implement a cache policy - don't cache recursive pointers without a recursive layout
2022-08-31 14:16:42 -05:00
Ayaz Hafiz
d757701426
First pass at layout caching
2022-08-31 14:16:42 -05:00
Ayaz Hafiz
8b0f7dc82f
Propagate layout_cache throughout Env in generating layout
...
Sets up actually using the LayoutCache to get cached layouts.
2022-08-31 14:16:42 -05:00
Ayaz Hafiz
e35a571aef
cargo fmt repl
2022-08-09 16:01:40 -07:00
Ayaz Hafiz
43d26b0a28
Handle recursive loops through pointers in repl
2022-08-09 16:01:16 -07:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform
2022-08-07 13:28:03 +02:00
Folkert
b4eda7c9d9
rework features for roc_std
2022-08-06 19:01:07 +02:00
Folkert
546b702740
nullable wrapped tags
2022-08-06 14:40:00 +02:00
Richard Feldman
26ee1a01bc
Merge pull request #3691 from rtfeldman/cargo_verson_change
...
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-05 09:13:04 -04:00
Richard Feldman
3136c5fb63
Allow testing interface modules
2022-08-03 19:49:48 -04:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-03 11:41:19 +02:00
Folkert
7634c6f636
remove lifetimes where now possible
2022-07-26 00:08:17 +02:00
Folkert
2b93db1291
disentangle lifetimes
2022-07-26 00:05:41 +02:00
Richard Feldman
daec85a75e
Merge pull request #3621 from rtfeldman/expect-memcpy
...
Clone more values into shared expect buffer
2022-07-23 23:00:54 -04:00
Folkert
c09cb4e3ea
fix stack size of empty tag union
2022-07-23 23:10:56 +02:00