Trevor Settles
5f6d259e5d
updated error messages
2024-02-08 15:25:15 -07:00
Trevor Settles
4b4ad47312
added test for no file ext or shebang
2024-02-07 10:18:33 -07:00
Trevor Settles
50c8adbbbb
added test for non roc file
2024-02-06 23:10:18 -07:00
Trevor Settles
295e1c9d35
Merge branch 'main' of https://github.com/rtfeldman/roc into ensure-roc-files
2024-02-06 20:31:36 -07:00
Brian Carroll
a9a1ae1511
Get rid of dead code warning
2024-02-06 08:17:31 +00:00
Brian Carroll
0f19ecbb86
Handle env vars in debug printing
2024-02-06 08:04:00 +00:00
Brian Carroll
26fdbaf4cd
Create a debug flag for build commands
2024-02-06 07:54:55 +00:00
Trevor Settles
1b757e724c
reverted import
2024-02-05 23:00:49 -07:00
Trevor Settles
2f9ecc7f8e
added no ext error checking
2024-02-05 22:06:53 -07:00
Trevor Settles
2fe506ee50
Merge branch 'main' of https://github.com/rtfeldman/roc into ensure-roc-files
2024-02-04 21:25:15 -07:00
Trevor Settles
5270e896a8
moved file ext handling
2024-02-04 21:24:36 -07:00
Folkert de Vries
0e7fee4e7f
Merge pull request #6486 from roc-lang/remove-unused-lowlevel
...
Remove unused lowlevel StrGetCapacity
2024-02-04 13:57:46 +01:00
Folkert de Vries
4cbdf08a2d
Merge pull request #6499 from JRI98/fix_6174
...
Don't skip closure captures when fixing them
2024-02-04 13:57:18 +01:00
Anton-4
b2b55876d3
Merge pull request #6488 from roc-lang/forgot-old-interpolation-syntax
...
update to new interpolation syntax
2024-02-04 11:03:34 +01:00
JRI98
be30e470a8
Don't skip closure captures when fixing them
2024-02-03 23:19:08 +00:00
Folkert de Vries
8e3c1597c3
Merge pull request #6487 from roc-lang/gen-dev-lambda-name
...
Avoid generating actual lambda names
2024-02-03 17:26:18 +01:00
Folkert de Vries
3ede352309
Merge pull request #6493 from JRI98/fix_5513
...
Create symbols for struct fields before record update
2024-02-03 17:24:56 +01:00
Anton-4
930e298706
Merge pull request #6492 from roc-lang/basic-cli-8-1
...
update everything to basic-cli 0.8.1
2024-02-03 04:32:16 +01:00
JRI98
ad6900514b
Create symbols for struct fields before record update
2024-02-02 23:49:48 +00:00
Folkert de Vries
2347c3f667
Merge pull request #6481 from roc-lang/roc-test-inline-expect
...
make an inline expect triggered by a top-level expect work
2024-02-02 21:35:05 +01:00
Anton-4
76005451cc
update to basic-cli 0.8.1
2024-02-02 20:01:20 +01:00
Anton-4
3c7a834da1
update to new interpolation syntax
2024-02-02 13:39:10 +01:00
Brendan Hansknecht
50f220f878
Avoid generating actual lambda names
...
This is super slow. When trying to compile a "real" app like rocci-bird or the false interpreter,
the compiler will just hang in repeated calls to this function.
I am not sure if this "fix" is valid. I would assume that hashing the names should be equivalent hashing
the InLayout. The InLayout should be a unique id that maps to the layout. The layout should map to name.
So I think it should be a fix.
I haven't done intensive testing, but this is way way faster.
2024-02-01 21:35:17 -08:00
Richard Feldman
f79ff6d496
Remove unused lowlevel StrGetCapacity
2024-02-01 21:37:16 -05:00
Brendan Hansknecht
fc6b519b59
Merge pull request #6463 from roc-lang/dec-pow
...
`Num.pow` for `Dec`
2024-02-01 09:17:55 -08:00
Folkert
41ad915c35
make an inline expect triggered by a top-level expect work
2024-02-01 13:08:01 +01:00
Brendan Hansknecht
82ddfbb665
Merge pull request #6475 from roc-lang/windows-cc-return-correction
...
Correct windows return by pointer calculation
2024-01-31 12:30:18 -08:00
Brendan Hansknecht
47ba132905
Correct windows return by pointer calculation
...
I always thought this was wrong. Saw it again today and decided to look it up.
Windows will return by pointer for anything over 64bits on an x86_64 machine.
Note: this is wrong for windows aarch64, but I will correct that in a PR where I clean up targets.
https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention?view=msvc-170#return-values
https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#return-values
2024-01-30 21:37:51 -08:00
Brendan Hansknecht
a925478f8d
Correct wasm32 alignment for 128bit types
2024-01-30 16:53:42 -08:00
Brendan Hansknecht
90a1468e37
Change our alignment for 128bit numbers to match llvm 18 and correct abi
2024-01-30 16:38:30 -08:00
Brendan Hansknecht
e7be9d435d
Merge pull request #6460 from roc-lang/dec-div-floor
...
`floor`, `ceiling` and `round` for `Dec`
2024-01-30 16:38:12 -08:00
Folkert
73d4a4ee56
wasm: incorrect step used to read RocList elements
2024-01-30 18:51:14 +01:00
Folkert
8c46ab95f2
prepend used wrong layout for alignment
2024-01-30 18:51:14 +01:00
Folkert
e16b25c93e
Num.pow for Dec
2024-01-30 16:33:50 +01:00
Folkert
21b540751a
force interpolated variables to be of type string
2024-01-30 15:04:56 +01:00
Kiryl Dziamura
b3dfdb562b
crash on rem div by zero
2024-01-30 11:12:02 +01:00
Folkert
2e648cfdd5
add support in llvm/wasm backends
2024-01-29 16:16:06 +01:00
Richard Feldman
7c19b42a99
Merge pull request #6457 from roc-lang/division-by-zero
...
Division by zero
2024-01-29 08:37:31 -05:00
Folkert
db3b40a07b
Dec floor/ceiling/round
2024-01-29 13:39:38 +01:00
Folkert
a7212ceb7f
add fract/trunc functions to zig RocDec
2024-01-29 12:44:34 +01:00
Richard Feldman
2dc950924f
Merge pull request #6458 from roc-lang/list-get-repl
...
List.get with negative index in repl
2024-01-29 06:41:37 -05:00
Folkert de Vries
eadc0d37cd
Merge pull request #6448 from roc-lang/dev-backend-glue-new
...
glue with the dev backend works again
2024-01-29 11:51:12 +01:00
Anton-4
1c62a41fad
Merge pull request #6333 from roc-lang/rust-1-72-upgrade
...
Rust 1.72 upgrade
2024-01-29 04:32:40 +01:00
Folkert
979128cf32
make division by zero (integer) not trap
2024-01-29 01:38:32 +01:00
Folkert de Vries
4a593a5b77
Merge pull request #6442 from roc-lang/dev-backend-glue-primitives
...
Dev backend glue primitives
2024-01-29 00:08:51 +01:00
Folkert de Vries
c8c28140b7
Merge pull request #6449 from roc-lang/dict-mul-wrap
...
dict: use Num.mulWrap to prevent branches
2024-01-29 00:07:01 +01:00
Folkert
b0d57587e3
List.get with negative index in repl
2024-01-28 22:21:40 +01:00
Folkert
28ab81614c
fix duplicate test that trips up llvm-wasm
2024-01-28 19:22:49 +01:00
Anton-4
6338e54205
improve wording
2024-01-28 18:33:12 +01:00
Folkert
df3d04e92d
fix duplicate test that trips up llvm-wasm
2024-01-28 18:29:08 +01:00