Commit graph

23468 commits

Author SHA1 Message Date
Brendan Hansknecht
48ce687aa6
add derive copy and cleanup naming 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
fb657f101d
add file header 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
c0d31e3591
add struct generation 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
428eccf1a7
setup rust-glue to use dictionaries 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
155b53df8d
cleanup and correct types 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
e6abd24945
add #[used] static variables to ensure that rust emits the roc_* functions 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
f18a806bda
wire everything up 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
e45c17f81d
remove unneeded explicit platform for glue 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
0ec14f33f5
first signs of life for glue with roc files 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
b97a87a7a7
load dylib directly as spec for now 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
f9f77a5a54
create a proper platform for roc glue 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
b792071971
add dummy glue implementation in roc 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
abdc84d927
create conversion code from Types to the roc version of Types 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
8d8150e748
switch to associated lists since roc_std::roc_dict has not been updated yet 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
f956be26c1
update roc types for glue 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
09a3b2425f
update glue cli tests to generate directories 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
69bd296099
switch tests to use list of files 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
2f9e1ad539
change glue api to enable writing multiple files 2023-03-05 12:33:41 -08:00
Folkert de Vries
424931459d
Merge pull request #5091 from lukewilliamboswell/add-operators
Fix for static-site for highlight token changes.
2023-03-05 19:01:31 +01:00
Luke Boswell
fbc1c7af2a
support more Tokens including Idents 2023-03-05 13:23:56 +01:00
Luke Boswell
1b676ca140
fix static site 2023-03-05 13:23:56 +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
1186dfb9ed
Merge pull request #5074 from roc-lang/cli_run_race_condition
lock zig platform building
2023-03-04 16:39:42 +01: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
Anton-4
167f5771de
Merge pull request #5087 from roc-lang/str-trim
[Simple PR] fix mem leak in Str.trim and make all Str.trim* functions consistent
2023-03-04 12:28:01 +01:00
Anton-4
0ba7b8b2fb
Merge pull request #5056 from lukewilliamboswell/tutorial-syntax
Convert Tutorial to use markdown fenced Roc code
2023-03-03 16:04:15 +01:00
Anton-4
20953717c5
Merge remote-tracking branch 'upstream/main' into tutorial-syntax 2023-03-03 13:44:08 +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
266e592ae2
Merge pull request #5085 from roc-lang/fix-list-mapN-memory-leak
Make List.mapN properly add all decrefs
2023-03-02 20:28:52 +00: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
Anton-4
cf913814cb
fmt 2023-03-01 19:57:39 +01:00
Anton-4
7bf3b4a84b
Merge remote-tracking branch 'upstream/main' into parser-highlight2 2023-03-01 19:55:26 +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
Anton-4
953a762e24
Merge pull request #5081 from roc-lang/fix_cachix
remove cachix
2023-03-01 19:33:17 +01:00
Anton-4
ccbe92110e
remove cachix
It was erroring and I think it may not actually speed thigns up, so I'm trying out removing it.
2023-03-01 13:00:54 +01:00
Luke Boswell
4e63ac597a
add tutorial.roc back 2023-03-01 20:14:01 +11:00
Luke Boswell
31e78062d6
convert tutorial html to markdown part 5 2023-03-01 20:10:20 +11:00
Luke Boswell
a50b9f3ef0
convert tutorial html to markdown part 4 2023-03-01 19:11:24 +11:00
Luke Boswell
f51aef42bb
add support for slashes 2023-03-01 19:06:15 +11:00
Luke Boswell
fb241fdaf7
convert tutorial html to markdown part 3 2023-03-01 19:01:00 +11:00
Luke Boswell
093f8e297d
add qmark to static-site 2023-03-01 18:40:29 +11:00
Luke Boswell
c9ffedb483
add ? token 2023-03-01 18:38:16 +11:00
Luke Boswell
0c7bb163d5
also separate out tokens for css styling 2023-03-01 18:17:52 +11:00