How emilytepeu00/olc2_b_p2_2s2026 works
OxigenNative is a web-based compiler for an academic language: users edit or open source, submit it for compilation and execution, then inspect output and reports. The documented backend workflow validates source, generates ARM64 assembly, assembles and links an executable, and runs it with QEMU. The graph preserves the compiler stages and the UI’s editor and report capabilities; unsampled implementation details are represented only where README documentation supports them.
Main entry points: app.py Compile API · App.jsx Editor and reports · parser.py Syntax analysis · ast_generator.py AST image
Components 14
Web interface
- Editor and reports
frontend/src/App.jsx - Web app entry
frontend/src/main.jsx
Compiler front end
- Compile API
backend/app.py - Lexical analysis
backend/lexer.py - Syntax analysis
backend/parser.py - Semantic validation
backend/semantic.py
Code generation and execution
- ARM64 generation
backend/codegen.py - Assembler and linker
- QEMU execution
Compilation reports
- AST image
backend/ast_generator.py - Symbol table report
backend/app.py - Error report
backend/app.py - Run and assembly results
backend/app.py
Other components
- Programmer
Connections 18
- Programmer → Editor and reports: edits and runs
README.md - Web app entry → Editor and reports: renders
frontend/src/main.jsx - Editor and reports → Compile API: submits source
frontend/src/App.jsx - Compile API → Syntax analysis: parses source
backend/app.py - Syntax analysis → Lexical analysis: requests tokens
backend/parser.py - Compile API → Semantic validation: validates AST
backend/app.py - Compile API → ARM64 generation: generates assembly
backend/app.py - Compile API → Assembler and linker: assembles and links
README.md - Compile API → QEMU execution: runs executable
backend/app.py - Compile API → AST image: generates image
backend/app.py - Compile API → Symbol table report: builds report
backend/app.py - Compile API → Error report: formats errors
backend/app.py - Compile API → Run and assembly results: returns results
backend/app.py - Compile API → Editor and reports: returns response
backend/app.py - Editor and reports → Run and assembly results: displays results
frontend/src/App.jsx - Editor and reports → Error report: shows errors
README.md - Editor and reports → Symbol table report: shows symbols
README.md - Editor and reports → AST image: shows AST
README.md