How jeremyhuiskamp/gols works
Core Components
• Parser (represented in gols.go)
• Evaluator (lambda.go and primitive.go)
• Testing Framework (gols_test.go)
• Reference Implementation (original.ss)
A. Main Processing Pipeline:
• Primitive Operations (from primitive.go)
• Lambda Handling (from lambda.go)
• Core Language Features (from gols.go)
C. Testing & Verification Layer:
A parallel track showing
• Test Suite (gols_test.go)
• Reference Implementation (original.ss)
• Verification Flow
Component Relationships
• Direct relationships between the implementation and reference
• Test coverage paths
• Primitive operation connections
Top Layer
• High-level flow of the interpreter
• Main components interaction
Middle Layer
• Detailed breakdown of parser and evaluator
• Primitive operations
• Lambda handling
Bottom Layer
• Testing infrastructure
• Verification against reference implementation
Additional Considerations:
CI/CD Integration
• Travis CI workflow
• Code coverage reporting (codecov)
• Quality checks (Ebert)
Clear Boundaries
• Core interpreter
• Testing framework
• Reference implementation
• CI/CD pipeline
Level of Detail:
• Version control and CI/CD as peripheral components
• Clear separation between implementation and reference
Remember to maintain a balance between showing the theoretical language implementation aspects and the practical software engineering concerns like testing and CI/CD.