awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
opal avatar

opal/opal

0
View on GitHub↗
4,923 stars·336 forks·Ruby·MIT·11 viewsopalrb.com↗

Opal

Opal is a Ruby frontend framework and compiler that translates Ruby source code into JavaScript. It functions as a web runtime that allows for the development of client-side web applications using Ruby instead of JavaScript.

The project includes a Ruby HTML template engine that evaluates Ruby code embedded directly within markup files. It further integrates with JavaScript environments by bundling core libraries and dependencies into a distribution string for execution in a web browser.

The system provides capabilities for Ruby to JavaScript compilation and the ability to encode and decode Base64 data.

Features

  • Source-to-JavaScript Transpilers - Translates Ruby source code into functionally equivalent JavaScript for browser and Node.js execution.
  • Runtime Distribution Bundles - Bundles core libraries and required dependencies into a single distribution string for browser execution.
  • Ruby Environments - Implements a runtime environment that allows Ruby to execute within a web browser.
  • Source Code Compilers - Transforms high-level Ruby source code into an executable format for browser environments.
  • Standalone Runtime Bundling - Combines the core language implementation and dependencies into a single portable distribution file.
  • Client-Side Ruby Frameworks - Provides a toolset for building client-side web applications using Ruby instead of JavaScript.
  • Abstract Syntax Tree Parsing - Provides abstract syntax tree parsing to map Ruby semantics onto JavaScript expressions.
  • Embedded Script Execution - Allows Ruby logic to be executed within a larger web application context.
  • Standard Library Polyfills - Implements Ruby standard library behavior using JavaScript prototypes to maintain language consistency.
  • Embedded Logic Evaluators - Evaluates Ruby logic directly within HTML markup files using a specialized parser.
  • Ruby Template Engines - Implements a template system to generate markup using embedded Ruby logic.
  • Language Implementations - Compiler for translating Ruby to JavaScript.
  • Ruby Frameworks and Tools - Ruby to JavaScript transpiler.

Star history

Star history chart for opal/opalStar history chart for opal/opal

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Opal

Similar open-source projects, ranked by how many features they share with Opal.
  • yuin/gopher-luayuin avatar

    yuin/gopher-lua

    6,933View on GitHub↗

    Gopher-lua is a complete implementation of the Lua language and its standard libraries written natively in Go. It serves as an embedded scripting engine and virtual machine that allows Go applications to execute Lua scripts and exchange data between the host and the script environment. The project provides a bytecode compiler to transform source code into a binary format for faster execution. It enables deep integration between the two languages by allowing the registration of native Go functions to be called from scripts, and the invocation of script functions directly from Go. The engine c

    Gogogopher-lualua
    View on GitHub↗6,933
  • mruby/mrubymruby avatar

    mruby/mruby

    5,584View on GitHub↗

    mruby is a lightweight Ruby interpreter designed to be embedded into C applications. It compiles Ruby source code into a compact, platform-independent bytecode that executes on a register-based virtual machine, and exposes a stable C API for host programs to initialize the interpreter, load bytecode, and invoke Ruby methods at runtime. The interpreter distinguishes itself through a tightly coupled parser and compiler that performs lexical analysis, syntax parsing, and bytecode generation in a single pass without constructing an intermediate AST, minimizing memory overhead. It also includes a

    C
    View on GitHub↗5,584
  • reasonml/reasonreasonml avatar

    reasonml/reason

    10,313View on GitHub↗

    Reason is a strongly typed functional language and multi-target compiler designed to produce either JavaScript for web environments or native machine code for operating systems. It serves as an OCaml-compatible language that shares an abstract syntax tree with OCaml, providing a practical syntax for the OCaml ecosystem. The project functions as a type-safe frontend language, incorporating JSX support to build user interfaces through structural elements that translate into type-safe function calls. It enables deep integration with the JavaScript ecosystem, allowing the use of existing librarie

    OCamljavascriptocamlprogramming-language
    View on GitHub↗10,313
  • facebook/reasonfacebook avatar

    facebook/reason

    10,315View on GitHub↗

    Reason is a statically typed programming language and compiler based on the OCaml ecosystem. It translates high-level, type-safe source code into either JavaScript or OCaml output, providing a typed alternative for web and system development. The language focuses on providing rigorous type safety and a robust module system while integrating with the JavaScript ecosystem. It allows for the development of applications that leverage existing JavaScript libraries while utilizing a more rigid type system to eliminate common runtime crashes and data mismatches. The project covers capabilities incl

    OCaml
    View on GitHub↗10,315
See all 30 alternatives to Opal→

Frequently asked questions

What does opal/opal do?

Opal is a Ruby frontend framework and compiler that translates Ruby source code into JavaScript. It functions as a web runtime that allows for the development of client-side web applications using Ruby instead of JavaScript.

What are the main features of opal/opal?

The main features of opal/opal are: Source-to-JavaScript Transpilers, Runtime Distribution Bundles, Ruby Environments, Source Code Compilers, Standalone Runtime Bundling, Client-Side Ruby Frameworks, Abstract Syntax Tree Parsing, Embedded Script Execution.

What are some open-source alternatives to opal/opal?

Open-source alternatives to opal/opal include: yuin/gopher-lua — Gopher-lua is a complete implementation of the Lua language and its standard libraries written natively in Go. It… mruby/mruby — mruby is a lightweight Ruby interpreter designed to be embedded into C applications. It compiles Ruby source code into… reasonml/reason — Reason is a strongly typed functional language and multi-target compiler designed to produce either JavaScript for web… microsoft/typescript-handbook — This project is a comprehensive guide and educational resource for the TypeScript language. It covers the fundamental… facebook/reason — Reason is a statically typed programming language and compiler based on the OCaml ecosystem. It translates high-level,… elm/compiler — This project is a functional programming compiler and JavaScript transpiler that transforms a statically typed…