7 个仓库
Control structures that determine script execution paths based on exit codes and logical expressions.
Distinct from Conditional Branching: Focuses on standard shell programming conditionals rather than interactive application script management
Explore 7 awesome GitHub repositories matching software engineering & architecture · Conditional Branching. Refine with filters or upvote what's useful.
This project is a comprehensive educational resource and technical guide for Bash shell programming and command-line operations. It serves as a programming guide, scripting reference, and tutorial for navigating Unix-like terminal environments. The documentation covers a broad range of system administration and automation tasks, including remote server administration via secure shell connections and the management of system processes and resources. It provides detailed instructions on executing remote commands and performing secure file transfers between hosts. The guide details core scripti
Provides detailed instructions on using conditional expressions and loops to direct script execution paths.
Flowchart.js is a JavaScript library that converts a simple text-based domain-specific language into SVG flowcharts. It parses DSL keywords to define node types such as start, end, operation, condition, parallel, and subroutine, then renders them as distinct SVG shapes connected by directional paths. The library distinguishes itself through its styling and interactivity capabilities. It supports applying CSS classes to SVG elements for external stylesheet overrides, as well as inline attribute overrides for per-node and per-edge visual properties like fill, stroke, and font. Flowchart.js also
Models decision points and concurrent branches in a process with labeled paths.
This project is a comprehensive Lisp AI implementation library that provides reference implementations for various artificial intelligence paradigms and symbolic algorithms. It functions as a multi-purpose toolkit containing a logic programming engine, a natural language processing suite, and a symbolic mathematics toolkit. The library is distinguished by its diverse architectural frameworks, including a Prolog-style execution engine that uses unification and goal-driven backtracking, and a system for simulating human decision-making through expert system shells and certainty factors. It also
Implements branching and logical testing to execute different code paths based on truth values.
Covers if/then/fi and case constructs for choosing command blocks based on conditions in shell scripts.
Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless integration with existing C libraries and low-level system programming. It manages memory deterministically at compile time using ownership tracking and linear types, eliminating garbage collection pauses and runtime overhead while ensuring type safety through an inferred static type system. The language distinguishes itself through compile-time macro expansion and metaprogramming capabilities, allowing code generation and transformation before final binary output. It enforces
Runs a block of code only when a condition is true or false without requiring an alternative branch.
Teloxide 是一个 Rust 应用框架和 API 封装库,旨在构建 Telegram 机器人。它提供了一个编程接口,用于通过 Telegram Bot API 接收更新和发送消息,利用声明式的过滤器和处理器流水线。 该框架包含一个机器人对话管理器,使用有限状态机来跟踪用户会话和对话流。该状态管理系统支持可插拔的持久化后端,包括内存、Redis 和 Sqlite。 该库涵盖了通过长轮询或 Webhook 传输的异步消息路由和更新接收。它还提供了用于命令解析、类型安全依赖注入和处理器类型验证的工具,以检测不可达的代码路径。
Directs update flows into alternative paths to attempt different handlers when branches are filtered out.
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 branching logic by propagating values directly through conditional expressions to reduce redundant data wrapping.