Commit Graph

1692 Commits

Author SHA1 Message Date
dankeyy
eb4dfbca5a
fixing embarrassing typos 2023-03-21 00:32:05 +02:00
dankeyy
2f6d82ad01
macos comments and typo cleanups 2023-03-21 00:12:56 +02:00
dankeyy
8fa421f35a
fix roc_panic to accept RocStr 2023-03-20 23:39:48 +02:00
dankeyy
8c468b15ce
rename RocList and make 0-len RocStr a small str 2023-03-20 23:31:03 +02:00
Anton-4
53c55d112d
forgot old basic-cli release 2023-03-20 20:16:49 +01:00
Anton-4
8da9af94f2
use latest basic-cli, better error messages 2023-03-20 20:06:36 +01:00
Anton-4
6e0dc30797
fixes, build tar.br now 2023-03-20 16:32:54 +01:00
Anton-4
f619a35c7c
.rh and .rm adjustments, basic-cli nightly prep 2023-03-20 12:24:30 +01:00
Anton-4
3eda00cb62
Merge pull request #5144 from lukewilliamboswell/static-site
Add code file import feature for `static-site-gen` platform
2023-03-20 11:16:57 +01:00
dankeyy
cc8531048a
some refcount fixes 2023-03-19 22:37:30 +02:00
dankeyy
1db7f3408b
improve refcounts handling 2023-03-19 22:20:31 +02:00
Richard Feldman
00f1ca14c8
Merge pull request #5146 from roc-lang/ts-interop
TypeScript interop example
2023-03-19 11:35:19 -04:00
Richard Feldman
e8af38893b
Set refcount in init_rocbytes 2023-03-19 09:48:31 -04:00
Richard Feldman
8b65402e6c
Drop unused import 2023-03-19 09:26:45 -04:00
dankeyy
cc51b6edbb
fix memcpy amount 2023-03-19 11:01:17 +02:00
Luke Boswell
3832228a13
update to use file: prefix 2023-03-19 14:10:22 +11:00
dankeyy
5038d36f5e
fix mem bug on mularr array copy 2023-03-19 00:55:04 +02:00
Richard Feldman
dfcf086910
Rename decref_list 2023-03-18 18:36:30 -04:00
dankeyy
c6476ee440
Update README.md
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-03-19 00:13:10 +02:00
dankeyy
ff154a2f42
show more examples in readme 2023-03-19 00:04:58 +02:00
dankeyy
773b5be769
stabilize roc_panic 2023-03-18 23:39:12 +02:00
dankeyy
a750084580
dont need these bytes 2023-03-18 23:37:18 +02:00
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
dankeyy
fc52e18531
testing java exceptions 2023-03-18 15:23:40 +02: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
dankeyy
6724475724
fix factorial segfault 2023-03-17 21:36:02 +02:00
dankeyy
4ed6609974
mistyped fac, unstable recursive call still 2023-03-17 20:39:17 +02:00
dankeyy
94f9c6712d
stabilize record usage in requires, add examples 2023-03-17 19:40:42 +02:00
Anton-4
1061b7e8c0
Merge branch 'main' of github.com:roc-lang/roc into glue-getters-rtfeldman 2023-03-17 12:02:35 +01:00
Folkert de Vries
bd3982241e
Merge pull request #5036 from roc-lang/tutorial_updates
tutorial: update to basic-cli 0.2.1, fix typos
2023-03-17 11:46:36 +01: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
Richard Feldman
2347565bf0
Drop some debugging code 2023-03-16 19:22:44 -04:00
dankeyy
8e40725d25
fix comments 2023-03-16 22:28:44 +02:00
dankeyy
35560efc0a
reorganize, simplify build, multiple methods WIP 2023-03-16 22:24:29 +02: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
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
dankeyy
1dd46c985f
pass number straight away + renames for clarity 2023-03-14 15:56:08 +02:00
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-14 01:01:26 +01:00
Folkert
af67894b95
more formatting 2023-03-13 23:29:28 +01:00
Folkert
741abe9a6d
format roc code 2023-03-13 23:06:40 +01: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
Anton-4
fe066e5567
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates 2023-03-13 19:46:05 +01:00
Luke Boswell
3ce20f74d9
support recursive folders 2023-03-13 19:18:39 +11:00
dankeyy
d91a90774b
dont decref too early 2023-03-12 01:02:58 +02:00
dankeyy
1866b8845a
bad formatting 2023-03-11 23:33:20 +02:00
dankeyy
5d13288487
add clojure example 2023-03-11 23:27:44 +02:00
dankeyy
a59d65ff86
add panic comment 2023-03-11 23:22:39 +02:00
Richard Feldman
512b9361bf
Merge pull request #5077 from lukewilliamboswell/builtin-json
JSON decoder improvements
2023-03-11 15:28:07 -05:00
dankeyy
ffa26e0243
Update README.md
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-03-11 22:20:37 +02:00
dankeyy
54d552489e
treemoji doesn't show up on browser
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-03-11 21:51:12 +02:00
dankeyy
699f419d6d
this made the jvm segfault on a second call :p 2023-03-11 21:43:29 +02:00
dankeyy
8d501ab773
Update README.md
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-03-11 21:33:38 +02:00
dankeyy
9eb5206bc9
added readme + renames 2023-03-11 21:29:41 +02:00
dankeyy
15252b4f8d
make it static 2023-03-11 21:29:41 +02:00
dankeyy
31195b405c
turn java code into a package 2023-03-11 21:29:40 +02:00
dankeyy
3991c334f7
remove json dep 2023-03-11 21:29:40 +02:00
dankeyy
f9974f1d32
yeet json 2023-03-11 21:29:40 +02:00
dankeyy
2d004dc57b
fixed emojis 2023-03-11 21:29:40 +02:00
dankeyy
59f815e0d3
Merge branch 'roc-lang:main' into jvm-interop 2023-03-11 12:54:22 +02: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
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
Folkert
8546f2c52b
fix some clippy warnings in platforms 2023-03-06 21:18:30 +01:00
Folkert
86671d659c
work around allocation of size 0 2023-03-06 21:12:04 +01: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
Folkert
bedca00850
clippy in platform 2023-03-05 21:35:49 +01:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-05 17:24:05 +01:00
Folkert
769a4c415b
update remaining cli tests 2023-03-05 16:57:51 +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
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
Folkert
bfbf1c7d4e
revert rocLovesRust to main 2023-03-01 21:57:10 +01:00
Folkert
4a9990de62
new glue example 2023-03-01 21:56:25 +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