38 Commits

Author SHA1 Message Date
Nurul Huda (Apon)
33ec71739d
refactor(ast): use direct import of zx
- This is to allow importing zx with any other decl name than zx
2026-02-09 11:14:05 +06:00
Nurul Huda (Apon)
3f8f3c6e0c
refactor: use positional array instead of zon for hydration 2026-01-08 18:57:02 +06:00
Nurul Huda (Apon)
5bf9a9e66a
fix(fmt): do not format when tree has error 2026-01-08 15:13:27 +06:00
Nurul Huda (Apon)
87fb511666
fix(fmt): comments formatting 2026-01-08 14:58:23 +06:00
Nurul Huda (Apon)
000e200c20
feat: optional component fn 2026-01-08 14:15:47 +06:00
Nurul Huda (Apon)
ad62d905df
fix(client): react props passing fix 2026-01-07 23:45:54 +06:00
Nurul Huda (Apon)
8f4360079f
feat: props server to client component 2026-01-07 21:10:59 +06:00
Nurul Huda (Apon)
c875440cc9
feat: hydration of client side component 2026-01-04 23:38:23 +06:00
Nurul Huda (Apon)
8aba678826
feat: component level caching 2025-12-31 17:01:54 +06:00
Nurul Huda (Apon)
8ba9493706
wip: component level caching 2025-12-31 15:38:27 +06:00
Nurul Huda (Apon)
61c22c9228
refactor: make options passable to cmp 2025-12-31 15:18:06 +06:00
Nurul Huda (Apon)
74f923bdbb
test: fix import path test 2025-12-28 23:55:29 +06:00
Nurul Huda (Apon)
40075f880c
refactor: remove rendering attribute related logic 2025-12-28 23:34:09 +06:00
Nurul Huda (Apon)
7abdefef1e
feat(zx): introduce zx.ComponentContext & zx.ComponentCtx(type) 2025-12-27 00:20:13 +06:00
Nurul Huda (Apon)
17478c0132
docs: improve expressions secction 2025-12-25 16:23:28 +06:00
Nurul Huda (Apon)
8ad8c0e975
refactor: rename @rendering attr enums 2025-12-23 16:14:04 +06:00
Nurul Huda (Apon)
6886f1e4ed
test(fmt): move many cases out of todo 2025-12-23 04:08:28 +06:00
Nurul Huda (Apon)
eda38f0eda
test: add html comparision for render test 2025-12-23 03:04:12 +06:00
Nurul Huda (Apon)
b623ca6807
feat: support passing int/bool/str/optional to attribute 2025-12-23 02:36:24 +06:00
Nurul Huda (Apon)
1db89ead4a
feat: add more test cases for ast 2025-12-22 13:59:13 +06:00
Nurul Huda (Apon)
73a57ef354
feat: add support to pass children to custom component 2025-12-22 13:54:30 +06:00
Nurul Huda (Apon)
348b55de13
test: add more complex nested cases 2025-12-22 13:50:03 +06:00
Nurul Huda (Apon)
190f49dfd9
fix(fmt): free sourcez in cli 2025-12-22 04:15:25 +06:00
Nurul Huda (Apon)
b524ab1db4
fix: missing allocator in self closing tag 2025-12-22 04:01:32 +06:00
Nurul Huda (Apon)
865fb6a070
fix: unique id for re-used client component 2025-12-22 03:49:41 +06:00
Nurul Huda (Apon)
e616d3286a
refactor: rename _zx methods 2025-12-21 21:47:25 +06:00
Nurul Huda (Apon)
6f84e11ce2
feat: get rid of special syntax requirement for format expression 2025-12-21 18:21:47 +06:00
Nurul Huda (Apon)
62c1816efb
refactor: reimplment transpiler using tree-sitter cst (#24) 2025-12-21 16:46:45 +06:00
Nurul Huda (Apon)
9ddc81a447
feat: auto translate .zx import 2025-12-11 12:04:29 +06:00
Nurul Huda (Apon)
e699173f81
test: properly failing fmt test to be todo 2025-11-27 19:05:56 +06:00
Nurul Huda (Apon)
a54ed08b5f
feat: wasm + zx counter example 2025-11-22 18:49:31 +06:00
Nurul Huda (Apon)
e585d90230
feat: wasm working example with zx 2025-11-22 09:56:01 +06:00
Nurul Huda (Apon)
08dfdbde16
feat: client side rendering via zig wasm expl 2025-11-22 01:12:59 +06:00
Nurul Huda (Apon)
297fb2f948
feat(csr): copmonent.json file gen 2025-11-18 00:13:08 +06:00
Nurul Huda (Apon)
11b3712fbb
feat(ast): client component prototype 2025-11-17 22:29:50 +06:00
Nurul Huda (Apon)
11ab5c78e8
test: add more tests and support for nesting 2025-11-17 05:32:45 +06:00
Nurul Huda (Apon)
455cf4f7f7
feat(component): finalize component design and add doc 2025-11-13 03:49:18 +06:00
Nurul Huda (Apon)
b636b31195
test: add more tests 2025-11-13 01:30:29 +06:00