awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

29 repos

Awesome GitHub RepositoriesCompile-Time Expression Evaluation

Features that allow the computation of constant expressions and function results during the compilation phase.

Distinct from Expression-Oriented Evaluation: Candidates refer to runtime expression evaluators or mathematical string parsers rather than language-level constexpr evaluation.

Explore 29 awesome GitHub repositories matching programming languages & runtimes · Compile-Time Expression Evaluation. Refine with filters or upvote what's useful.

Awesome Compile-Time Expression Evaluation GitHub Repositories

Find the best repos with AI.We'll search the best matching repositories with AI.
  • anthonycalandra/modern-cpp-featuresAnthonyCalandra avatar

    AnthonyCalandra/modern-cpp-features

    21,951View on GitHub↗

    This project is a comprehensive collection of reference materials, including a language cheatsheet, a standard library reference, and a concurrency reference. It serves as a guide to modern C++ development, focusing on language syntax, standard library utilities, and template metaprogramming patterns. The repository provides specific guidance on template metaprogramming through a dedicated guide covering compile-time evaluation, type deduction, and variadic template execution. The materials cover a broad range of capabilities, including asynchronous programming, memory management, and system

    Explains the use of compile-time expressions and functions to improve runtime performance and safety.

    cppcpp11cpp14
    View on GitHub↗21,951
  • nikic/php-parsernikic avatar

    nikic/PHP-Parser

    17,437View on GitHub↗

    PHP-Parser is a tool that converts PHP source code into an abstract syntax tree for static analysis and programmatic manipulation. It functions as a parser, a code generator, and a static analysis framework. The project enables the programmatic construction of abstract syntax tree nodes through a fluent interface and provides the ability to transform these trees back into formatted source code. It includes a serializer that exports abstract syntax trees to JSON format and reconstructs them from strings. The toolset covers several capability areas, including namespace resolution, constant exp

    Computes the final values of constant expressions and initializers during the analysis phase.

    PHP
    View on GitHub↗17,437
  • federico-busato/modern-cpp-programmingfederico-busato avatar

    federico-busato/Modern-CPP-Programming

    16,288View on GitHub↗

    This project is a comprehensive educational resource and programming course covering C++ language semantics and features from C++03 through C++26. It provides structured tutorials and technical guides focused on modern C++ development. The material offers specialized instruction on template metaprogramming, including the use of type traits and compile-time computations. It features detailed guides on concurrency and parallelism for multi-core execution, as well as a reference for software design applying SOLID principles and RAII. Additionally, it covers build performance optimization to redu

    Instructs on how C++ identifies compatible types to resolve returns from mixed-type expressions.

    HTMLc-plus-pluscode-qualitycompilers
    View on GitHub↗16,288
  • callstack/linariacallstack avatar

    callstack/linaria

    12,350View on GitHub↗

    Linaria is a zero-runtime CSS-in-JS library and static CSS generator. It evaluates JavaScript expressions at build time to extract styles from tagged template literals into standalone, static CSS files, removing the need for a runtime style injection engine. The library distinguishes itself by mapping component props to CSS custom properties, enabling dynamic styling and runtime property updates without regenerating stylesheets. It utilizes a build-time evaluation engine to resolve interpolations and a hashing system to generate scoped class names that prevent style collisions. The project c

    Evaluates JavaScript expressions and computes constants during the compilation phase to resolve styles at build time.

    TypeScript
    View on GitHub↗12,350
  • stylus/stylusstylus avatar

    stylus/stylus

    11,323View on GitHub↗

    Stylus is a CSS preprocessor that transforms a dynamic language into standard CSS. It utilizes a compilation workflow to enable the use of variables, nesting, and arithmetic, which are then rendered into stylesheets for use in frontend asset pipelines. The project is distinguished by a flexible syntax that allows for indentation-based styling, meaning curly braces, colons, and semicolons can be omitted. It further differentiates itself through a JavaScript-driven plugin pipeline and the ability to extend the native syntax with custom JavaScript functions for complex logic. Its capability sur

    Computes mathematical, logical, and color values during the compilation phase using a custom evaluator.

    JavaScriptcsspreprocessorstyl
    View on GitHub↗11,323
  • microsoft/stlmicrosoft avatar

    microsoft/STL

    11,084View on GitHub↗

    This project is a C++ Standard Library implementation that provides the foundational classes and functions required by the ISO C++ standard. It serves as a template-based generic programming library, providing the Standard Template Library's set of containers, algorithms, and iterators for data manipulation. The library is a core component of the MSVC toolchain, designed specifically for integration with the Microsoft Visual C++ compiler and build tools. The implementation covers memory management through optimized allocators and buffer strategies, as well as tools for performance benchmarki

    Calculates complex expressions and object states during the build process using constexpr to reduce runtime overhead.

    C++
    View on GitHub↗11,084
  • xcatliu/typescript-tutorialxcatliu avatar

    xcatliu/typescript-tutorial

    10,752View on GitHub↗

    This is a comprehensive tutorial for learning TypeScript, designed for JavaScript programmers who want to understand the language's type system and modern features. The resource covers TypeScript's core identity, including its structural type compatibility, compile-time type erasure, declaration file merging, and the discriminated union pattern for precise type narrowing. The tutorial distinguishes itself by providing a progressive learning path from basic JavaScript concepts to advanced TypeScript patterns. It covers generic type parameter constraints, tuple types with fixed-length positions

    Teaches how TypeScript infers array types from the best common type of elements.

    TypeScriptjavascripttutorialtypescript
    View on GitHub↗10,752
  • wuye9036/cpptemplatetutorialwuye9036 avatar

    wuye9036/CppTemplateTutorial

    10,602View on GitHub↗

    This project is a C++ template tutorial and metaprogramming guide. It provides instructional content on using templates to implement generic programming and execute Turing-complete logic during the compilation process. The guide serves as a reference for static type dispatching, substitution failure, and the use of concepts to ensure type safety. It covers methods for selecting function implementations at compile time to eliminate runtime branching. The material addresses compile-time type manipulation, including the transformation of type qualifiers and the use of constraints to prevent inv

    Provides instructional content on computing constant expressions and results during the compilation phase to reduce runtime overhead.

    C++
    View on GitHub↗10,602
  • webassembly/binaryenWebAssembly avatar

    WebAssembly/binaryen

    8,354View on GitHub↗

    Binaryen is a WebAssembly compiler toolchain and optimizer designed to transform, validate, and shrink binary modules. It provides a comprehensive intermediate representation framework that converts binary code into a single-assignment form to enable advanced program analysis and code transformation. The project includes a specialized transformation engine that applies iterative optimization passes to increase execution speed and reduce binary size. Additionally, it functions as a transpiler that translates WebAssembly binary modules into executable JavaScript for environments that lack nativ

    Executes parts of functions during the build process to compute results at compile-time.

    WebAssemblyc-plus-pluscompilersemscripten
    View on GitHub↗8,354
  • retorquere/zotero-better-bibtexretorquere avatar

    retorquere/zotero-better-bibtex

    6,833View on GitHub↗

    Make Zotero effective for us LaTeX holdouts

    Compiles user-defined citation key patterns into executable functions using a custom expression parser.

    TypeScriptbibbiblatexbibtex
    View on GitHub↗6,833
  • rust-lang/rfcsrust-lang avatar

    rust-lang/rfcs

    6,632View on GitHub↗

    The Rust RFCs repository is the formal home for the Rust language evolution process, housing the structured design documents and community review mechanisms that govern changes to the Rust programming language, its compiler, and its standard library. It defines the complete lifecycle for proposing, discussing, and implementing substantial changes through RFC documents, from initial submission and community feedback through final comment periods and sub-team sign-offs. The repository codifies the governance and collaboration processes that shape Rust's development, including mechanisms for com

    Evaluates a block expression at compile time, allowing items and a trailing constant expression to define static values.

    Markdownrfcrfc-processrust
    View on GitHub↗6,632
  • evcxr/evcxrevcxr avatar

    evcxr/evcxr

    6,531View on GitHub↗

    EvalXR is an interactive Rust compiler that compiles code into dynamically loaded libraries for iterative evaluation without restarting the process. It serves as a Rust Jupyter kernel, a notebook runtime, and a REPL environment, all with state retention across evaluations. The project provides a stateful Rust evaluation engine that runs code snippets in isolated sandboxes while keeping functions and variables alive between executions. It supports cell-based execution, compiling Rust code into a shared library and loading it into the same process to preserve state, with an error-aware compilat

    Compiles Rust code into shared libraries at runtime for iterative evaluation without restarting the process.

    Rust
    View on GitHub↗6,531
  • roc-lang/rocroc-lang avatar

    roc-lang/roc

    6,191View on GitHub↗

    Roc is a statically typed, functional programming language built around immutable-by-default semantics, exhaustive pattern matching on tag unions, and a type system that combines optional explicit annotations with full compile-time type inference. Its core identity centers on correctness and expressiveness, using tagged unions for error handling with a question-mark operator for early error propagation, and a trailing-bang naming convention that makes side-effect boundaries syntactically visible at every call site. The language distinguishes itself through a platform-based I/O abstraction tha

    Provides block expressions that group statements and evaluate to the last expression's value.

    Zig
    View on GitHub↗6,191
  • c3lang/c3cc3lang avatar

    c3lang/c3c

    5,933View on GitHub↗

    c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static libraries, or dynamic libraries using an LLVM backend. It implements a system based on result-based error handling, scoped memory pooling, and a semantic macro system. The compiler provides first-class support for hardware-backed SIMD vectors that map directly to processor instructions and enables runtime polymorphism through interface-based dynamic dispatch. The project covers a broad set of low-level capabilities, including manual and pooled memory management, inline assembly inte

    C3 computes values and executes logic during the compilation phase to optimize runtime performance.

    C3c3compilerlanguage
    View on GitHub↗5,933
  • terraform-linters/tflintterraform-linters avatar

    terraform-linters/tflint

    5,852View on GitHub↗

    TFLint is a static analysis tool and infrastructure-as-code validator designed to identify errors and enforce best practices within Terraform configuration files. It functions as a quality gate for automated workflows and a language server that provides real-time diagnostics and linting errors directly within supported text editors. The project utilizes a gRPC plugin framework that allows for the integration of custom provider-specific validation rules via independent binaries and a dedicated SDK. This architecture separates core linting logic from cloud-specific validation, supporting the au

    Simulates the final instantiated resource structure by expanding dynamic blocks and loops for comprehensive analysis.

    Go
    View on GitHub↗5,852
  • chai2010/go-ast-bookchai2010 avatar

    chai2010/go-ast-book

    5,505View on GitHub↗

    go-ast-book is a collection of educational and technical resources focused on abstract syntax tree analysis, compiler development, and static code verification. It provides guides and manuals for parsing, traversing, and analyzing Go source code to extract semantic meaning. The project serves as a reference for building compiler frontends, covering the translation of high-level code into intermediate representations and single static assignment forms. It also provides instructions for using these techniques to develop language tooling and perform static code analysis. The resources cover a b

    Implements the retrieval of resulting types for complex expressions at compile time without executing the code.

    Go
    View on GitHub↗5,505
  • tjanczuk/edgetjanczuk avatar

    tjanczuk/edge

    5,439View on GitHub↗

    This project is a polyglot runtime bridge and interop framework designed to execute .NET and Node.js code within a single operating system process. It functions as a cross-runtime execution engine and in-process scripting host, enabling bidirectional communication and data exchange between the Common Language Runtime and JavaScript environments to eliminate cross-process communication overhead. The framework distinguishes itself by providing a system for bidirectional asynchronous callbacks and automatic data marshalling of binary buffers and serializable values between different managed obje

    Compiles source scripts into delegates at runtime to execute managed code within the current process.

    C++
    View on GitHub↗5,439
  • microsoft/typescript-handbookmicrosoft avatar

    microsoft/TypeScript-Handbook

    4,855View on GitHub↗

    This project is a comprehensive guide and educational resource for the TypeScript language. It covers the fundamental principles of the language, including its structural type system, static type analysis, and the process of transpiling typed source files into JavaScript. The material details how to model complex data and reusable type logic using generics, conditional types, and mapped types. It also explains the use of declaration files to provide type safety for external JavaScript libraries and the integration of type checking into existing JavaScript projects via JSDoc annotations. The

    Describes how the compiler determines and enforces the types of elements within arrays.

    JavaScriptdocumentationlearntypescript
    View on GitHub↗4,855
  • ericniebler/range-v3ericniebler avatar

    ericniebler/range-v3

    4,376View on GitHub↗

    This is a C++ ranges library and extension to the Standard Template Library that provides a collection of composable algorithms and lazy views for processing data sequences. It functions as a lazy sequence processing framework and a template meta-programming library for manipulating type lists and performing compile-time type computations. The project enables functional programming patterns in C++ through the use of pipe syntax and partial application to create readable, left-to-right data transformation chains. It allows for the construction of lazy data pipelines that filter and transform e

    Implements mechanisms to determine the most compatible reference type between two different types at compile time.

    C++
    View on GitHub↗4,376
  • segmentio/mythsegmentio avatar

    segmentio/myth

    4,291View on GitHub↗

    Myth is a CSS build tool and preprocessor that transforms modern styling specifications and future syntax into compatible code for current web browsers. It functions as a polyfill tool, converting advanced features into standard CSS to ensure consistent cross-browser rendering. The project provides automated vendor prefixing based on browser support data and resolves CSS variables into static values for legacy browser compatibility. It also handles the transpilation of custom media query aliases and the manipulation of advanced color functions into standard formats. The toolset includes a co

    Calculates mathematical operations and color functions during the compilation phase to eliminate runtime overhead.

    JavaScript
    View on GitHub↗4,291
Prev12Next
  1. Home
  2. Programming Languages & Runtimes
  3. Compile-Time Expression Evaluation

Explore sub-tags

  • Block Expression Evaluations1 sub-tagLanguage constructs that evaluate a block expression at compile time, allowing items and a trailing constant expression to define static values. **Distinct from Compile-Time Expression Evaluation:** Distinct from Compile-Time Expression Evaluation: focuses on evaluating entire block expressions (with items) rather than individual constant expressions or function results.
  • Citation Key Pattern CompilersCompiles user-defined citation key patterns into executable functions using a custom expression parser and evaluator. **Distinct from Compile-Time Expression Evaluation:** Distinct from Compile-Time Expression Evaluation: focuses on compiling citation key patterns specifically, not general constant expression computation.
  • Dynamic Identifier ResolutionResolution of strings into variables or function calls during the compilation phase. **Distinct from Compile-Time Expression Evaluation:** Distinct from Compile-Time Expression Evaluation which covers constant folding; this specifically handles string-to-symbol resolution for dynamic identifiers.
  • Expression StringificationConversion of code expressions or macro parameters into literal strings during compilation. **Distinct from Compile-Time Expression Evaluation:** Unlike general expression evaluation, this focuses specifically on converting code patterns into strings for logging or generation.
  • Runtime Code Compilation1 sub-tagCompiles code into shared libraries at runtime for in-process evaluation and state persistence. **Distinct from Compile-Time Expression Evaluation:** Distinct from Compile-Time Expression Evaluation: evaluates code at runtime by compiling into shared libraries, not computing constant expressions during compilation.
  • Type Determination1 sub-tagRetrieval of the resulting type of an expression at compile time without execution. **Distinct from Compile-Time Expression Evaluation:** Distinct from general expression evaluation by focusing specifically on the extraction of the type rather than the computed value.