kiedtl / finwe

A concatenative language for the Uxn VM with full compiler-enforced stack safety.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More kinds of static data for `(let)` bindings

kiedtl opened this issue · comments

There should be more possible syntaxes for a let binding value:

  • (embed "path"): Embedded from a path relative to the current file.
  • (fill <value> <count>): As name suggests. Filled at compile-time.

Examples:

(let font [Sprite8] (embed "../assets/atari8.uf2"))`
(let buf [U8 8] (fill 0xFF)) // Inferred

Tracker:

  • (embed)
  • (fill)