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
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
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
a8cd357b77
static-site-gen: add a Rust Markdown parser
2022-09-04 16:41:40 +01:00
Brian Carroll
bbc8c36d30
static-site-gen: get rid of Result
2022-09-04 16:41:24 +01:00
Brian Carroll
65a18591e5
static-site-gen: treat all input files as Str rather than List U8
...
This is just a lot more convenient and in practice isn't really a limitation
2022-09-04 16:41:14 +01:00
Brian Carroll
9e96241e3e
get static-site-gen working with surgical linker
2022-08-31 09:00:45 +01:00
Brian Carroll
0759b646e6
examples: fix static-site-gen when output dir doesn't exist yet
2022-08-31 09:00:24 +01:00
Brian Carroll
63bc153025
Fix build errors
2022-08-29 23:23:38 +01:00
Brian Carroll
5d6037d888
cli_run: add test for static-site-gen example and print more to stdout
2022-08-29 22:05:35 +01:00
Brian Carroll
f2ddaa95db
Account for a compiler bug and tweak platform a bit
2022-08-28 23:29:38 +01:00
Brian Carroll
7d6f0b3806
examples: first draft of static site generator example
2022-08-28 14:33:03 +01:00
Brian Carroll
c1a38bc400
examples: move Html Roc files into platform dir
2022-08-28 14:26:00 +01:00