Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
This repository was archived by the owner on May 19, 2026. It is now read-only.

Targetability Status #7

Description

@leostera

One of the goals of LAM is to be easy to target.

This means that we should provide tools to work with the bytecode, inspect it, and debug it. Ideally both in binary and text format, and converting between them quickly.

Bytecode

  • Define a text format -- leaning towards S-expressions, like WebAssembly's .wat
  • Define a binary format -- open to ideas

Tools

  • lam validate -- can validate bytecode in text and binary format
  • lam text-to-bin and lam bin-to-text -- translate bytecode between text and binary format
  • lam inspect -- meta information about the provided bytecode
  • lam compile -- should emit DWARF debug symbols by default, but drop 'em with a --release flag
  • lam debug -- should start a step-debugger for a LAM program

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    specRelated to the specification of LAMtrackingThis issue is used for tracking status

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions