Skip to content

Programmatic C API #2021

@andrew4328

Description

@andrew4328

The text C interface is nice as an option, but it would be faster as a direct programmatic API. i.e. call a compiler backend programmatically instead of textually.

Features:

  • declare types (ok to use LSTS syntax here Maybe<U8> instead of needing mangled types)
  • declare monomorphic functions
  • declare variables

the same stuff that you can do in C, just without the text, and with explicit conveniences for supporting LM style languages.

There is nothing in LSTS that we can't do in C. It is just more work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions