Skip to content
项目分类

编程语言与运行时 · GitHub

探索编程语言、编译器、解释器和运行时。

实用 GitHub 项目

2,509 个项目

tiny-compiler

zakirullin

580星标

一个用于支持 LL(2) 文法的语言的小型编译器,包含词法分析器、解析器、类似 ASM 的代码生成器和虚拟机。它足够复杂,可以让你了解真正的编译器是如何工作的,同时又不只是一个玩具示例。

concrete

zama-ai

1,585星标
concrete preview

Concrete:将 Python 程序转换为等效 FHE 程序的 TFHE 编译器

  • 🚀 Simple Python API for FHE operations
  • 🔒 Built-in security guarantees

prometeo

zanellia

657星标
prometeo preview

面向嵌入式高性能计算的实验性 Python 到 C 转译器和领域特定语言。

  • Python compatible syntax: prometeo is a DSL embedded into the Python language. prometeo programs run in the Python interpreter, where they can be debugged with pdb and combined with any Python code (NumPy, SciPy, matplotlib, CasADi, ...) that is removed when transpiling.
  • NumPy-like linear algebra: matrix and vector expressions such as P = Q + A.T @ P @ A - K.T @ R @ K, K[0:n, n:] = B.T, y = A @ x + B @ u, w = u * v or c : float = x @ Q @ x, with cholesky and cho_solve, are lowered to BLASFEO calls, with temporaries allocated statically.

tao

zesterer

1,165星标
tao preview

一种静态类型函数式语言,支持泛型、类型类、和类型、模式匹配、一等函数、柯里化、代数效应、关联类型,并提供良好的诊断信息等。

  • Hindley-Milner type inference
  • Useful error messages

zenc-lang

Zuhaitz-dev

4,315星标

像用高级语言一样编写,像 C 一样运行。

  • JIT Execution: Code is compiled in-memory and executed directly within the REPL process for lightning-fast feedback.
  • Interactive Coding: Type expressions or statements for immediate evaluation.