JRJoshua RandallSystems. Software. Possibility.

SOFTWARE ENGINEERING / COMPILERS / STATIC ANALYSIS

Mini Compiler & Static Analyzer

Building a compiler forces software design to become explicit: syntax, structure, types, errors and invariants all have to agree.

Working browser lab · tokenizer/parser/type-checker model · in developmentJoshua Randall software engineering portfolio

ENGINEERING SIGNAL

What this project is designed to prove.

01

Lexing, parsing and AST construction

02

Static type checking

03

Precise diagnostics tied to source locations

WORKING BROWSER LAB / SYNTHETIC MODEL

Inspect the software behavior.

Tokenize a tiny language, build a typed syntax tree and reject invalid programs before execution. The browser model is deterministic and intentionally synthetic so the behavior can be inspected without pretending it is a production deployment.

ARCHITECTURE

Design the failure modes before they become incidents.

Tokenizer

The current implementation keeps the mechanism explicit so correctness, failure behavior and future integrations can be tested independently.

Recursive-descent parser

The current implementation keeps the mechanism explicit so correctness, failure behavior and future integrations can be tested independently.

Typed AST and semantic-analysis pass

The current implementation keeps the mechanism explicit so correctness, failure behavior and future integrations can be tested independently.

EVIDENCE BOUNDARY

Implemented behavior, stated limits.

The interactive model on this page is implemented and runs in the browser. It demonstrates the software-engineering mechanism using synthetic fixtures. It does not claim production deployment, employer use, external benchmarks, or reliability guarantees beyond what the model actually shows.

Next: Add scopes, functions, control flow, bytecode generation, source maps, and a test corpus of invalid programs.

SOFTWARE SHOULD BE EXPLAINABLE

Correctness before confidence.

Architecture, testing, failure handling, observability, APIs, data, concurrency, and delivery engineering.

More engineering projects ↗︎GitHub ↗︎