Run implish on the b4 VM

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@tangentstorm 已经在做这个了。

开始于 2026年10月29日。

  • #3 来自 @tangentstorm —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
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 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tangentcode/implish 的其他 Issue

查看 tangentcode/implish 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。