Rust Transpiler

Open-source Rust projects categorized as Transpiler

Top 9 Rust Transpiler Projects

  • c2rust

    Migrate C code to Rust

  • Project mention: Converting the Kernel to C++ | news.ycombinator.com | 2024-01-10

    A recent practical example of the former: the fish shell re-wrote incrementally from C++ to Rust, and is almost finished https://github.com/fish-shell/fish-shell/discussions/10123

    An example of the latter: c2rust, which is a work in progress but is very impressive https://github.com/immunant/c2rust

    It currently translates into unsafe Rust, but the strategy is to separate the "compile C to unsafe Rust" steps and the "compile unsafe Rust to safe Rust" steps. As I see it, as it makes the overall task simpler, allows for more user freedom, and makes the latter potentially useful even for non-transpiled code. https://immunant.com/blog/2023/03/lifting/

  • erg

    A statically typed language compatible with Python

  • Project mention: Pylyzer – A fast static code analyzer and language server for Python | news.ycombinator.com | 2024-04-11

    Looking through the code, Pylyzer seems to be a thin wrapper around Erg [1]. To typecheck, it converts your Python AST to an Erg AST, then runs its through the Erg typechecker and returns the errors.

    Faster typechecking for Python is very much needed. But this project seems like it was built in a hackathon —- it is not a true standalone typchecker.

    [1] https://github.com/erg-lang/erg

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Clue

    C/Rust like programming language that compiles into Lua code (by ClueLang)

  • graphqxl

    GraphQXL is a new language built on top of the GraphQL syntax that extends the original language with some additional features useful for creating scalable and big server side schemas. This repository contains the source code for the GraphQXL compiler.

  • lipstick

    You _can_ put lipstick on a pig

  • holymer

    (WIP) A programming language

  • QuartzHDL

    Hardware description language with Rust-like syntax

  • Project mention: An addressable little explored language gap: HDL - Hardware Description Languages, any language used for electronic circuit design, description, and specs | /r/ProgrammingLanguages | 2023-05-03

    Quartz is pretty cool. https://github.com/Artentus/QuartzHDL

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • kalem.rs

    Fegeya Kalem.rs, Rust implementation of Kalem, work-in-progress.

  • elitetopy

    elite -> python3 converter

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Transpiler related posts

Index

What are some of the best open-source Transpiler projects in Rust? This list will help you:

Project Stars
1 c2rust 3,673
2 erg 2,572
3 Clue 332
4 graphqxl 267
5 lipstick 92
6 holymer 42
7 QuartzHDL 4
8 kalem.rs 4
9 elitetopy 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com