Run implish on the b4 VM

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@tangentstorm がすでに取り組んでいます。

2026年10月29日 から。

  • #3 @tangentstorm による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
typescript
領域
compilers

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
6
フォーク
1
平均マージ
3分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tangentcode/implish のほかの issue

tangentcode/implish の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。