AR Engine
A custom 2D game engine with an original scripting language, built from zero dependencies in 9 hours.
Tech Stack
C++17 · OpenGL 3.3 · GLSL · SDL2 · GLM · stb_image
Architecture
Lexer → Parser → AST → Interpreter → Runtime Bridge
Systems
Entity-Component-System · Impulse Physics · AABB Collision · Spatial Audio · Orthographic Renderer · ARGDL Compiler
Key Decision
Instead of embedding Lua or Python, I designed and implemented ARGDL — a domain-specific language with its own grammar, tokenizer, and execution runtime. Games are described, not programmed.
# Player Character
{
sprite: "hero.png"
gravity: true
mass: 1.0
}
on space { jump }
on W { Forward ; speed = 1 }
on S { backward ; speed = 0.5 }
on A {Left ; speed = 0.5}
on D { Right ; speed = 0.5 }
Real engine runtime & custom language compiler • 9-hour build . ArGDL is no joke , It is literal simple and beast GDL