This file applies to every file below newLang/.
Build an object-oriented language and an on-machine compiler for the Commodore 128. The compiler is written in documented 8502/6502 assembly, runs in C128 native mode, reads source written by the repository's existing Vim clone, and emits native C128 PRG files.
Nova128 and the .n8 suffix are working names until the user approves them.
Read these files in order before changing implementation files:
README.mddocs/decisions.mddocs/language-spec.mddocs/architecture.mdplanning/epics-and-stories.mdplanning/agent-workflow.mdAlso read the repository-root AGENTS.md and the relevant skills under
../skills/. Compiler work requires ../skills/compiler-design/SKILL.md.
Emulator work also requires ../skills/vice-emulator/SKILL.md.
The canonical order is:
docs/decisions.md for accepted and provisional product decisions.docs/language-spec.md for source-language behavior.docs/architecture.md for compiler/runtime implementation contracts.planning/epics-and-stories.md for scope and acceptance criteria.Do not silently change syntax, type rules, object layout, the interface ABI,
file formats, or memory ownership. Record a proposed change in
docs/decisions.md and obtain user approval when it changes visible behavior
or project scope.
planning/epics-and-stories.md.planning/claims/<story-id>.md from the
template in planning/agent-workflow.md.git status before editing.A story is complete only when:
ca65 and ld65 for host assembly/linking.x128.exe, not x64sc.exe.x64sc and x128 against the same writable D81 simultaneously.../vim/work.d81 or a reference disk image in place.newLang/build/.$0D line endings..n8, .err, and .map
variants fit Commodore DOS's 16-character filename limit..prg, .err, and .map files as specified in the
architecture document.newLang/.../vim/ merely to make the compiler easier to build.build/ contents unless a release story explicitly
requires a packaged artifact.End commit messages with this attribution footer, without emoji:
Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The git host fails to record its notification row when the message contains the robot emoji, so the emoji form logs a server error on every push even though the ref updates.
Powered by TurnKey Linux.