Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy
2023-06-02 15:23:05 -07:00
Luke Boswell
ccaf874ad0
clarify cow_str usage
2023-04-12 17:17:18 +10:00
Luke Boswell
ac07ddcbaf
add highlighting for other languages
2023-04-10 13:21:24 +10:00
Luke Boswell
0820780e73
modify inline code to use 'roc!' prefix for highlighting
2023-04-10 12:11:02 +10:00
Richard Feldman
2276c78d9f
Merge pull request #5093 from roc-lang/glue-getters-rtfeldman
...
Glue for functions and closures
2023-03-21 08:12:19 -04:00
Luke Boswell
3832228a13
update to use file: prefix
2023-03-19 14:10:22 +11:00
Luke Boswell
c7f8ba6ded
fix subfolder generation
2023-03-17 12:58:40 +11:00
Luke Boswell
03443ec328
remove file accidentally added
2023-03-17 12:33:03 +11:00
Luke Boswell
bdca47cc54
check code before opening file
2023-03-17 12:31:31 +11:00
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
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-14 01:01:26 +01:00
Luke Boswell
3ce20f74d9
support recursive folders
2023-03-13 19:18:39 +11:00
Luke Boswell
b1e73dc8ef
add highlighting to tutorial inline snippets
2023-03-10 13:07:50 +11:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-08 19:46:00 +01:00
Anton-4
5bc4881c05
Merge remote-tracking branch 'upstream/main' into docs-highlight
2023-03-08 14:35:55 +01: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
Folkert
8546f2c52b
fix some clippy warnings in platforms
2023-03-06 21:18:30 +01:00
Luke Boswell
5e40e580cb
update docs syntax highlighting, remove unsused code
2023-03-06 22:20:49 +11:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-05 17:24:05 +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
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
Richard Feldman
4dfbb689e2
Fix smart quotes in tutorial
2023-01-25 14:55:18 -05:00
Luke Boswell
1643624911
added tutorial generated from static-site platform
2022-12-15 18:10:14 +11:00
Richard Feldman
5958f50728
Drop obsolete mentions of roc_send_signal
2022-12-08 06:36:12 -05:00
Anton-4
e9d8d13b02
windows fixes, error improvements
2022-11-16 13:55:58 +01:00
Folkert
d9d88328d3
update rust platform build.rs
2022-11-06 16:34:15 +01:00
Richard Feldman
e6fd0c62fd
Do an explicit cast that doesn't make sense
...
I don't know why this is what the compiler wants,
given that the docs say it shouldn't need a cast,
but this is for some reason what the compiler wants.
2022-10-16 18:43:03 -04:00
Folkert
f562d61505
int cast on macos
2022-10-16 18:32:55 +02:00
Folkert
323210c547
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-10-16 13:56:30 +02:00
Anton-4
0d58a7cf8a
example.org is better
2022-10-15 14:28:56 +02:00
Anton-4
eb727bd8b0
fixed links, minimal exceptions
...
Replaced lorem ipsum links with links to roc-lang. All exceptions added are due to problems with those sites and their interaction with programs like curl
2022-10-15 14:25:03 +02:00
Anton-4
f7dd5ca708
replace random links with roc-lang.org
...
random links are generated by the lorem ipsum generator, we don't want to allow a bunch of random links in the repo for security purposes.
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-15 12:21:59 +02:00
Folkert
19ea3489cb
provide more libc functions for the expect implementation
2022-10-12 20:59:18 +02:00
Richard Feldman
b6157e76b8
Fix type mismatch in exit code
2022-09-19 21:12:48 -04:00
Brian Carroll
c1709ea0d2
static-site-gen: print message before writing file
2022-09-12 08:31:46 +01:00
Brian Carroll
1a5395d196
static-site-gen: check output dir exists, to kill a Heisenbug on CI
2022-09-10 23:49:54 +01:00
Brian Carroll
cf6a62b7ad
static-site-gen: Use Box to workaround app/host ABI issues
2022-09-07 23:36:43 +01:00
Brian Carroll
6fe9466b0d
static-site-gen: add some CSS
2022-09-05 21:13:37 +01:00
Brian Carroll
c21a6cb67c
static-site-gen: New example using lorem ipsum content
2022-09-05 20:46:53 +01:00
Brian Carroll
aeac8035c1
Delete example (open license is for markdown not for the site)
2022-09-05 18:43:32 +01:00
Brian Carroll
be245a8ede
static-site-gen: fix typos
2022-09-04 19:10:25 +01:00
Brian Carroll
fe8ea970e8
static-site-gen: report successes & errors, and update roc_cli test
2022-09-04 16:53:01 +01:00
Brian Carroll
ce357db270
static-site-gen: make the nav links nicer
2022-09-04 16:43:44 +01:00
Brian Carroll
bbb36cae17
static-site-gen: move assets to output folder
2022-09-04 16:43:05 +01:00