Run implish on the b4 VM

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

@tangentstorm y travaille déjà.

Depuis le 29/10/2026.

  • #3 par @tangentstorm — ouverte

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
À l'abandon
Stack technique
typescript
Domaine
compilers

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
6
Forks
1
Merge moyen
3 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de tangentcode/implish

Toutes les issues de tangentcode/implish

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.