StarLang: make the .star loader a closed validated language boundary #41
Labels
No labels
bug
design
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-auto-research#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Turn the existing
load-star-formprototype into a working.starfile loader that returns validated normalized specification IR rather than merely returning one Common Lisp reader form.Current state
prototypes/star-lang/common-lisp/core-surface-prototype.lispcurrently:*read-eval*tonil;This is enough for the fixture, but it is not yet a closed StarLang language boundary. It still inherits the active Common Lisp package/readtable behavior, interns symbols, accepts reader syntax outside the StarLang grammar, and leaves compilation/semantic validation to the caller.
Required behavior
Implement a file-level loader that:
.starpathname and reads exactly onespec-libraryunit;compile-spec-library;TDD acceptance cases
Add failing tests first for:
fec-core.starfixture loads and compiles;spec-librarytop-level form;#.reader evaluation syntax;compile-spec-libraryresult for the fixture.Boundaries
EVALor unrestricted reader macros.Completion evidence
git diff --check;