176 Repositories
Rust toy-compiler Libraries
Rust (MIR) → SPIR-V (Shader) compiler
inspirv-rust UPDATE 2: Next design iteration would probably be based on HIR instead of MIR. See more details here. In the meantime, you might want to
Rust - Empowering everyone to build reliable and efficient software.
The Rust Programming Language This is the main source code repository for Rust. It contains the compiler, standard library, and documentation. Note: t
Tools - The Rome Toolchain. A linter, compiler, bundler, and more for JavaScript, TypeScript, HTML, Markdown, and CSS.
Rome is currently being rewritten in Rust. Read more about it in our latest blog post. The documentation below is out of date and available for poster
RustPython - A Python Interpreter written in Rust
RustPython A Python-3 (CPython = 3.9.0) Interpreter written in Rust 🐍 😱 🤘 . Usage Check out our online demo running on WebAssembly. RustPython req
A parser, compiler, and virtual machine evaluator for a minimal subset of Lua; written from scratch in Rust.
lust: Lua in Rust This project implements a parser, compiler, and virtual machine evaluator for a minimal subset of Lua. It is written from scratch in
My 'Lugli' language compiler for learning purposes, written in rust. 🥰🤠
Lugli language compiler My 'Lugli' language compiler for learning purposes, written in rust. This language is to be a subset for other purposes, for e
A Rust compiler plugin and support library to annotate overflow behavior
overflower This project contains a compiler plugin and supporting library to allow the programmer to annotate their code to declare how integer overfl
A toy-clone of ping
Rong Ping is a simple command that is used to check the liveness of a server. Ping measures the round-trip time for messages sent from the originating
An esoteric language/compiler written with Rust and Rust LLVM bindings
MeidoLang (メイドラング) A not so useful and esoteric language. The goal of this project was to contain some quirky or novel syntax in a stack-style program
The compiler of the okta programming language.
oktac The compiler of the okta programming language. For more information please visit the official website, and to quickly get okta running refer to
a (soon to be) calculator frontend and a (soon to be optimizing) toy IR backend
Zach-Calc Zach-Calc is a pet project for me to try and better understand pattern matching, optimization, IRs, and the likes. ./libs/* contains librari
A simple Pascal interpreter written in rust.
rascal A simple Pascal interpreter written in rust. Usage Download the latest rascal executable from the release page. Run the executable. rascal.exe
Zero-Knowledge Assembly language and compiler
zkAsm A Zero-Knowledge circuit assembly language, designed to represent Zero-Knowledge circuits in a compressed format, to be stored on blockchains. I
swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.
Make the web (development) faster. SWC (stands for Speedy Web Compiler) is a super-fast TypeScript / JavaScript compiler written in Rust. It's a libra
DWARF packaging utility, written in Rust, supporting GNU extension and DWARF 5 package formats.
thorin thorin is an DWARF packaging utility for creating DWARF packages (*.dwp files) out of input DWARF objects (*.dwo files; or *.o files with .dwo
The first cesil transpiler/compiler in 50 years!
CesilC CESIL, or Computer Education in Schools Instruction Language, is a programming language designed to introduce pupils in British secondary schoo
A language that ports⚓: examining the limits of compilation⚙️.
⚓ harbor ⚓ A language that ports: examining the limits of compilation. Demo | Crates | Contact Me Written in Rust 🦀 💖 NOTE: Click the images above f
A standalone Forth interpreter/compiler for WebAssembly.
ForSM A standalone Forth interpreter/compiler for WebAssembly. Bootstrapped from a Rust program, but the ultimate goal for it is to be self-hosting. A
gors is an experimental go toolchain written in rust (parser, compiler).
gors gors is an experimental go toolchain written in rust (parser, compiler). Install Using git This method requires the Rust toolchain to be installe
A frontend web compiler for building slim UIs.
Delgada ❗️ Warning: This is not production ready software and is in very active development. ❗️ What is Delgada? Delgada is a small frontend compiler
Abstract bootstraps.
abstraps Extensible compiler middle layer with abstract interpreters. This project started off as an experiment in compiler design. Specifically, the
Use explicit container types with Scrypto! Leverage the Rust compiler's type checking to increase security and productivity when developing Radix blueprints.
Scrypto Static Types Use explicit container types with Scrypto! Leverage the Rust compiler's type checking to increase security and productivity when
A toy re-implementation of GNU Grep by Rust.
Mini Grep Mini Grep is a simple rust re-implementation of GNU Grep, which means it could just implement limited functions, such as searching specific
The Lune Compiler
Lune A small C like programming language with the goal of compiling to C. Progress: Lexing Parsing AST generation Type checking Codegen Syntax # A com
mBrowser is a toy browser developed from scratch for learning purpose.
mBrowser is a toy browser developed from scratch for learning purpose.
A fusion of OTP lib/dialyzer + lib/compiler for regular Erlang with type inference
Typed ERLC The Problem I have a dream, that one day there will be an Erlang compiler, which will generate high quality type-correct code from deduced
miniature: a toy deep learning library written in Rust
miniature: a toy deep learning library written in Rust A miniature is a toy deep learning library written in Rust. The miniature is: implemented for a
kani - 64 bit multiboot toy OS written in Rust
kani - 64 bit multiboot toy OS written in Rust Sorry, no GUI, Serial only.
Bril: A Compiler Intermediate Representation for Learning
Bril: A Compiler Intermediate Representation for Learning Bril (the Big Red Intermediate Language) is a compiler IR made for teaching CS 6120, a grad
Jex Compiler Server - Server that runs Jex code
Server that compiles and runs Jex code.
Program analysis playground for a simple, imperative language
Proggers Proggers is a program analysis playground for a simple, imperative language. Features Numerical analysis using abstract interpretation Type-c
P523 is a classic compiler course taught by R. Kent Dybvig.
P523 is a classic compiler course taught by R. Kent Dybvig. This repo implements the course using Rust, provides a framework to help you master P523.
Gecko is a high-level, general-purpose programming language built on top of the LLVM project.
Gecko is a high-level, general-purpose programming language built on top of the LLVM project. Gecko Technology & principles Gecko is a general-purpose
A compiler for a language representing plonk circuits
Plang A language representing PLONK circuits. Compiler This repository contains a compiler for a language representing PLONK circuits. It allows circu
Rust seL4 toy system built on ferros for the imx6 sabrelite platform
Rust seL4 toy system built on ferros for the imx6 sabrelite platform ferros: A Rust-based userland which also adds compile-time assurances to seL4 dev
ttvm is a runtime and compiler infrastructure written in Rust.
ttvm - Runtime and compiler infrastructure ttvm is a runtime and compiler infrastructure written in Rust. Usage Add the following to your Cargo.toml:
Solidity-Compiler Version Manager
Solidity Compiler Version Manager
zkSnark circuit compiler
Quickstart == Get started here ℹ Important deprecation note The old circom compiler written in Javascript will be frozen, but it can still be downloa
A Brainheck compiler written in Rust.
Brainhecc A compiler for Brain[hecc] programs, written in Rust with Cranelift. It compiles any valid Brainhecc program into an executable binary. Inst
A super-lightweight Lua microservice (toy) framework.
Hive A super-lightweight microservice (toy) framework written in Rust. It uses Lua as interface to provide simple, fun developing experience and fast
Template for Cargo based SysY compiler projects.
基于 Cargo 的 SysY 编译器项目模板 该仓库中存放了一个基于 Cargo 的 SysY 编译器项目的模板, 你可以在该模板的基础上进行进一步的开发. 该仓库中的 Rust 代码实现仅作为演示, 不代表你的编译器必须以此方式实现. 如你需要使用该模板, 建议你删掉所有 Rust 源文件, 仅
Toy language that output pseudocode, pascal and graphviz dot
pseudoc pseudoc is a project I made for school because we needed to write our programs in three different formats: Pascal, pseudocode (similar in stru
Very overengineered Brainfuck compiler tools
BFVM - The overengineered brainfuck compiler tool Why? just learning about some codegen stuff Why so pathetic? The whole concept is pathetic. This is
Bell is a work in progress programming language that compiles to MCfunction (Minecraft's language for creating datapacks).
Bell is a work in progress programming language that compiles to MCfunction (Minecraft's language for creating datapacks). It provides a higher level,
Windows game hack helper utilities in rust.
⚗️ toy-arms Windows game hack helper utilities in rust. This crate has some useful macros, functions and traits. 🔥 How to use this crate? With this c
Vue's template compiler reimplemented in Rust!
Vue's template compiler reimplemented in Rust!
Turbine is a toy CLI app for converting Rails schema declarations into equivalent type declarations in other languages.
Turbine Turbine is a toy CLI app for converting Rails schema declarations into equivalent type declarations in other languages. It’s described as a to
Vue's template compiler reimplemented in Rust!
vue template compiler in Rust https://github.com/vuejs/rfcs/discussions/369#discussioncomment-1192421 Maybe in the long run we want the whole transfor
A compiler for the esoteric language ℂ.
The ℂ Programming Language It's a language where the only types are "complex number" and "matrix of complex numbers". In particular, this means you ca
An example of Brainf*** JIT-compiler with only the standard library.
jit-compiler An example of Brainf*** JIT-compiler with only the standard library. Prerequisite Rust(1.56.0-nightly or later, but it must work kind of
A memory safe Lua interpreter
Hematita Da Lua Hematita Da Lua is an interpreter for the scripting language Lua, written entirely in 100% safe Rust. Hematita is the portugese word f
Lineiform is a meta-JIT library for Rust interpreters
Lineiform Lineiform is a meta-JIT library for Rust interpreters. Given an interpreter that uses closure generation, it allows an author to add minimal
Lumen - A new compiler and runtime for BEAM languages
An alternative BEAM implementation, designed for WebAssembly
Fegeya Gretea (aka green tea), new generation programming language.
Fegeya Gretea Gretea (aka green tea), new generation programming language. A taste of Gretea's syntax: import tea.green.fmt module hello { fn hel
A fancy diagnostics & error reporting crate
A fancy diagnostics & error reporting crate
The nightly_crimes!{} macro commits horrible crimes to allow you to enable nightly features on the stable compiler.
The nightly_crimes!{} macro commits horrible crimes to allow you to enable nightly features on the stable compiler.
(MERGED) Rust bindings for TVM runtime
DEPRECATED The RFC is closed and this has been merge into TVM. TVM Runtime Frontend Support This crate provides an idiomatic Rust API for TVM runtime
dm-jitaux is a Rust-based JIT compiler using modified auxtools, dmasm and Inkwell LLVM wrapper for boosting Byond DM performance without any hassle!
dm-jitaux is a Rust-based JIT compiler using modified auxtools, dmasm and Inkwell LLVM wrapper for boosting Byond DM performance without any hassle (such as rewriting/refactroing your DM code).
rust-analyzer is a modular compiler frontend for the Rust language
rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
The official zeta compiler
Zeta What makes Zeta the goto language for creating CLI's? Smaller Executables Inbuilt argument and flag parser Your path seperators are automatically
The official zeta compiler
Torq What makes Torq the goto language for creating CLI's? Smaller Executables Inbuilt argument and flag parser Your code will work anywhere in any OS
The official torq compiler
Torq What makes Torq the goto language for creating CLI's? Smaller Executables Inbuilt argument and flag parser Your code will work anywhere in any OS
A Python compiler targeting JS, implemented in Rust.
A Python compiler targeting JavaScript, implemented in Rust.
Take your first step in writing a compiler. Implemented in Rust.
first-step-rust Take your first step in writing a compiler, using Rust. Building from Source Make sure the Rust toolchain is installed on your compute
A simple programming language for everyone.
Slang A simple programming language for everyone, made with Rust. State In very early stages. Plan is to create a byte-code compiler and make that exe
The hash programming language compiler
The Hash Programming language Run Using the command cargo run hash. This will compile, build and run the program in the current terminal/shell. Submit
Theseus is a modern OS written from scratch in Rust that explores 𝐢𝐧𝐭𝐫𝐚𝐥𝐢𝐧𝐠𝐮𝐚𝐥 𝐝𝐞𝐬𝐢𝐠𝐧, novel OS structure, and state management. It strives to close the semantic gap between compiler and hardware in order to maximally leverage the power of language safety, and thus shift OS responsibilities (resource management) into the compiler.
Theseus OS Theseus is a new OS written from scratch in Rust to experiment with novel OS structure, better state management, and how to shift OS respon
Milho (corn in portuguese) is a toy dialect of Lisp written as a way to learn more about compilers
Milho (corn in portuguese) is a toy dialect of Lisp written as a way to learn more about compilers. There are implementations in rust and go
OpenStreetMap flatdata format and compiler
osmflat Flat OpenStreetMap (OSM) data format providing an efficient random data access through memory mapped files. The data format is described and i
High-performance automatic differentiation of LLVM.
The Enzyme High-Performance Automatic Differentiator of LLVM Enzyme is a plugin that performs automatic differentiation (AD) of statically analyzable
Open deep learning compiler stack for cpu, gpu and specialized accelerators
Open Deep Learning Compiler Stack Documentation | Contributors | Community | Release Notes Apache TVM is a compiler stack for deep learning systems. I
sublingual: toy versions of existing programming languages
sublingual: toy versions of existing programming languages This is a collection of toy languages created by taking much "larger" languages (e.g. Rust)
An inquiry into nondogmatic software development. An experiment showing double performance of the code running on JVM comparing to equivalent native C code.
java-2-times-faster-than-c An experiment showing double performance of the code running on JVM comparing to equivalent native C code ⚠️ The title of t
Compiler for Jade-like template language to cito.js-based virtual dom
Marafet A very experimental DSL for creating (mostly) single page applications in HTML. It's mostly a Jade-like (or Haml-like) templating language wit
FlatBuffers compiler (flatc) as API (with focus on transparent `.fbs` to `.rs` code-generation via Cargo build scripts integration)
FlatBuffers flatc API for Rust This crate provides a programmatical way to invoke flatc command (e.g. from build.rs) to generate Rust (or, in fact, an
A toy ray tracer in Rust
tray_rust - A Toy Ray Tracer in Rust tray_rust is a toy physically based ray tracer built off of the techniques discussed in Physically Based Renderin