Latest / Learning & reference

Luna

github.com · Open source · Quiet

Tiny WebAssembly text-format compiler written in Go

Visit github.com ↗Share

Stars
319
Forks
7
Open issues
3
Last commit
Releases
2
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

Luna is a small compiler written in Go that turns WebAssembly text format into binary Wasm. The project was made for demonstration and learning, and the code is documented to help newcomers follow along; it suits developers learning WebAssembly internals.

Positioned as an alternative to wat2wasm.

Repository description on GitHub: “🌙 A really tiny WebAssembly compiler for demonstration and educational purposes. Written in Go and built as one of my quests to conquer the WebAssembly dungeon”

What it does

  • Compiles WebAssembly text format into binary Wasm
  • Supports i32 addition, subtraction, multiplication and division
  • Documented code aimed at people new to compilers

Good for

  • Compile a small WebAssembly text file to a binary module
  • Study how a small compiler turns text format into Wasm

Suits: Developers learning WebAssembly and compiler internals.

Worth knowing: Very incomplete, as only i32 arithmetic is supported so far.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Luna on , when thomscoder posted it to Show HN. The oldest published release on GitHub is v0.01, dated . Its first tagged release came 12 days after it was found. 2 releases have been published in total; the latest is v0.02 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 75 points, 2 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 2 releases shipped

  • 2 releases in the first 30 days: v0.01 (13 Nov 2022), v0.02 (22 Nov 2022)
  • Show HN discussion at check time: 75 points, 2 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: thomscoder/luna
  2. Found: thomscoder posted it to Show HN. Show HN
  3. Release v0.01
  4. Release v0.02
  5. Day-7 check recorded by Kip (details)
  6. Day-30 check recorded by Kip (details)

Quick answers

When was Luna released?
Its first tagged release on GitHub is dated 13 Nov 2022. Kip found it on Show HN on 1 Nov 2022.
Is Luna open source?
Its source is public on GitHub at thomscoder/luna under the MIT licence.
Is Luna free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Luna still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorythomscoder/luna
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-33424354. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.