Commit graph

1527 commits

Author SHA1 Message Date
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
Richard Feldman
6bdd51502d
Merge pull request #4936 from roc-lang/dependabot/cargo/examples/gui/platform/bumpalo-3.12.0
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/platform
2023-01-21 10:58:44 -05:00
dependabot[bot]
f93e03f4e3
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:05:33 +00:00
dependabot[bot]
de34176e63
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/breakout/platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:05:33 +00:00
Folkert de Vries
541c66be7f
Merge pull request #4934 from roc-lang/dependabot/cargo/examples/cli/cli-platform/bumpalo-3.12.0
Bump bumpalo from 3.11.0 to 3.12.0 in /examples/cli/cli-platform
2023-01-21 16:04:18 +01:00
dependabot[bot]
c5c3dbeb31
Bump bumpalo from 3.11.0 to 3.12.0 in /examples/cli/cli-platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 22:23:22 +00:00
Anton-4
978bb71316
use patched basic-cli release
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-20 16:09:49 +01:00
Anton-4
ee45107900
roc fmt 2023-01-20 14:52:25 +01:00
Anton-4
e8ac49ce11
try basic-cli 0.1.4
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-20 14:16:14 +01:00
Anton-4
97cafd44cd
use basic-cli 1.3
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-18 15:27:18 +01:00
Luke Boswell
d14d410153
added basic parsing example to ci 2023-01-18 13:49:38 +01:00
Luke Boswell
6790848be5
remove redundant zig platform, fix tests 2023-01-18 12:52:19 +01:00
Anton-4
bbf35af8fa
Merge branch 'main' into rust1_65
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-17 18:14:30 +01:00
Anton-4
a97c53d7ca
1.65 changes and clippy fixes 2023-01-17 18:09:16 +01:00
Luke Boswell
048720b34f
WIP parser packaging 2023-01-16 19:06:48 +01:00