1 repository
Extensions that modify the compilation process to enforce custom source code rules.
Distinct from Python Compilers: Focuses on modifying the compilation pipeline rather than translating Python to machine code binaries.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Compiler Extensions. Refine with filters or upvote what's useful.
TrumpScript is a Python-based domain specific language and compiler extension that wraps the Python runtime to enforce custom grammar and vocabulary rules. It transforms a specialized, case-insensitive vocabulary and natural speech patterns into executable Python instructions. The implementation distinguishes itself through strict constraints on source code, including a variable name system that restricts identifiers to a predefined whitelist and a numeric parser that rejects any integer not exceeding one million. It further utilizes a token-filtering preprocessor to remove filler words and n
Extends the compilation process to filter tokens and restrict variable names before executing Python.