mirror of
https://github.com/anomalyco/opencode.git
synced 2026-10-25 18:40:05 +00:00
5 lines
552 B
Markdown
5 lines
552 B
Markdown
# @opencode/codemode
|
|
|
|
- `interpreter-support.md` is a checklist, not a changelog: check off newly added support and add unchecked items for significant gaps. Leave it alone for fixes and refactors.
|
|
- Program values are `Value` (`src/interpreter/objects.ts`). Host values are `unknown` and enter only through `fromHost` and `fromJson`; do not widen program-facing signatures to `unknown`.
|
|
- Each built-in object kind is one `Obj` subclass (`Wrapper` or `Opaque`) that overrides the hooks it needs. Ask the object instead of adding `instanceof` ladders.
|