Commit Graph
39 Commits
Author SHA1 Message Date
waozi 5da8134ad0 Consolidate Kry language documentation 2026-08-19 18:31:28 -03:00
waozi e0c588cd23 Add Linux desktop integration helpers 2026-08-19 15:47:56 -03:00
waozi 12e862e70b docs: add FEATURE_MATRIX.md mapping widgets and features across targets and backends
Widget-by-widget support for the C (.kry->k2c), Go (k2g/go/kryui), and KRB
(k2b) targets, cross-cutting feature coverage, and the Tier A surface /
Tier B cartridge-host backend inventory with per-platform raylib flavors.
Cross-linked from README.md and docs/BACKENDS.md.
2026-08-18 15:40:40 -03:00
waozi 52502d81a6 release: automate versions and publish all tools 2026-08-17 12:17:00 -03:00
waozi 0a1dab897b go: add native runtime and stateful controls 2026-08-17 08:58:58 -03:00
waozi 7877a4d2ed go: own the kryui runtime bindings 2026-08-17 08:37:10 -03:00
waozi f8d8c7fd1a k2g: .kry -> Go backend on the shared Kir frontend
Third backend alongside k2c/k2b: k2g lowers a KirProgram to Go source
that drives a Go kryon runtime (the cgo surface binding app uses), so
Go-native apps can be written in .kry. One frontend, three backends —
kry -> kir -> {c, krb, go}.

v1 fully translates the declarative subset: state blocks (Go struct +
instance), app metadata (generated main loop), frames, widget/surface
calls (rt.-qualified), compound literals (Vector2/Rectangle/Color),
scalar casts, hex/float literals, and state-field references including
address-of for scroll offsets. Imperative constructs are best-effort;
unsupported ones are emitted as commented TODOs rather than miscompiled.

Usage: k2g [--no-main] [--pkg NAME] [--runtime IMPORT] --root DIR -o DIR file.kry ...
Smoke-tested by tests/k2g_syntax_test.sh in 'make test'.
2026-08-16 23:51:09 -03:00
waozi d84db61262 Document KIR compiler roadmap 2026-08-13 10:36:32 -03:00
waozi 5b15a1272b Expose kry_term and krb in kryon.h; document the cartridge API
Include kry_term.h, kry_backend.h, and krb.h from the kryon umbrella so
apps reach them through the public header. Document the .krb load/bind/draw
flow and KrbMount in docs/API.md, mention kc --emit-krb in the README, and
add an examples Makefile target that builds the 02_buttons cartridge host.
CHANGELOG entries for the kry_term and krb slices.
2026-08-12 19:03:36 -05:00
waozi 2bb8640279 Add retained scene tree foundation and rename UI Sprite to Picture
- include/kry_math.h: Vector2 math and KryTransform2D (compose/point/camera)
- include/scene_tree.h + src/scene/scene_tree.c: KryScene/KryNode retained
  node tree with array arena, parent/child links, world-transform update,
  lifecycle vtable (ready/process/physics_process/draw), KrySceneTick/
  PhysicsTick/Draw driver
- include/node2d_props.h: Camera2DProps, Sprite2DProps
- Rename UI Sprite widget to Picture (raylib owns Image as a struct):
  ui_sprite.h -> ui_picture.h, SpriteProps -> PictureProps,
  UISpriteFit -> UIPictureFit, UI_SPRITE_FIT_* -> UI_PICTURE_FIT_*,
  Sprite() -> Picture(); extract shared texture cache to
  src/ui/ui_picture_cache.c (KryLoadPictureTexture, KryPictureFitRect)
  shared by the Picture widget and the upcoming Sprite2D scene node
- Migrate example, docs, node registry to the Picture name
2026-08-11 03:11:34 -05:00
waozi d07078d2b2 Move UI runtime to declarative nodes 2026-08-06 07:15:55 -03:00
waozi a9385412e0 Remove bundled C IDE 2026-08-01 13:27:31 -03:00
waozi 90e759af65 Support standalone KITE IDE 2026-08-01 09:59:24 -03:00
waozi 7e8f316eb5 Rename Lyra sync APIs to Ksync 2026-07-27 08:52:02 -03:00
waozi bd4a4b1948 Make Kry C imports explicit 2026-07-21 19:26:09 -03:00
waozi 73251ab1e3 Add Kryon app build runner 2026-07-21 15:38:11 -03:00
waozi 137f6ac413 Rename Flint runtime to Kryon 2026-07-20 11:25:19 -03:00
waozi 2123449504 Add Kryon widget inspection lifecycle 2026-07-20 10:56:27 -03:00
waozi 912f18638a Add pragmatic Tk-style UI toolkit 2026-07-19 00:46:20 -03:00
waozi a462581680 Add Clay and remove fontchop 2026-07-18 07:29:00 -03:00
waozi 67c4e768be Improve Flint static package 2026-07-12 17:25:03 -03:00
waozi 62ce5376d1 Add Flint release automation 2026-07-12 00:06:29 -03:00
waozi 6f685051f6 Reorganize Flint sources and profile icons 2026-07-11 13:08:04 -03:00
waozi d1684227df Add shared profile header pfp picker 2026-07-11 09:46:03 -03:00
waozi bc8377e7ec Align Flint naming and docs 2026-07-11 07:25:46 -03:00
waozi 409a10c0aa update readme 2026-07-09 22:26:59 -03:00
waozi 671f5183cf rm legacy cli 2026-07-09 22:17:39 -03:00
waozi 398b6daa21 Add native FreeBSD support 2026-07-09 13:25:23 -03:00
waozi 2504f6f089 Add Lyra sync protocol helpers 2026-06-28 21:33:39 -03:00
waozi 81e6ecdb48 Add Lyra account and shared vendor build rules 2026-06-27 17:22:55 -03:00
waozi eed0857607 Clean Flint docs and harden modal capture 2026-06-24 19:04:53 -03:00
waozi 57ba2a95c5 update readem 2026-06-22 23:33:09 -03:00
waozi 4dc9525a12 update from inbe 2026-06-22 15:50:26 -03:00
waozixyz 7d8256029d Add web viewport sync helpers 2026-06-12 09:43:18 -03:00
waozixyz 1e148d8377 update readme 2026-06-12 01:10:42 -03:00
waozixyz b55f0d0a2a Add project CLI dist and web run commands 2026-06-12 00:20:58 -03:00
waozixyz f585ad8995 create cli 2026-06-12 00:04:14 -03:00
waozixyz 299792980b add makefiles 2026-06-11 23:57:46 -03:00
waozixyz e376c879c6 initial commit 2026-06-08 10:12:45 -03:00