Folkert
69b2e03a04
remove dict/set tests for now
2023-03-08 13:54:08 +01:00
Folkert
a0276f1a13
fix stack overflow in roc type traversal
2023-03-08 13:53:16 +01:00
Folkert
3b59c01724
attempt to make RocSet/RocDict FFI-safe
2023-03-06 22:12:33 +01:00
Folkert
508f078d47
standardize derive order
2023-03-06 22:12:12 +01:00
Folkert
08f6774011
remove some todo!s
2023-03-06 22:11:56 +01:00
Folkert
3455d315f3
deal with unions like Result a [] where a tag is elided
2023-03-06 21:43:17 +01:00
Folkert
53db40e2f4
dig into the lambda set to find more lambda sets
2023-03-06 20:23:48 +01:00
Folkert
0412dec4b1
fix repl problem
2023-03-05 20:58:22 +01:00
Folkert
e308078af5
fix compile error in tests
2023-03-05 18:11:30 +01:00
Folkert
fba66c03b7
temp fix to get this passing
2023-03-05 17:37:03 +01:00
Folkert
853c0387dc
cleanup
2023-03-05 17:33:48 +01:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-05 17:24:05 +01:00
Folkert
769a4c415b
update remaining cli tests
2023-03-05 16:57:51 +01:00
Folkert de Vries
f500e5dfb6
Merge pull request #5090 from joshuawarner32/add-operators
...
Produce combined tokens directly and add a few operators
2023-03-05 13:20:46 +01:00
Brendan Hansknecht
dc77916bb5
Merge pull request #5088 from roc-lang/reorg-build
...
move build_file and related functions to roc_build
2023-03-05 12:18:35 +00:00
Joshua Warner
2dfe373311
Produce combined tokens directly and add a few operators
...
This (I believe) brings us in line with the complete set of operators supported in Roc.
2023-03-04 21:42:33 -08:00
Brendan Hansknecht
9894f52afd
update missed uses of roc_cli::build
2023-03-04 10:19:26 -08:00
Brendan Hansknecht
7a944113a0
move build_file and related functions to roc_build
...
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
2023-03-04 10:00:43 -08:00
Anton-4
89350a1c56
Merge branch 'main' of github.com:roc-lang/roc into cli_run_race_condition
2023-03-04 14:12:02 +01:00
Anton-4
e5aa27d19b
add lock for breakout
2023-03-04 14:11:48 +01:00
Brendan Hansknecht
0aa932d014
fix mem leak in Str.trim and make all Str.trim* functions consistent
2023-03-02 22:18:26 -08:00
Joshua Warner
3b5f6ef828
Merge pull request #5080 from lukewilliamboswell/parser-highlight2
...
Fix bug for static-site syntax highlighting
2023-03-02 17:20:16 -08:00
Brendan Hansknecht
66a7d08363
make List.mapN properly add all decrefs
2023-03-02 07:24:49 -08:00
Richard Feldman
82663fd30d
Merge pull request #5076 from roc-lang/fix-list-range
...
Fix List.range crashing
2023-03-01 19:29:24 -05:00
Folkert
180187e5af
get old examples to work
2023-03-01 21:56:14 +01:00
Folkert
706894d37a
new names for mainforhost
2023-03-01 21:55:42 +01:00
Anton-4
cf913814cb
fmt
2023-03-01 19:57:39 +01:00
Anton-4
7b5989e4ef
Merge branch 'main' of github.com:roc-lang/roc into cli_run_race_condition
2023-03-01 19:50:52 +01:00
Luke Boswell
f51aef42bb
add support for slashes
2023-03-01 19:06:15 +11:00
Luke Boswell
c9ffedb483
add ? token
2023-03-01 18:38:16 +11:00
Luke Boswell
5f8629f64e
bug fix for highlighting
2023-03-01 18:00:30 +11:00
Brendan Hansknecht
a87aec77b4
Merge pull request #5068 from roc-lang/gen-dev-i128
...
gen-dev: num additions
2023-02-28 16:29:42 +00:00
Luke Boswell
1590b30b19
Add a lexing-based 'highlight' mode to the parser
...
basic syntax highlighting
added more syntax highlighting coverage
add example of a markdown table with styling
move FIXED_TOKEN logic into highlight
refactor highlight, add support for backpassing
escape html from source code
fix bug with <pre> tag ordering
refactor out html from roc_parse
remove test, put highlight functionality into separate file
fix typo
2023-02-28 17:03:49 +11:00
Brendan Hansknecht
865bae9468
clarify type for test
2023-02-27 18:41:31 -08:00
Brendan Hansknecht
c4d56f1dc9
update formatting
2023-02-27 16:43:35 -08:00
Brendan Hansknecht
a86c8d7994
update mono tests
2023-02-27 16:36:08 -08:00
Brendan Hansknecht
f77d1dcd6b
fix List.range so that it will only crash when Length is too large
2023-02-27 16:01:05 -08:00
Anton-4
f07c126133
lock zig platform building
2023-02-27 18:01:32 +01:00
Anton-4
4157c0e72d
patch instruction reference link
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-27 12:25:18 +01:00
Folkert
1f296a5907
fix test I broke
2023-02-26 22:32:19 +01:00
Folkert
44f08f9e47
implement sqrt and log in the dev backend
2023-02-26 21:41:25 +01:00
Folkert
6a40d75353
float comparisions
2023-02-26 18:14:11 +01:00
Folkert
f1fa014524
support 128-bit literals
2023-02-26 15:11:49 +01:00
Folkert
fa05c49693
correct the name of the size() exposed function
2023-02-26 14:23:10 +01:00
Folkert
454f3c603e
give the new exposed symbols to the surgical linker
2023-02-25 19:35:46 +01:00
Folkert
fee5e978f7
use roc_alloc to store unsized types
2023-02-25 16:45:58 +01:00
Folkert
f232bdda4f
fix some glue formatting
2023-02-25 16:32:10 +01:00
Folkert
1bf2cc3b8c
cleanup
2023-02-25 16:23:40 +01:00
Folkert
a3e759cc3c
fix generation of C signature when roc returns c_void
2023-02-25 16:05:09 +01:00
Folkert
35980e50b8
fix function getters
2023-02-25 15:47:20 +01:00