Fusion
An experimental programming language, from tokens to a working interpreter.
PROJECT CONCEPT / LANGUAGE / INTERPRETER
V0.1.0-ALPHAFusion
fun double(x) { x * 2 }
let answer = double(21)
print(answer)THE QUESTION
Learn by building the language.
Building a language is a way to understand the machinery behind every program: how source becomes structure, how expressions evaluate, and how errors reach the developer.
The approach
Fusion implements a lexer, parser, and interpreter with variables, control flow, functions, lists, and tracebacks. It includes an interactive shell and supports running source files.
01Source text
02Tokens + syntax tree
03Interpreter
The engineering choice
The current release is an interpreter. LLVM compilation, concurrency, and higher-performance execution remain longer-term goals.
CONTEXT & STATUS
Experimental alpha. Performance, concurrency, and memory-safety aspirations are not benchmarked claims.