Commit Graph

1560 Commits

Author SHA1 Message Date
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
Folkert
1ba4d9d735
WIP 2023-01-22 11:53:02 +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
Folkert
c622cebea6
correct codegen for calling the extern 2023-01-20 15:07: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
Folkert
01b6d234ff
WIP 2023-01-18 23:18:09 +01:00
Folkert
bb44063419
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-01-18 20:06:26 +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
Folkert
c4e6dcff22
optimize Parser.Core
shaves 1 second off of the HTTP parser tests
2023-01-15 17:23:45 +01:00
Folkert de Vries
43a8d1e610
Merge pull request #4885 from roc-lang/weakening-4
Weakening 4
2023-01-14 17:23:40 +01:00
Ayaz Hafiz
3d0a0a4a99
Update more dict/set references 2023-01-14 15:33:54 +01:00
Folkert
2c9e2524c1
Revert "reproduce crash in expect with Lists of different length"
This reverts commit 12350410df.

issue has been resolved by intervening commits
2023-01-14 15:10:30 +01:00
Folkert
148ec3752d
fix bug with record field ordering in repl eval 2023-01-14 15:09:12 +01:00
Brian Carroll
12350410df
reproduce crash in expect with Lists of different length 2023-01-14 08:50:50 +00:00
Folkert
ee99ae2372
WIP 2023-01-13 20:42:23 +01:00
Folkert
6ead631c82
generate the RocFunction struct 2023-01-11 23:05:32 +01:00
Anton-4
05b6056d37
update README 2023-01-11 16:52:58 +01:00
Brian Carroll
f106eb8c9d
examples/parser: rename apply->keep 2023-01-10 23:02:41 +00:00
Folkert de Vries
a659b6b560
Merge pull request #4858 from roc-lang/parse-http
Example parser for HTTP messages
2023-01-10 19:03:56 +01:00
Folkert
98ba49baf6
WIP 2023-01-08 14:49:13 +01:00
dependabot[bot]
e160d192ed
Bump tokio from 1.21.2 to 1.24.1 in /examples/cli/cli-platform
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.24.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 21:49:32 +00:00
Brian Carroll
2dce9f44b7
parser: HTTP reponse 2023-01-06 21:00:24 +00:00
Brian Carroll
b4776ad76f
parser: delete requestStartLine 2023-01-06 20:30:42 +00:00
Brian Carroll
fa54a082d3
parser: Http headers and body 2023-01-06 20:29:46 +00:00
Brian Carroll
3fc40362a3
create 'skip' parser combinator 2023-01-05 23:05:49 +00:00
Brian Carroll
a368388b20
parse HTTP request start line 2023-01-05 23:04:40 +00:00
Brian Carroll
0e27e62a3e
virtual-dom: use crash instead of defaulting to RenderedNone 2023-01-05 21:51:48 +00:00
Folkert
1c1112ec35
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-01-04 20:45:01 +01:00
Brian Carroll
95c2c89751
virtual-dom: get rid of workarounds in tests 2022-12-30 17:23:52 +00:00
Brian Carroll
32714b980b
virtual-dom: child node diffing 2022-12-30 15:33:53 +00:00
Brian Carroll
510b01e371
virtual-dom: attribute diffing 2022-12-30 15:33:53 +00:00
Brian Carroll
7202af45ef
virtual-dom: Delete event listeners while deleting the associated node 2022-12-30 15:33:53 +00:00
Brian Carroll
80f799cf70
virtual-dom: test for diff function 2022-12-30 15:33:53 +00:00
Ayaz
f7bdc59ac0
Merge pull request #4815 from roc-lang/improve_getting_started
helloWolrd use url platform, improve getting started
2022-12-27 10:02:44 -06:00
Anton-4
33af6264d6
add helloWorldNoURL 2022-12-27 15:03:31 +01:00
Anton-4
edd97f5405
helloWolrd url platform, improve getting started 2022-12-27 13:46:48 +01:00
Brian Carroll
f2d6def117
virtual-dom: clarify Size meaning in type and test 2022-12-26 17:16:44 +00:00
Brian Carroll
65bac935fb
virtual-dom: Add some tests for Client 2022-12-26 15:05:37 +00:00
Brian Carroll
d386d68196
virtual-dom: fix PlatformState import 2022-12-26 15:00:27 +00:00
Brian Carroll
c2f4306af6
Merge branch 'main' of github.com:roc-lang/roc into virtual-dom-patches 2022-12-26 09:20:54 +00:00
Brian Carroll
dec7229558
roc format 2022-12-25 20:11:43 +00:00
Brian Carroll
b968d21119
virtual-dom: render attributes 2022-12-25 18:14:28 +00:00
Brian Carroll
db393c7755
virtual-dom: implement dispatchEvent 2022-12-25 13:30:33 +00:00
Brian Carroll
1462436c94
virtual-dom: Fix imports. Everything type checks except client side main 2022-12-25 13:08:07 +00:00
Brian Carroll
018942308b
virtual-dom: split Internal into Shared,Client,Server, and implement Patches 2022-12-25 11:01:10 +00:00
Anton-4
1d44bd4a50
Merge branch 'main' of github.com:lukewilliamboswell/roc into tutorial 2022-12-23 14:40:51 +01:00
Brian Carroll
43c02d435d
virtual-dom: rename JsIndex -> NodeId 2022-12-21 20:53:22 +00:00
Brian Carroll
f8a22ace5c
virtual-dom: rename view to nodes 2022-12-21 20:42:50 +00:00
Brian Carroll
444d5fe774
virtual-dom: replaceNode Effect 2022-12-21 20:24:35 +00:00
Brian Carroll
823aaa2c52
virtual-dom: create a Patch tag union 2022-12-21 20:24:34 +00:00
Brian Carroll
2e11cf3903
virtual-dom: fix compile errors 2022-12-19 23:01:46 +00:00
Brian Carroll
20f4e77d5d
virtual-dom: client and server Roc files with shared interface 2022-12-19 23:01:42 +00:00
Brian Carroll
e963f1f37e
virtual-dom: write the client-side host and interface to it 2022-12-19 22:36:32 +00:00
Brian Carroll
01a8b32c83
virtual-dom: embed host.js as bytes in host.zig 2022-12-19 22:35:22 +00:00
Brian Carroll
d0dced045c
virtual-dom: Changes to JS init logic 2022-12-19 22:35:22 +00:00
Brian Carroll
1ce991a25b
roc format 2022-12-18 17:51:45 +00:00
Brian Carroll
34f6becaa2
virtual-dom: use a free list for handlers 2022-12-18 17:12:37 +00:00
Brian Carroll
b7802ec6ac
virtual-dom: remove a TODO about a compiler bug that has been fixed 2022-12-18 17:12:37 +00:00
Brian Carroll
4a4150125e
virtual-dom: separate type for RenderedHtml 2022-12-18 17:12:37 +00:00
Brian Carroll
f8fd3d0f49
virtual-dom: remove props by setting to '' or null depending on current type 2022-12-18 16:58:36 +00:00
Brian Carroll
2e7bfe6ebe
virtual-dom: update HostJavaScript.roc from host.js 2022-12-18 16:56:59 +00:00
Brian Carroll
f7759bb3fb
virtual-dom: update readme 2022-12-18 09:56:55 +00:00
Brian Carroll
370d363351
virtual-dom: rename server-side-rendering -> virtual-dom-wip 2022-12-18 09:48:15 +00:00
Brian Carroll
ec3a9bc496
virtual-dom: Delete FIXME about record types. Doesn't seem to be true any more 2022-12-18 09:39:57 +00:00
Brian Carroll
ff0edc8d27
virtual-dom: renderFromScratch now compiles! 2022-12-18 09:20:17 +00:00
Brian Carroll
156ad685ac
Merge branch 'main' of github.com:roc-lang/roc into virtual-dom 2022-12-18 07:47:15 +00:00
Luke Boswell
1643624911
added tutorial generated from static-site platform 2022-12-15 18:10:14 +11:00
Anton-4
77e06eca2a
Merge pull request #4744 from roc-lang/rust-example-toolchain
added rust toolchain file to example to prevent people trying to use the wrong version
2022-12-13 10:52:36 +01:00
Anton-4
a5678f8906
added toolchain file to example 2022-12-12 19:57:56 +01:00
Nathan Freestone
04c9454c20
changed expected output for tests to reflect new behavior 2022-12-11 18:39:14 -07:00
Folkert de Vries
234f9f54cd
Merge pull request #4714 from roc-lang/expect-dbg-atomics
use atomics for expect/dbg
2022-12-09 09:21:13 +01:00
Richard Feldman
5958f50728
Drop obsolete mentions of roc_send_signal 2022-12-08 06:36:12 -05:00
Brendan Hansknecht
46546f5a1e
fix other formatting 2022-12-04 18:39:58 -08:00
Brendan Hansknecht
a5efc1f179
switch to more expressive list.range 2022-12-04 16:04:17 -08:00
Ayaz
9bf23196a8
Revert stray introduction from #4661
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-12-03 12:32:46 -06:00
Ayaz Hafiz
845a2f8c75
Report warnings in roc test 2022-12-02 14:11:58 -06:00
Anton-4
f91523baa9
update tutorial, cleanup 2022-11-28 20:13:39 +01:00
Anton-4
91266a03c6
change matadata filename based on target 2022-11-28 15:18:15 +01:00
Richard Feldman
956d3d1462
basic-cli docs --> roc-lang.org/packages/basic-cli 2022-11-26 19:04:35 -05:00
Richard Feldman
bdc61b7fd9
Link to basic-cli in the README for cli examples 2022-11-26 19:04:34 -05:00
Richard Feldman
2409399ff3
Don't even compile https stuff in wasm! 2022-11-26 08:53:31 -05:00
Richard Feldman
58fad36f9d
Merge pull request #4460 from roc-lang/crash
Crash
2022-11-25 17:18:21 -05:00
Ayaz Hafiz
aba047e84c
Add support for user crashes in the cli plat 2022-11-24 14:46:52 -06:00