How t9air/enlang works
Main Components (represented as rectangles)
• Lexer (lexer.py)
• Parser (parser.py)
• Interpreter (interpreter.py)
• Main Program (main.py)
• Source File (.enl files)
Flow and Relationships
a. Source Code → Lexer → Parser → Interpreter → Program Execution
Processing Pipeline (from left to right)
• Lexer Component:
• Shows tokenization of source code
• Parser Component:
• Shows Abstract Syntax Tree (AST) generation
• Interpreter Component:
• Shows program execution
Control Flow
• Main Program Component:
• At the top, overseeing the process
Additional Elements
• Source code flow
• Token stream
• AST
• Execution results
• Processing stages:
• Lexical Analysis
• Syntactic Analysis
• Interpretation
Important Considerations: