How spandan2106/aevy works
Aevy is an experimental Python-implemented programming language. Its principal workflow runs source through a command-line runner, lexer, parser, AST, and interpreter to produce program behavior. The interpreter also provides functions, classes, collections, built-ins, module imports, and text-file I/O. The README documents these capabilities; the sampled source confirms the frontend and runner wiring, but does not show every interpreter subsystem’s call paths.
Main entry points: interpreter.py Interpreter · __main__.py CLI Runner · parser.py Parser · lexer.py Lexer
Components 16
Language Frontend
- Lexer
src/aevy/lexer.py - Token Types
src/aevy/token.py - Parser
src/aevy/parser.py - AST Nodes
src/aevy/ast_nodes.py
Execution Runtime
- Interpreter
src/aevy/interpreter.py
Language Features
- Control Flow
src/aevy/interpreter.py - Functions and Classes
src/aevy/interpreter.py - Lists and Dictionaries
src/aevy/interpreter.py - Standard Library
src/aevy/interpreter.py - Module Imports
src/aevy/interpreter.py - Text File I/O
src/aevy/interpreter.py
Run Support
- CLI Runner
src/aevy/__main__.py - Error Formatting
src/aevy/diagnostics.py
Other components
- Programmer
- Aevy Source
- Program Output
Connections 19
- Programmer → CLI Runner: runs
README.md - Aevy Source → CLI Runner: supplies source
src/aevy/__main__.py - CLI Runner → Lexer: tokenizes
src/aevy/__main__.py - Lexer → Token Types: creates tokens
src/aevy/lexer.py - CLI Runner → Parser: parses tokens
src/aevy/__main__.py - Parser → Token Types: uses token types
src/aevy/parser.py - Parser → AST Nodes: builds AST
src/aevy/parser.py - CLI Runner → Interpreter: executes program
src/aevy/__main__.py - Interpreter → Lexer: uses for imports
src/aevy/interpreter.py - Interpreter → Parser: uses for imports
src/aevy/interpreter.py - Interpreter → AST Nodes: evaluates nodes
src/aevy/interpreter.py - CLI Runner → Error Formatting: formats errors
src/aevy/__main__.py - Interpreter → Control Flow: executes
README.md - Interpreter → Functions and Classes: executes
README.md - Interpreter → Lists and Dictionaries: supports
README.md - Interpreter → Standard Library: dispatches built-ins
src/aevy/interpreter.py - Interpreter → Module Imports: supports imports
README.md - Interpreter → Text File I/O: provides file operations
README.md - Interpreter → Program Output: produces output
README.md