Skip to content

More kinds of static data for (let) bindings #12

@kiedtl

Description

@kiedtl

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang-enhanceEnhance existing language feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions