Run implish on the b4 VM

Abierto
#2 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@tangentstorm ya está trabajando en esto.

Desde el 29/10/2026.

  • #3 de @tangentstorm — abierto

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
compilers

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
6
Forks
1
Merge medio
3 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tangentcode/implish

Todos los issues de tangentcode/implish

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.