Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Targetability Status #7

Open
7 tasks
leostera opened this issue Mar 7, 2021 · 0 comments
Open
7 tasks

Targetability Status #7

leostera opened this issue Mar 7, 2021 · 0 comments
Labels
spec Related to the specification of LAM tracking This issue is used for tracking status

Comments

@leostera
Copy link
Owner

leostera commented Mar 7, 2021

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
@leostera leostera added tracking This issue is used for tracking status spec Related to the specification of LAM labels Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec Related to the specification of LAM tracking This issue is used for tracking status
Projects
None yet
Development

No branches or pull requests

1 participant