Vexon is a lightweight, experimental scripting language featuring its own lexer, parser, compiler, and virtual machine — all written from scratch.
It aims to be simple to learn, fun to hack on, and flexible enough to power real-world scripts, tools, and games.
Vexon runs on its own highly optimized virtual machine with:
- Stack-based execution
- Tailored bytecode format
- Safe error handling
- Clean stack frames & call structure
- Lexer
- Pratt parser
- Bytecode generator
- Optimized execution engine
Includes built-ins such as:
print,inputfs& file utilitiesjsonparsermath& number helpersstringutilities- Timer & async helpers
Vexon supports importing .vx files using:
import "math_utils.vx" as math print(math["add"](2, 3))