Byte to Byte

A multi-language source-to-source transpiler that converts code between 10 programming languages using a four-stage compiler pipeline — built with zero dependencies for the CSE 332 Compiler Design course at Daffodil International University.

10
Languages
90
Translation Pairs
~1800
Lines of Code
0
Dependencies
Compiler Pipeline
All six classical compiler phases implemented in four functions
1 Source Code 2 parse() 3 analyze() 4 optimize() 5 emit() 6 Target Code
parse() Lexical & Syntax Analysis (22 node types, 10 language matchers)
analyze() Semantic Analysis (symbol table, scope stack, 30+ type inference rules)
optimize() Constant folding, dead code elimination, unused variable detection
emit() Code Generation (10-target emitter, 200+ stdlib rules, per-node error recovery)
Team Members
CSE 332 — Compiler Design · Section: 63_A · Daffodil International University
Mst. Khadiza Akter Sammi
Mst. Khadiza Akter Sammi
241-15-704
Semantic Analyst
Symbol table, scope stack, inferType() with 30+ rules, node enrichment
parser.js (L711-960)
Muslima Jahan Maria
Muslima Jahan Maria
241-15-316
Optimization + Documentation Lead
3-pass optimizer, safe arithmetic evaluator, project report, diagrams & references
parser.js (L961-1100) PROJECT_REPORT.md
Samirah Khanam Samin
Samirah Khanam Samin
241-15-322
Code Gen + Testing Lead
10-target emitter, 200+ stdlib rules, test suite with 36 automated assertions
parser.js (L1101-1785) test_semantic.js
Faria Tasnim Supti
Faria Tasnim Supti
241-15-221
Integration / Deployment
Terminal TUI & CLI interfaces, GitHub Pages hosting, CI/CD workflow, warning surfacing
b2b-app.js b2b.js 404.html README.md
Technology Stack
Zero dependencies, zero build step, zero server
Vanilla JavaScript
ES2020, no frameworks
HTML5 + CSS3
Custom properties, Grid, Flexbox
Canvas 2D API
Particle animation @ 60fps
Node.js Runtime
TUI & CLI interfaces
GitHub Pages
Static hosting, Actions deploy
Zero Dependencies
No npm, no CDN, no bundler