Sam Mohr
e9c096088a
Remove unnecessary vec size reservation
2024-10-24 23:00:37 -07:00
Sam Mohr
01369dc6d8
Add mono tests to validate refcounts with early return
2024-10-24 22:56:03 -07:00
Luke Boswell
06996d88f2
Merge pull request #7178 from JRI98/fix_6240
...
Fix #6240
2024-10-24 13:29:47 +11:00
JRI98
edd0bb553d
Remove unused EmptyTuple variant from FlatType enum
2024-10-22 16:29:53 +01:00
JRI98
511308d4d3
Fix #6240
2024-10-22 12:04:48 +01:00
Richard Feldman
21dd2ad85d
Update parsing snapshot tests
2024-10-21 23:19:25 -04:00
Richard Feldman
8997c80573
Remove deprecated roc_collections::soa things
2024-10-21 23:17:20 -04:00
Richard Feldman
d796b3ec74
Update insta tests
2024-10-21 23:09:55 -04:00
Richard Feldman
91360bac17
Don't print type names in Debug for Slice & Index
2024-10-21 22:36:08 -04:00
Richard Feldman
458899b25b
use #[deprecated]
2024-10-21 22:34:29 -04:00
Richard Feldman
9590db6bd0
use #[deprecated]
...
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-10-21 22:33:37 -04:00
Richard Feldman
3dbddb3846
use #[deprecated]
...
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-10-21 22:31:20 -04:00
Richard Feldman
8bb7b5460f
Don't qualify PhantomData
2024-10-21 22:30:43 -04:00
Richard Feldman
c9c7156db5
Fix insta tests
2024-10-21 22:10:44 -04:00
Richard Feldman
f03505a485
Add no_std to soa
2024-10-21 22:10:44 -04:00
Richard Feldman
ab17bfc260
Drop unnecessary comment
2024-10-21 22:10:44 -04:00
Richard Feldman
728a475d1b
Delete obsolete doc comment
2024-10-21 22:10:44 -04:00
Richard Feldman
08b32927f1
Implement @smores56's feedback from #7156
2024-10-21 22:10:44 -04:00
Richard Feldman
62b4fe6943
clippy
2024-10-21 22:10:43 -04:00
Richard Feldman
e589923ae8
Make collections::soa use the soa crate
2024-10-21 22:10:43 -04:00
Richard Feldman
44d00e1f13
Updates for making soa no_std
2024-10-21 22:10:43 -04:00
Richard Feldman
178bc469e6
Put back a bunch of the push_new etc. calls
2024-10-21 22:10:43 -04:00
Richard Feldman
49d1786f6c
Remove more push_new and extend_new usages
2024-10-21 22:10:43 -04:00
Richard Feldman
b2ea0b842c
Revert "Do some checked SoA stuff"
...
This reverts commit c79d7745f6eb345fd50a7cb4a2a7dd6fb6f8f1fc.
2024-10-21 22:10:43 -04:00
Richard Feldman
a8d3280b02
Do some checked SoA stuff
2024-10-21 22:10:42 -04:00
Sam Mohr
ff83fd6e3e
Merge pull request #7172 from jwoudenberg/expose-original-script-to-host
...
Set argv[0] to .roc file passed to 'roc run'
2024-10-21 13:43:25 -07:00
Jasper Woudenberg
ad555297cf
Set argv[0] to .roc file passed to 'roc run'
...
When we run `roc run <file>` or `roc <file>` then Roc will compile a
binary and run it. Before this commit we would set the path to the
compiled binary as argv[0]. This commit changes the behavior to make
argv[0] in the binary correspond to the roc file being ran.
This benefits the use of roc scripts that make use of a shebang:
#!/usr/bin/env roc
With this change such scripts will be able to read the path to
themselves out of ARGV. This trick is commonly used for instance by bash
scripts in order to access files relative to the script itself.
2024-10-21 21:54:46 +02:00
Sam Mohr
7518a2c5ab
Address PR comments, add syntax tests
2024-10-21 03:06:43 -07:00
Jasper Woudenberg
1ab8fd55a9
Add extra documentation around glue
2024-10-20 20:31:11 +02:00
Sam Mohr
b3e60f9d3a
Implement return keyword
2024-10-20 08:58:59 -07:00
Stuart Hinson
3739023f2a
fix typo in Dict.update docs
...
`Err` branch fix
Signed-off-by: Stuart Hinson <stuart.hinson@gmail.com>
2024-10-15 13:19:36 -04:00
Anton-4
837dc7b7cc
Merge pull request #7154 from DavidEdwards1/allow-check-on-markdown
...
Initial Sketch of roc check on Markdown
2024-10-15 13:54:09 +02:00
Anton-4
734a4e4504
clean up dbg
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-15 12:54:52 +02:00
Anton-4
e73484d282
improve names
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-15 12:53:56 +02:00
Ayaz
f8a6d894fa
Merge pull request #7166 from svcxc/rocdec-traits
...
Implement Default/PartialOrd/Ord for RocDec
2024-10-14 09:55:58 -04:00
svcxc
b7ec1f143b
Implemented Default, PartialOrd, and Ord for RocDec
2024-10-14 14:50:53 +02:00
David Edwards
94ad57dcfa
Read file line by line rather than all at once
2024-10-13 21:33:41 +01:00
dependabot[bot]
d034633b9f
Bump cookie and express in /crates/compiler/checkmate/www
...
Bumps [cookie](https://github.com/jshttp/cookie ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases )
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1 )
Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1 )
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 22:04:06 +00:00
Richard Feldman
beda934868
Merge pull request #7156 from roc-lang/soa
...
Make Subs use a more generic `soa` implementation
2024-10-12 18:03:00 -04:00
Brendan Hansknecht
5646f829dc
Merge pull request #7146 from HajagosNorbert/hajagosnorbert/neg_int
...
gen_dev-x86_64 extend Num.neg to all Signed and Unsigned int sizes
2024-10-11 08:57:46 -07:00
Richard Feldman
8fda63e137
Remove unused dependency
2024-10-10 00:53:39 -04:00
Richard Feldman
526b6d85fb
Deprecate collections/soa
2024-10-10 00:30:37 -04:00
Richard Feldman
2567c8b545
Convert over Subs to use the new soa crate
2024-10-10 00:30:35 -04:00
Richard Feldman
586959780b
Revert "Try out converting subs to use soa stuff directly"
...
This reverts commit 4a7d7e42d6 .
2024-10-10 00:06:25 -04:00
Richard Feldman
4a7d7e42d6
Try out converting subs to use soa stuff directly
2024-10-10 00:06:22 -04:00
Richard Feldman
be0f1223eb
Update soa
2024-10-10 00:05:55 -04:00
Richard Feldman
ece46a28d0
Add soa crate
2024-10-09 23:58:42 -04:00
David Edwards
13ffa9b9db
Initial Sketch of roc check on Markdown
...
This commit alters `roc check` to be able to run on Markdown files. The overall flow is:
- check if the file has a `.md` extension
- if it does extract any fenced code blocks marked as Roc
- write those blocks to temp files
- run `roc check` sequentially on every temp file
- print out the results of `roc check`
- exit early if any individual `roc check` has non-zero exit status
- if the file does not have `.md` extension proceed as before
2024-10-09 21:13:45 +01:00
Luke Boswell
0271f2eeb2
Merge pull request #7151 from hrishisd/deprecate-old-str-interpolation
...
Remove deprecated string interpolation syntax #7148
2024-10-09 11:21:18 +11:00
hrishisd
cb98c45e88
Remove deprecated string interpolation syntax
2024-10-08 16:31:22 -04:00