Ruby Compiler

Open-source Ruby projects categorized as Compiler

Top 8 Ruby Compiler Projects

  • Opal

    Ruby ♥︎ JavaScript

    Project mention: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python | | 2023-03-13

    So ruby has a JS transpiler - opal -

    I tried using it a little bit but the reality is if you need JS to make your app more interactable it's really worth it to just learn some JS. As soon as you need something complex the extra layer of abstraction just gets in the way and becomes more of a headache, and if you don't need anything complex then you don't need JS in the first place.

  • natalie

    a unique Ruby implementation, compiled to C++ (WIP) (by natalie-lang)

    Project mention: ABEND dump #2 | | 2022-11-14

    Since I tried Sorbet, a Ruby type-checker, the idea of building an ahead-of-time compiler for Ruby is a cool side project that has been in my mind for some time now. To my surprise, during Hacktoberfest, I got to know Natalie, this AOT compiler written in C++ by Tim Morgan.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • yjit

    Optimizing JIT compiler built inside CRuby

    Project mention: Install Ruby 3.2.0 with YJIT | | 2023-01-09

    Ruby 3.2.0 is here and it offers some nice additions to the language. One of the most exciting new things is the addition of a compiler, YJIT. YJIT was created by the folks from Shopify and has been producion tested for a while, so it is safe to use in your environment. Some benchmarks show the difference in speed compared to Ruby without YJIT. I'll put some links if you want to know more:

  • tenderjit

    JIT for Ruby that is written in Ruby

    Project mention: JIT Compilers for Ruby and Rails: An Overview | | 2022-09-14

    Clone the repository and run the following commands:

  • fast

    Find in AST - Search and refactor code directly in Abstract Syntax Tree as you do with grep for strings (by jonatas)

    Project mention: ASTs in Ruby - Node Pattern and Introducing RuboCop | | 2022-06-15

    Oh, and that regex bit? Remember how we have Rubular for regex? We have the NodePattern Debugger for ASTs which you will find incredibly helpful, in fact you might open it now and try out some of these examples to make sure I'm not pulling a Fast one. (No, I'm not apologizing for that one.)

  • wok

    Compiler that has been integrated into Okami now

  • typeless

    an interpreter for λ-calculus implemented in ruby (by gurbaaz27)

    Project mention: meet typeless, an interpreter for λ-calculus implemented in ruby | | 2022-11-28
  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • cbfc

    an optimizing brainfuck compiler and interpreter

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). The latest post mention was on 2023-03-13.

Ruby Compiler related posts


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

Project Stars
1 Opal 4,717
2 natalie 774
3 yjit 498
4 tenderjit 405
5 fast 236
6 wok 21
7 typeless 18
8 cbfc 1
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives