Getting Started
Introduction & Overview
AniKode is a dual-target, developer-first programming language designed to unite the expressive simplicity of dynamic scripting with native C++20 machine speed, mathematical propositional logic, and glitch-proof control flow.
Core Language Architecture
AniKode features a modular Lexer, Recursive Descent AST Parser, and twin execution targets (JavaScript V8 VM & C++20 Native).
- Dual Engine: Run instantaneously in the browser / JS VM, or compile to native C++20 machine binaries with 0.003s startup.
- Propositional Logic: Native operators (implies, iff, xor, nand, nor, xnor, all, any) treat boolean algebra as first-class citizens.
- Deterministic Loops: Range loops (loop i from 1 to N) compute bounds at invocation, preventing infinite lockups.
- AST Disabler: #N# annotations cleanly disable the next N AST statements without syntax corruption.
Why AniKode Was Created
Traditional scripting languages often sacrifice raw performance and lack native tools for formal logic, while low-level systems languages require heavy boilerplate for simple scripts. AniKode bridges this gap by providing an intuitive syntax that compiles directly to optimized C++20 machine code or runs instantly in a lightweight sandbox.