Run implish on the b4 VM

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

@tangentstorm arbeitet bereits daran.

Seit 29.10.2026.

  • #3 von @tangentstorm — offen

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
compilers

Rechercherichtung

Start by reading implish’s imp-core.mts, imp-load.mts, imp-eval.mts, docs/ and notes.org, then the listed b4 documentation and source files under ~/ver/b4. Record the chosen approach, rejected alternatives and milestones in docs/b4.org in the draft PR’s first commit, then build and test the first end-to-end milestone. Done means the documented command evaluates an implish expression on b4 and prints the right result, with the milestone test and existing checks passing.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

approved

Goal

Run implish on Michal's b4 VM: a documented command on tcode evaluates an implish expression on b4 and prints the right result.

Approach

Survey implish (TypeScript: imp-core.mts, imp-load.mts, imp-eval.mts, docs/, notes.org) and b4 (~/ver/b4: doc/opcodes.org, doc/b4i.org, b4a/bios.b4a, b4a/b4f.b4a.org, plan.org, goals.org) and pick the approach that best fits both projects' stated goals (b4: a small VM one person can understand from the ground up, running atop many stacks; implish: a tiny ultraportable language). Candidates: an implish interpreter written in b4a running on the VM, an implish-to-b4a compiler, or prior intent found in either repo's notes (Michal's existing intent wins).

Write the plan as docs/b4.org in the first commit of the draft PR: chosen approach and why, rejected alternatives, a milestone list. Then build the first small end-to-end milestone in the same PR (for example, implish integer literals and + evaluated on b4 via b4i).

Choices the human owner made

  • b4 is read-only for this work. If implish needs something from b4 (for example a new op), the PR flags it; a b4 change is a separate decision, not made here.
  • The repo lives at tangentcode/implish; PRs branch from main and target main.
  • implish.org is deployed by hand; this work does not deploy it.

Out of scope

  • Commits or PRs to b4.
  • Deploying implish.org.
  • Milestones after the first one (they get their own issues).

Tests

  • An automated test for milestone 1 (tanco-style org tests like b4's, or whatever implish already uses), covering the expressions the milestone supports.
  • Existing implish checks still pass (npm run build, plus the org test files if runnable).

Acceptance

Michal runs the documented command on tcode, it evaluates an implish expression on the b4 VM and prints the right result, and the tests pass.

Vorherrschende Sprache
TypeScript
Sterne
6
Forks
1
Ø Merge
3 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus tangentcode/implish

Alle Issues in tangentcode/implish

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.