Commit Graph

27736 Commits

Author SHA1 Message Date
Anton-4
416da28e21
Merge pull request #6504 from roc-lang/web-repl-js-fix
escape bracket
2024-02-05 13:47:29 +01:00
Anton-4
fb9ffbc715
correct regex
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-05 11:56:33 +01:00
Anton-4
10514f5693
escape bracket
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-05 10:40:36 +01:00
Richard Feldman
3540c4cc91
Add Steven Chen to sponsors
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-02-04 19:37:56 -05:00
Richard Feldman
75f9f36248
Merge pull request #6501 from roc-lang/fix-regex-escaping
fix regex escape (for web repl)
2024-02-04 09:18:23 -05: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
Folkert
472dd366b7
fix regex escape (for web repl) 2024-02-04 13:55:44 +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
c2e4ad6c84
Merge pull request #6445 from ashermancinelli/header-parse-error-message
Better error message for bad packages list
2024-02-03 14:07:52 +01:00
Anton-4
f47b2eb2eb
change wording
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-03 12:05:15 +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
c72b2a597a
update str interpolation explanation
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-02 15:22:43 +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
Anton-4
98a9f52d97
Merge pull request #6392 from michaelkpfeifer/support-embedding-parts-of-files-with-static-site-gen-platform
Support embedding parts of files with the static site gen platform
2024-01-31 23:01:45 +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
Anton-4
0d26203acd
improve errors, support nested snippets 2024-01-31 18:26:21 +01:00
Anton-4
c63b6ca507
Merge pull request #6480 from roc-lang/nix-flake-docs
better nix install instructions
2024-01-31 15:24:09 +01:00
Anton-4
3b58eca7d0
Merge pull request #6479 from roc-lang/wasm-pack-install-change
Don't build wasm-pack from source
2024-01-31 15:22:56 +01:00
Anton-4
66ff807eff
better nix install instructions 2024-01-31 14:01:22 +01:00
Anton-4
bae3c07c33
Don't build wasm-pack from source 2024-01-31 13:45:21 +01:00
Brendan Hansknecht
a03a6d3bd3
Merge pull request #6477 from roc-lang/glue-with-legacy-and-surgical
Update test_glue_cli to use surgical and legacy linker
2024-01-31 02:37:30 -08:00
Brendan Hansknecht
39a90ec32d
Merge pull request #6474 from roc-lang/numeric-match-llvm-18
Change our alignment for 128bit numbers to match correct abi
2024-01-31 01:59:51 -08:00
Brendan Hansknecht
81dcaeceef
Update test_glue_cli to use surgical and legacy linker
I am hoping this will increase the changes of hitting a repro of #5924 with the legacy linker.
2024-01-30 22:30:30 -08:00
Brendan Hansknecht
795c368638
Merge pull request #6340 from roc-lang/pi-is-not-3
pi is not 3
2024-01-30 22:30:17 -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
f3b934c444
skip more broken glue tests on linux 2024-01-30 20:32:52 -08:00
Brendan Hansknecht
5dbc16e336
Merge pull request #6473 from roc-lang/remove-tutorial-feature
Remove feature that doesn't exist yet from the tutorial
2024-01-30 17:12:20 -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
Brendan Hansknecht
ea10f13837
Merge pull request #6462 from roc-lang/list-prepend-bug
List prepend bug
2024-01-30 16:38:01 -08:00
Folkert
164319a07d
pi is not 3 2024-01-30 15:51:49 -08:00
Brendan Hansknecht
d7b4f93303
Remove feature that doesn't exist yet from the tutorial 2024-01-30 15:16:59 -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
Richard Feldman
4f9d7d96e2
Merge pull request #6469 from roc-lang/str-interpolate-number
force interpolated variables to be of type string
2024-01-30 12:15:53 -05: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
Folkert de Vries
fec42d8654
Merge pull request #6461 from wontem/rem_div_by_zero
Rem div by zero
2024-01-30 14:52:35 +01:00