Commit Graph

1401 Commits

Author SHA1 Message Date
Brian Carroll
9a992b1399
virtual-dom: Bring back named type variables 2022-11-22 08:42:10 +00:00
Brian Carroll
95e5faa2c4
virtual-dom: Expose translate and translateStatic, fix type in test 2022-11-22 08:37:18 +00:00
Brian Carroll
5d90d2ab3d
Merge branch 'main' of github.com:roc-lang/roc into virtual-dom 2022-11-22 08:08:00 +00:00
Ayaz
1a3119e4c5
Merge pull request #4525 from roc-lang/fix-fixpoints-2
Implement fixpoint-fixing and unconditionally emplace variables into type indices
2022-11-19 17:47:02 -06:00
Richard Feldman
0b2c2ab36c
Fix compiler warnings on examples/cli/echo.roc 2022-11-18 14:01:55 -05:00
Ayaz Hafiz
f0fbf16be6
Remove panicking line in Args.roc 2022-11-16 14:05:51 -06:00
Folkert de Vries
0920fb4227
Merge pull request #4508 from roc-lang/windows-final-cli-tests
Windows final cli tests
2022-11-16 18:21:49 +01:00
Anton-4
5a447a9fcc
Merge branch 'main' of https://github.com/roc-lang/roc into windows-final-cli-tests 2022-11-16 13:58:17 +01:00
Anton-4
e9d8d13b02
windows fixes, error improvements 2022-11-16 13:55:58 +01:00
Ayaz Hafiz
b6f53f22c3
Fix inline expects on macos
MacOS SIGUSR1 is signal 30, not 10 as it is on Linux.
At least on MacOS clang, we need the added headers to the c platform's
host to compile correctly.
2022-11-15 09:30:28 -06:00
Ayaz
b907f01f1f
Merge pull request #4507 from roc-lang/alias-analysis-rc-recursion
fix stack overflow in alias analysis
2022-11-12 12:54:06 -06:00
Anton-4
084cf819d3
Merge pull request #4506 from roc-lang/csv-parser-zig
csv parser: rewrite host to zig
2022-11-12 16:17:33 +01:00
Brian Carroll
07efb32173
Merge pull request #4494 from roc-lang/wasm-example-fixes
Fixes for WebAssembly platform-switching example
2022-11-12 13:44:54 +00:00
Folkert
2318ffe31d
don't include header files that don't exist on windows 2022-11-12 14:38:26 +01:00
Folkert
9536d0b1a0
fixes for the False example 2022-11-12 13:55:13 +01:00
Anton-4
7f93bf8074
add nightly instructions
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-12 13:55:06 +01:00
Richard Feldman
83e4eef475
Merge pull request #4492 from joshuawarner32/tuple-syntax-1
Implement initial tuple syntax
2022-11-11 17:55:25 -08:00
Folkert
ce61a40f5b
change parser host to zig 2022-11-11 23:45:32 +01:00
Richard Feldman
58ea07f14f
Merge pull request #4503 from roc-lang/windows-cli-tests
Windows rust platforms
2022-11-11 09:42:06 -08:00
Folkert
21600828b2
c conditional compilation, for real 2022-11-11 11:09:15 +01:00
Folkert
e0b67e0445
c conditional compilation? 2022-11-11 10:24:23 +01:00
Brian Carroll
760aa665d2
test won't run because of type issues 2022-11-11 08:42:42 +00:00
Folkert
b6b7d186e4
make new extern functions compile on windows 2022-11-10 23:14:41 +01:00
Folkert
11360edf7b
make effects platform work on windows 2022-11-10 22:11:21 +01:00
Anton-4
fe16c1bb8e
Merge pull request #4500 from roc-lang/c_missing_include
add missing includes for clang 14
2022-11-10 11:39:23 +01:00
Joshua Warner
cdbdfeeaa4
Use closure syntax in parentheses in False.roc 2022-11-09 19:00:27 -05:00
Brian Carroll
34c3793529
Create an example app 2022-11-09 22:29:41 +00:00
Brian Carroll
65ae1ca227
server-side-rendering readme disclaimer 2022-11-09 21:00:11 +00:00
Brian Carroll
ef03ea2f48
rename virtual-dom -> server-side-rendering 2022-11-09 20:55:16 +00:00
Anton-4
cd375538f2
add missing includes for clang 14
I believe implicit declarations(=missing headers) used to be a warning in clang 13 but this now an error in clang 14
2022-11-09 20:46:48 +01:00
Folkert
b8145e8eb8
fix missing import 2022-11-09 13:05:54 +01:00
Brian Carroll
c92f7ffd22
virtual-dom: readme updates 2022-11-09 09:08:34 +00:00
Brian Carroll
d22220fe0e
virtual-dom: try to recurse on children... but it's time to put this on hold! 2022-11-09 09:08:34 +00:00
Brian Carroll
d8a10f0d9d
virtual-dom: Use Rendered and NotRendered instead of Ok and Err 2022-11-09 09:08:34 +00:00
Brian Carroll
6f875ed472
virtual-dom: workaround type checker issues by ignoring event listeners 2022-11-09 09:08:34 +00:00
Brian Carroll
536fa7b9f1
Failed fix: get rid of type alias 2022-11-09 09:08:34 +00:00
Brian Carroll
448a667632
BAD TYPE CHECK ERROR 2022-11-09 09:08:34 +00:00
Brian Carroll
8cd2dc3632
virtual-dom: implement Effect.map 2022-11-09 09:08:34 +00:00
Brian Carroll
ca3df27330
virtual-dom: further work on createSubTree 2022-11-09 09:08:34 +00:00
Brian Carroll
511c7397f1
virtual-dom: start implementing createSubTree 2022-11-09 09:08:34 +00:00
Brian Carroll
e36d93a765
virtual-dom: updateTextNode 2022-11-09 09:08:34 +00:00
Brian Carroll
586b204876
virtual-dom: get rid of the "multiple views" idea
It's a bit hard to program with and takes a lot of explaining.
For now let's keep things a bit more traditional and get it working.
2022-11-09 09:08:34 +00:00
Brian Carroll
c21903938f
virtual-dom: Initial draft of backend host 2022-11-09 09:08:34 +00:00
Brian Carroll
cb0c3867e1
virtual-dom: Create runInVdomArena as a nicer API to the arena 2022-11-09 09:08:34 +00:00
Brian Carroll
81e94a0578
virtual-dom: finish writing dispatchEvent 2022-11-09 09:08:34 +00:00
Brian Carroll
d82396a23f
virtual-dom: explicit Err for UnusedViews 2022-11-09 09:08:34 +00:00
Brian Carroll
df4e5de5ee
virtual-dom: replace type variables with _ 2022-11-09 09:08:34 +00:00
Brian Carroll
cc59a2b66c
virtual-dom: remove unnecessary wildcards in error types 2022-11-09 09:08:34 +00:00
Brian Carroll
9c7db010af
virtual-dom: be specific about where Encoding and Decoding are needed 2022-11-09 09:08:34 +00:00
Brian Carroll
5960dd0bcf
COMPILER CRASH.. I thought maybe it was to do with open vs closed unions but no joy 2022-11-09 09:08:34 +00:00