Commit graph

1527 commits

Author SHA1 Message Date
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
Folkert
d9d88328d3
update rust platform build.rs 2022-11-06 16:34:15 +01:00
Folkert
32e7a60c8a
use correct Ext trait 2022-11-06 16:34:15 +01:00
Folkert
05a5efff3e
on windows, going from bytes to OsString always owns 2022-11-06 16:34:15 +01:00
Folkert
59ac45107b
fix compile error 2022-11-06 16:34:15 +01:00
Folkert
b38c64e950
handle windows OsString in the cli platform 2022-11-06 16:34:14 +01:00
Folkert
2a41f72ad6
remove another duplicate import 2022-11-05 17:11:58 +01:00
Folkert
64584384bf
remove duplicate import 2022-11-05 15:05:40 +01:00
Folkert
92cc120c7f
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-11-05 12:21:37 +01:00
Richard Feldman
dc2500aac2
Merge pull request #4419 from roc-lang/repl
REPL improvements
2022-11-05 02:35:26 -07:00
Richard Feldman
c03dc17ab4
Merge remote-tracking branch 'origin/main' into repl 2022-11-05 01:04:44 -04:00
Richard Feldman
9cf102fcdd
roc format 2022-11-04 15:44:18 -04:00
Richard Feldman
9cac29c00c
Rename some Ruby interop demo things 2022-11-03 23:04:15 -04:00
Richard Feldman
70c822c1d3
Simplify rb_funcall call 2022-11-03 23:04:07 -04:00
Richard Feldman
8ebdc44a23
Have Ruby interop call JSON.parse
Thanks to @besquared for showing me how to do this!

https://mobile.twitter.com/besquared/status/1588363108606541824
2022-11-03 22:59:24 -04:00
Richard Feldman
a06ba9ad23
Rename ruby interop platform 2022-11-03 22:47:04 -04:00
Richard Feldman
e31d308866
Use JSON to talk to Ruby 2022-11-03 22:39:10 -04:00
Richard Feldman
0721f5a9d8
Use JSON in the ruby-interop demo 2022-11-03 21:56:01 -04:00
Richard Feldman
9ca45602bb
Add function for calling Roc from Ruby via JSON 2022-11-03 02:00:58 -04:00
Richard Feldman
b6575e86d7
Have roc_panic raise a Ruby exception 2022-11-03 02:00:45 -04:00
Richard Feldman
e9e3537738
Clean up some demo.c logic 2022-11-03 00:11:32 -04:00