Commit Graph

1551 Commits

Author SHA1 Message Date
Richard Feldman
6845dae2b2
Handle seamless slices when decrementing RocStr 2023-03-18 15:14:24 -04:00
Richard Feldman
f862540c65
Account for seamless slices in C roc_str_len 2023-03-18 12:45:07 -04:00
Richard Feldman
75ca8816c3
Refactor out some C helper functions 2023-03-18 10:02:47 -04:00
Richard Feldman
05f63573c2
Make some files POSIX compliant (end in newline) 2023-03-17 21:55:21 -04:00
Richard Feldman
6f8cfc6229
Free Roc heap allocations in ts interop example 2023-03-17 21:49:21 -04:00
Richard Feldman
da503a725b
Fix empty list bug in several interop examples 2023-03-17 21:42:36 -04:00
Richard Feldman
51265f16d1
Drop obsolete host.c from ts-interop 2023-03-17 21:28:41 -04:00
Richard Feldman
ea0adb211e
Fix TS interop readme typos 2023-03-17 21:26:08 -04:00
Richard Feldman
29caaf9d61
Use code formatting on gcc 2023-03-17 21:25:16 -04:00
Richard Feldman
71331cc945
Move some .gitignore entries to the root 2023-03-17 21:24:37 -04:00
Richard Feldman
2347565bf0
Drop some debugging code 2023-03-16 19:22:44 -04:00
Richard Feldman
15e0f416d0
Call Roc from Node 2023-03-16 10:29:01 -04:00
Richard Feldman
f80e839061
Split out node and wasm in typescript-interop 2023-03-16 08:51:06 -04:00
Richard Feldman
ca900550a2
Add roc code to ts-interop example 2023-03-16 08:31:26 -04:00
Richard Feldman
7ce4d3b22f
Add examples/typescript-interop 2023-03-16 08:20:23 -04:00
Luke Boswell
3ce20f74d9
support recursive folders 2023-03-13 19:18:39 +11:00
Richard Feldman
512b9361bf
Merge pull request #5077 from lukewilliamboswell/builtin-json
JSON decoder improvements
2023-03-11 15:28:07 -05:00
Luke Boswell
b1e73dc8ef
add highlighting to tutorial inline snippets 2023-03-10 13:07:50 +11:00
Anton-4
5bc4881c05
Merge remote-tracking branch 'upstream/main' into docs-highlight 2023-03-08 14:35:55 +01:00
Luke Boswell
db37520a4f
Merge remote-tracking branch 'remote/main' into builtin-json 2023-03-07 17:12:47 +11:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Luke Boswell
5e40e580cb
update docs syntax highlighting, remove unsused code 2023-03-06 22:20:49 +11:00
Luke Boswell
64a614396a
fix for ruby-interop example 2023-03-06 17:37:12 +11: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
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
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
093f8e297d
add qmark to static-site 2023-03-01 18:40:29 +11:00
Luke Boswell
0c7bb163d5
also separate out tokens for css styling 2023-03-01 18:17:52 +11: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
Anton-4
f07c126133
lock zig platform building 2023-02-27 18:01:32 +01:00
Anton-4
20ba7494fa
removed unused files 2023-02-27 17:21:40 +01:00
Anton-4
091e043168
removed rodio and deps 2023-02-21 15:38:11 +01:00
dankeyy
8fec0ff7e9
Update README.md
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-02-17 01:19:10 +02:00
dankeyy
a871ec5d4a
json loads, remove quotes 2023-02-16 17:39:10 +02:00
dankeyy
fa59c5f19f
Update README.md
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-02-16 15:21:17 +02:00
dankeyy
6bd23b4dbf
cleanup and clarify build 2023-02-16 15:16:13 +02:00
dankeyy
e76efb49a2
end by length, not null byte 2023-02-16 14:28:51 +02:00
dankeyy
54fc0f7fb1
added readme 2023-02-16 13:48:31 +02:00
dankeyy
34c0cf1ed6
another option for string creation 2023-02-16 13:14:54 +02:00
dankeyy
69ff8b93c2
added build script 2023-02-16 11:44:42 +02:00
dankeyy
ecb8cac774
change to setuptools, remove unneeded fields 2023-02-16 11:41:42 +02:00
dankeyy
b18ea846a3
add gitignore 2023-02-16 11:40:32 +02:00
dankeyy
a080fcae27
first demo working! 2023-02-16 10:19:11 +02:00
Anton-4
951f01eee0
better name, extra test 2023-01-30 15:54:16 +01:00
Christopher Bertels
c66bcff0a3
Use hello as app name for hello.roc example
This is to prevent a name collision with breakout.roc example located
in the same directory.
2023-01-30 14:14:48 +01:00
Brian Carroll
6fba267df1
Fix JSON encoding bug 2023-01-27 23:44:30 +00:00
Ayaz Hafiz
735d7cb4df
Address more U32 usages in place of U64 on client side 2023-01-27 17:37:12 -06:00