Commit graph

23468 commits

Author SHA1 Message Date
Brian Carroll
484db7c469
virtual-dom: make Handler private 2022-11-09 09:08:34 +00:00
Brian Carroll
6dcd9c5327
virtual-dom: 🎨 cosmetic cleanups 2022-11-09 09:08:34 +00:00
Brian Carroll
16f0d893c8
virtual-dom: fix populateViewContainers 2022-11-09 09:08:34 +00:00
Brian Carroll
84c82d9d95
COMPILER CRASH. Stack overflow caused by Internal.roc:364 2022-11-09 09:08:34 +00:00
Brian Carroll
eb5fa70be6
virtual-dom: write indexNodes and update readme on SSR 2022-11-09 09:08:34 +00:00
Brian Carroll
846e14bff4
Revert "COMPILER STUCK on missing tag parameter"
This reverts commit 758bf96b8d86fd849601e4a40d09340354fe3268.
2022-11-09 09:08:34 +00:00
Brian Carroll
0f571e185d
COMPILER STUCK on missing tag parameter 2022-11-09 09:08:34 +00:00
Brian Carroll
e27dd67de9
virtual-dom: add a JsIndex param to Html 2022-11-09 09:08:34 +00:00
Brian Carroll
021e5ca469
COMPILER CRASH. Updated union type without updating when patterns. 2022-11-09 09:08:34 +00:00
Brian Carroll
57c7645d4b
virtual-dom: readme notes about SSR 2022-11-09 09:08:34 +00:00
Brian Carroll
7aad5147da
virtual-dom: rename Node -> Html 2022-11-09 09:08:34 +00:00
Brian Carroll
b28d2731a8
virtual-dom: readme changes 2022-11-09 09:08:34 +00:00
Brian Carroll
22fa01a831
virtual-dom: Move all host JS code inside the init closure 2022-11-09 09:08:34 +00:00
Brian Carroll
fc18bc5b0c
virtual-dom: rename HostJavaScript 2022-11-09 09:08:34 +00:00
Brian Carroll
acf4e39980
virtual-dom: translateStatic 2022-11-09 09:08:34 +00:00
Brian Carroll
9beaedc536
virtual-dom: create App type and rocScript function 2022-11-09 09:08:34 +00:00
Brian Carroll
fbc8e684fd
virtual-dom: move internal functions into Html.Internal 2022-11-09 09:08:34 +00:00
Brian Carroll
34095b3de5
virtual-dom: fix TypeScript annotation for Roc tag union as JSON 2022-11-09 09:08:34 +00:00
Brian Carroll
5c4aab4924
virtual-dom: work around type checker bug 2022-11-09 09:08:34 +00:00
Brian Carroll
7ae63b5bf4
virtual-dom: Convert TypeScript annotations to JSDoc format 2022-11-09 09:08:34 +00:00
Brian Carroll
209a96db9d
virtual-dom: create translate function (confusing type error) 2022-11-09 09:08:34 +00:00
Brian Carroll
3bd065dbd8
virtual-dom: Make renderStatic for static HTML only 2022-11-09 09:08:34 +00:00
Brian Carroll
b07576ee07
virtual-dom: Get rid of union types. Create Html.Internal. Fix errors. 2022-11-09 09:08:34 +00:00
Brian Carroll
a906d7daa0
virtual-dom: Functions for event handling 2022-11-09 09:08:34 +00:00
Brian Carroll
be2bcb6ae5
virtual-dom: flesh out Event.roc and create Action.roc 2022-11-09 09:08:34 +00:00
Brian Carroll
c84dc0beac
virtual-dom: sketch out plans for event-related types 2022-11-09 09:08:34 +00:00
Brian Carroll
d55b9a7bcc
virtual-dom: fix up some tag types 2022-11-09 09:08:34 +00:00
Brian Carroll
9b09c9ef5e
virtual-dom: load and initialize WebAssembly 2022-11-09 09:08:34 +00:00
Brian Carroll
d81c11dad9
virtual-dom: readme updates (TODO) 2022-11-09 09:08:34 +00:00
Brian Carroll
10628dcc65
virtual-dom: JS error handling 2022-11-09 09:08:34 +00:00
Brian Carroll
1d06a429d7
virtual-dom: comments about UTF-16 -> UTF-8 conversion 2022-11-09 09:08:34 +00:00
Brian Carroll
2082889640
virtual-dom: update host.ts to use enums for tag and attribute names 2022-11-09 09:08:34 +00:00
Brian Carroll
9db3a28b09
virtual-dom: use a tag union for attribute types 2022-11-09 09:08:34 +00:00
Brian Carroll
f64ba844cd
virtual-dom: define Html tags in terms of a Roc tag union instead of Str 2022-11-09 09:08:34 +00:00
Brian Carroll
d2482fb92a
virtual-dom: readme changes 2022-11-09 09:08:34 +00:00
Brian Carroll
95d6dc1027
virtual-dom: Write effect functions in TypeScript and their types in Roc 2022-11-09 09:08:34 +00:00
Brian Carroll
57a5510754
virtual-dom: create a readme.md file 2022-11-09 09:08:34 +00:00
Brian Carroll
0732395be8
virtual-dom: clone Html library into virtual-dom 2022-11-09 09:08:34 +00:00
Brian Carroll
5b27ced13d
platform-switching: Fixes for WebAssembly platform example 2022-11-09 08:52:42 +00:00
Richard Feldman
982d8f40cf
Add a bunch of record tutorial stuff 2022-11-08 21:55:39 -05:00
Joshua Warner
1753c9cf5b
Implement initial tuple syntax 2022-11-08 18:04:46 -05:00
Folkert de Vries
e589dc88a3
Merge pull request #4488 from roc-lang/cli-helpers-improvement
cli run tests refactoring + improved errors
2022-11-08 23:54:36 +01:00
Folkert de Vries
6698c34cb8
Merge pull request #4490 from roc-lang/rm-erroneous-type
Remove `Erroneous` type and `Problem` for type
2022-11-08 23:53:08 +01:00
Ayaz Hafiz
6071ef9696
Update use of Error tag 2022-11-08 14:12:45 -06:00
Ayaz Hafiz
28c3709ddf
Miscellaneous cleanup 2022-11-08 14:11:26 -06:00
Ayaz Hafiz
1b38cd0504
s/Type::Erroneous/Type::Error 2022-11-08 14:11:26 -06:00
Ayaz Hafiz
264eeeb2dc
Update roc_ast 2022-11-08 14:11:26 -06:00
Ayaz Hafiz
c1237215ea
Remove type Problem enum 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
8dfc9c0367
Inline BadType::BadTypeArguments in canonicalization errors 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
98464984dd
Remove type problem bad type 2022-11-08 14:11:25 -06:00