Commit Graph

1541 Commits

Author SHA1 Message Date
Luke Boswell
239f79d26f
roc format 2023-03-15 21:17:54 +11:00
Luke Boswell
bea3a4f2f7
add static code file import for site gen 2023-03-15 20:59:58 +11:00
Brendan Hansknecht
dc1a7dcd12
try using roc_alloc and roc_dealloc (aka malloc and free) for buffers in false 2023-03-13 14:53:20 -07:00
Brendan Hansknecht
d88894c365
avoid zero sized allocation in false 2023-03-13 14:08:24 -07:00
Brendan Hansknecht
e32c5f6514
standardize on decref instead of deinit for name 2023-03-13 14:08:23 -07: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
Ayaz Hafiz
f83ebb7bc7
Use U32 as array index 2023-01-27 17:36:32 -06:00
Ayaz Hafiz
add50f04e4
Update other Nat usages in virtual dom 2023-01-27 17:31:49 -06:00
Ayaz Hafiz
b86e4763f0
Update use of Nat encoding in virtual dom 2023-01-27 17:24:24 -06:00
Brian Carroll
dd97993219
formatting 2023-01-26 20:45:30 +00:00
Brian Carroll
8effab418d
Fix a bug in digit parser 2023-01-26 20:45:30 +00:00
Brian Carroll
550675af08
parser: remove unused import 2023-01-26 20:45:30 +00:00
Brian Carroll
19db1f6214
Parse numbers instead of strings: crash in Parser.digits 2023-01-26 20:45:30 +00:00
Richard Feldman
4dfbb689e2
Fix smart quotes in tutorial 2023-01-25 14:55:18 -05:00
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-23 18:27:33 +01:00
Anton-4
ff30dfaf9c
use basic-cli 0.2.0 2023-01-21 19:06:06 +01:00