awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

3 个仓库

Awesome GitHub RepositoriesStatic Type Assertions

Markers used to hint a specific type to static analyzers without performing actual runtime casting.

Distinct from Type Conversion and Casting: Distinct from runtime casting as it provides no operational bytecode for the cast

Explore 3 awesome GitHub repositories matching programming languages & runtimes · Static Type Assertions. Refine with filters or upvote what's useful.

Awesome Static Type Assertions GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • webmozarts/assertwebmozarts 的头像

    webmozarts/assert

    7,648在 GitHub 上查看↗

    This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit for validating data types, numeric ranges, and string patterns during program execution to prevent invalid states. The project serves as a static analysis helper by providing type hints and annotations that improve the accuracy of formal verification tools. It includes a collection validation utility for applying rules across arrays or iterable collections, and a filesystem validation tool to verify path existence and read or write permissions. The library covers a broad ran

    Provides type hints and assertions that assist static analysis tools in detecting type mismatches during development.

    PHP
    在 GitHub 上查看↗7,648
  • chai2010/go-ast-bookchai2010 的头像

    chai2010/go-ast-book

    5,510在 GitHub 上查看↗

    go-ast-book 是一系列专注于抽象语法树(AST)分析、编译器开发和静态代码验证的教育和技术资源。它提供了解析、遍历和分析 Go 源代码以提取语义含义的指南和手册。 该项目作为构建编译器前端的参考,涵盖了将高级代码转换为中间表示和静态单赋值形式的过程。它还提供了使用这些技术开发语言工具和执行静态代码分析的说明。 这些资源涵盖了广泛的静态分析能力,包括词法标记化、表达式和声明的结构化解析,以及源文件的坐标跟踪。它还详细介绍了语义分析过程,如标识符解析、类型正确性验证,以及针对并发和延迟执行的控制流分析。

    Locates type assertion expressions to determine how a program validates interface types at runtime.

    Go
    在 GitHub 上查看↗5,510
  • tc39/proposal-type-annotationstc39 的头像

    tc39/proposal-type-annotations

    4,386在 GitHub 上查看↗

    This is an ECMAScript proposal that adds static type syntax to JavaScript, enabling type checking without a separate transpilation step. The proposal defines a standard for type annotations, interfaces, generics, and type imports and exports that are stripped during execution, allowing code to run natively in existing JavaScript engines while still being validated by external type checkers. The proposal introduces generic type parameters using angle-bracket syntax on functions, classes, and type declarations, which are removed at runtime. It also provides syntax for type annotations on variab

    Overrides inferred types using assertion syntax without any runtime effect.

    JavaScript
    在 GitHub 上查看↗4,386
  1. Home
  2. Programming Languages & Runtimes
  3. Type Conversion and Casting
  4. Static Type Assertions

探索子标签

  • Type Assertion IdentificationLocating and analyzing expressions that validate interface types at runtime. **Distinct from Static Type Assertions:** Distinct from Static Type Assertions as it identifies actual language constructs used for runtime validation rather than providing hints to a tool.