A project for exploring how a language works, from tokenizing input to parsing and evaluating it. CapPyro uses uppercase keywords, with variables, functions, loops and lists.
From text to execution
CapPyro follows the steps of an interpreter: turn source text into tokens, parse its structure, then evaluate it. It supports variables, arithmetic, conditions, loops, functions and lists, with uppercase keywords such as VAR and FUNC.
Try it
The repository includes an interactive shell and the language grammar. Run python shell.py, then try VAR x = 7 followed by x + 1. It is a small language project for experimenting with parsing and execution.