Commit graph

133 commits

Author SHA1 Message Date
Joshua Warner
df915b936d
Feedback: add doc comments, verbiage changes, capitalize Roc, remove a resolved TODO 2024-07-28 14:45:32 -07:00
Andy Ferris
664b1754d0
Print special float values as Num.nanF64, etc 2024-05-31 17:34:43 +10:00
Richard Feldman
e4bc7147c9
Add test to reproduce Ok and Err alias failure 2024-04-25 20:07:40 -04:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Anton-4
b5f68bc020
Merge pull request #6525 from roc-lang/fix_text_contrast
less colors and more contrast in terminal
2024-02-20 15:46:13 +01:00
Anton-4
aeb644cc50
regex to strip html colors 2024-02-16 19:20:20 +01:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat 2024-02-11 12:26:36 -05:00
Anton-4
3c7a834da1
update to new interpolation syntax 2024-02-02 13:39:10 +01:00
Richard Feldman
aabd95404f
Merge remote-tracking branch 'origin/main' into remove-nat 2024-01-30 21:42:45 -05:00
Folkert
21b540751a
force interpolated variables to be of type string 2024-01-30 15:04:56 +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
Richard Feldman
3e27e18566
Merge remote-tracking branch 'origin/main' into remove-nat 2024-01-29 07:23:58 -05:00
Richard Feldman
cc7b9def5e
Update some string interpolation tests 2024-01-29 06:44:41 -05:00
Folkert
0b0127f45e
format infinite float as the ∞ utf8 symbol 2024-01-29 01:37:46 +01:00
Folkert
b0d57587e3
List.get with negative index in repl 2024-01-28 22:21:40 +01:00
Richard Feldman
b48fa0698a
Remove scalars and graphemes from Str 2024-01-17 21:30:34 -05:00
Anton-4
1126f85b5a
fix clippy unnecessary hashes 2024-01-01 16:38:36 +01:00
jecaro
c858031f74
Show the right fct name in type error messages 2023-11-16 16:44:55 +01:00
Richard Feldman
b2f3163be8
Fix some repl tests 2023-09-18 16:09:17 -05:00
Richard Feldman
66a0958a06
Fix repl test 2023-09-18 15:26:26 -05:00
Richard Feldman
1f396871f9
Simplify repl tips 2023-09-18 15:26:09 -05:00
Richard Feldman
e6b9446755
Move WELCOME_MESSAGE to be cli-specific 2023-09-18 15:26:09 -05:00
Anton-4
8194930dfb
Merge pull request #5819 from roc-lang/repl-changes
Remove the whole #val1 thing from repl
2023-09-18 19:45:47 +02:00
Sekerez
b52ba99701 Add tests 2023-09-17 15:59:43 -04:00
Richard Feldman
074401fbdf
Remove the whole #var1 thing 2023-09-17 06:31:51 -04:00
Folkert
5e4f43e1d8
checkpoint 2023-09-14 14:43:24 +02:00
Richard Feldman
dc7e8b43bd
Rename Float to Frac in more places 2023-09-11 08:50:13 -04:00
Brian Carroll
a99f9fee14
Fix wasm REPL tests 2023-09-10 08:39:10 +01:00
Brian Carroll
e37d0c45c6
Fix types in web REPL tests 2023-09-09 17:19:40 +01:00
Brian Carroll
6a47a99114
formatting & clippy 2023-09-09 16:13:17 +01:00
Brian Carroll
3923dad203
Remove duplicated code from roc_repl_cli and get tests compiling 2023-09-09 13:01:31 +01:00
Brian Carroll
8f59ee9492
Create a new crate roc_repl_ui for shared CLI/web UI code 2023-09-09 11:55:55 +01:00
Richard Feldman
d39aa74006
Skip nested string interpolation test on wasm 2023-07-29 22:49:07 -04:00
Richard Feldman
1981135238
Revert "Fix nested string interpolation test"
This reverts commit a93e0b44fd.
2023-07-29 22:48:13 -04:00
Richard Feldman
a93e0b44fd
Fix nested string interpolation test 2023-07-29 22:23:31 -04:00
Richard Feldman
7d491f1bce
Add a clarifying comment in a test 2023-07-29 21:14:20 -04:00
Richard Feldman
071138dd9f
Revise nested interpolation error message 2023-07-29 21:13:05 -04:00
Richard Feldman
1ffadb7102
Update string interpolation tests 2023-07-29 18:20:49 -04:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Ayaz Hafiz
dca1a0d1da
Fix test 2023-06-19 21:11:24 -05:00
Ayaz Hafiz
8e06b16530
Fix test 2023-06-19 21:11:24 -05:00
Ayaz Hafiz
ca57cce93c
Correctly interpret reordered tag union payloads
Closes #5517
2023-06-19 21:11:23 -05:00
Ayaz Hafiz
759a9976b6
Fix repl evaluation of tuples
Closes #5325
2023-05-01 16:38:50 -05:00
Ayaz
6d8ddcc583
Merge branch 'main' into i5169
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2023-03-22 09:02:03 -04:00
Ayaz Hafiz
4c2f8f3566
Support tuples in the repl
Closes #5148
2023-03-21 13:53:07 -04:00
Ayaz Hafiz
6ea6aef0db
Fix repl eval of Str.toDec
Closes #5169
2023-03-21 12:22:08 -04:00
Brendan Hansknecht
0f0213b75e
build wasm tests with lto to avoid needing more wasm interp 2023-03-12 00:18:53 -08:00
Richard Feldman
47dd461a4a
Merge pull request #5048 from Arkham/improve-same-name-grammar
Use 'by accident' instead of 'on accident'
2023-03-08 11:26:48 -05:00
Brendan Hansknecht
75e996c445
remove unused dependencies and ignore false positives 2023-03-06 20:09:01 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00