Skip to content

Tips and inline wasm #12

@eliassjogreen

Description

@eliassjogreen

The language should be extendable using "compiler tips" which are essentially macros, or simply put: compiler tips. These tips would be modularly implemented using an rust interface of some sort, keyed by the tip type as specified by identifier between the parenthesis of the tip: #(wasm). Tips are specified to be able to be single or multi-line depending if the body is surrounded by squiggly parenthesis.

These tips are implemented in rust as taking the body of the tip as raw text and could for example take wasm text format and convert its body to instructions. This would allow for unsafe, but greatly more powerful code much like the rust asm macro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions