7 रिपॉजिटरी
Switch statements that evaluate complex boolean expressions within cases instead of simple constants.
Distinct from Expression Evaluators: Candidates are domain-specific evaluators (health, UI), not general language control flow syntax.
Explore 7 awesome GitHub repositories matching programming languages & runtimes · Expression-Based Switch Cases. Refine with filters or upvote what's useful.
evcc is an open-source home energy management system and solar charging optimization engine. It coordinates solar inverters, electric vehicle chargers, home batteries, and smart devices to route surplus solar energy to load points, optimizing energy use and minimizing grid costs. The platform functions as a multi-protocol charger orchestrator and ISO 15118-2 plug and charge controller, enabling automatic vehicle identification and battery state retrieval. It distinguishes itself through a plugin-based device abstraction layer and protocol-agnostic drivers that unify control across diverse har
Executes a specific write plugin based on a matching integer case value.
Shell is a Windows File Explorer context menu manager and shell UI customizer. It functions as a registry-based shell extension that uses a declarative configuration engine to add, remove, and modify context menu entries within the operating system. The project distinguishes itself through a text-based configuration system that supports logical expressions and conditional rules to control menu item visibility. It allows for the creation of multi-level cascade menus and the integration of custom visual identifiers, including SVG icons and glyphs, directly into the shell interface. Broad capab
Provides a custom logic engine to conditionally show or hide context menu items based on the selected object.
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
Evaluates boolean expressions within case statements to function as an enhanced if-else chain.
This project is a JSON-based form rendering framework and visual creator designed for dynamic data collection. It provides a JavaScript form builder library that transforms JSON schemas into functional web forms and multi-step wizards, with a dedicated visual survey creator for designing layouts and branching logic without writing code. The library is distinguished by its bidirectional PDF integration, which allows the conversion of JSON schemas into fillable PDF documents and the extraction of structured data from existing PDFs. It also features advanced capabilities for creating scored asse
Evaluates a custom string-based expression language to trigger dynamic visibility and branching behaviors based on user input.
Code Tour is a VS Code extension that enables the creation of interactive, step-by-step guided walkthroughs of a codebase. It serves as a tool for guided code documentation, mapping descriptive explanations directly to specific file lines and directories within the editor to assist with codebase onboarding and technical knowledge transfer. The system distinguishes itself through the use of regular expression-based anchoring to maintain step stability across different versions of source code and the ability to export tours as portable files containing the necessary code context for playback wi
Evaluates environment variables and operating system properties to determine tour visibility.
SwiftTips is a curated collection of guides, libraries, and design patterns focused on Swift language mastery, application architecture, and API design. It provides a technical resource for implementing advanced coding techniques and architectural best practices. The project emphasizes creating type-safe and conversational interfaces through strategic protocol composition and generics. It offers specialized patterns for building modular UI systems and managing complex view hierarchies, alongside comprehensive strategies for unit testing and dependency injection. The resource covers a broad s
Leverages array literals within switch cases to verify set membership.
Grin is a compiler infrastructure designed for the translation and optimization of high-level functional languages. It functions as a graph-reduction compiler, transforming source code into a standardized intermediate representation that facilitates whole-program analysis and efficient execution across diverse hardware architectures. The project distinguishes itself through a modular backend infrastructure that separates intermediate representation management from target-specific code generation. By utilizing graph-based transformations, the system performs advanced optimizations such as valu
Optimizes case expressions by propagating values directly through branches to eliminate redundant data wrapping and reduce memory allocations.