The Kry statement language had a tangle of overlapping verbs (draw,
native, set, widget, text, rect, line, background, swatch) that all did
minor variants of the same thing: emit a call or assignment statement.
This removes the redundant ones and replaces the widget keywords with an
ordinary library of functions, so 'widget' is a convention (a function
that draws) rather than compiler syntax.
Removed statement verbs (now fatal errors with a migration hint):
- draw / widget -> call the expression directly; bare call statements
already wrap with PushUIInspectSource/PopUIInspectSource, so
click-to-source keeps working with no keyword.
- native -> call the expression directly.
- set -> write the assignment/call directly.
- text/rect/line/background/swatch -> call the matching Widget* library
function (WidgetText, WidgetRect, WidgetLine, WidgetBackground).
Kept keywords earn their place: button, on/event, icon_button,
set_theme, advance, clamp_min/max, c_rect, texture, c, unused, and all
control flow.
New widget library (include/ui_widgets.h, src/ui/ui_widgets.c):
WidgetText, WidgetRect, WidgetLine, WidgetBackground, WidgetButton —
ordinary C functions wrapping the existing DrawUI* primitives, with the
same defaults the removed keywords used. Included via kryon.h.
Rewrote all 17 example .kry files to the verb-free syntax (positional
args; named args deferred to a later phase since kc has no parameter
table). Updated kc_syntax_test.sh: the 'valid' screen and cross-file
tests no longer use removed verbs, and new tests assert that each
removed verb errors with a migration message.
Regenerated icon assets pick up the freebsd/macos platform PNGs added
earlier.
make clean && make all test passes (kc syntax, raylib compat, runtime).