Conservative multi-language dead-code elimination with tree-sitter: feature flag cleanup, constant folding, branch cleanup, method pruning, and dynamic-entry protection.
-
Updated
Jul 19, 2026 - Python
Conservative multi-language dead-code elimination with tree-sitter: feature flag cleanup, constant folding, branch cleanup, method pruning, and dynamic-entry protection.
A powerful mathematical expression parser and evaluator for PHP featuring variable substitution, user-defined constants, functions, deterministic functions, macros, operators, and compiler optimizations.
A strongly-typed duck-typed language. Solves type constraints on polymorphic functions and performs best-as-possible constant expression evaluation
Aggressive constant folding + eval = hygienic macros
Constant folding & propagation optimizer built with Flex/Bison and C++
AST rewriting of Python for-loop summations as closed-form Gauss summations
Development of a compiler for the Mini-Java language
Lab for PL at ULL
A Java-- to Jasmin compiler with ANTLR-based grammar, AST translation, symbol table, semantic analysis, basic optimizations, and code generation, developed for the Compilers course at FEUP.
TypeScriptToLua plugin that performs constant propagation and constant folding
Whetstone is a compiler optimizer that transforms intermediate code to run faster.
Add a description, image, and links to the constant-folding topic page so that developers can more easily learn about it.
To associate your repository with the constant-folding topic, visit your repo's landing page and select "manage topics."