Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a class="brand" href="/"><img class="glyph" src="/img/logo.svg" width="32" height="32" alt="go-embedded-ruby logo"> go-embedded-ruby</a>
<nav><a href="/#features">Features</a><a href="/performance/">Performance</a><a href="/#road">Roadmap</a><a href="/#eco">Ecosystem</a></nav>
{{ partial "theme-toggle.html" . }}
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">GitHub</a>
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/mark-github.html" . }}GitHub</a>
</div></header>

<div class="phero"><div class="pwrap">
Expand Down
8 changes: 4 additions & 4 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
<a class="brand" href="/"><img class="glyph" src="/img/logo.svg" width="32" height="32" alt="go-embedded-ruby logo"> go-embedded-ruby</a>
<nav><a href="#features">Features</a><a href="/performance/">Performance</a><a href="#road">Roadmap</a><a href="#eco">Ecosystem</a></nav>
{{ partial "theme-toggle.html" . }}
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">GitHub</a>
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/mark-github.html" . }}GitHub</a>
</div></header>

<div class="hero"><div class="wrap">
<div>
<h1 class="head">A Ruby you can embed,<br><span class="accent">written in Go.</span></h1>
<p class="sub">go-embedded-ruby (<b>rbgo</b>) is a from-scratch Ruby — lexer, parser, compiler, bytecode VM and an AOT backend — that embeds in any Go program and cross-compiles to a single CGO-free binary. Built in the open as a <b>digital common</b> (<i>commun numérique</i>), free to use, study, modify and share under the BSD-3-Clause licence.</p>
<div class="cta">
<a class="btn btn-primary" href="https://github.com/go-embedded-ruby/ruby">Get started →</a>
<a class="btn btn-ghost" href="/performance/">See the benchmarks</a>
<a class="btn btn-primary" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/rocket.html" . }}Get started →</a>
<a class="btn btn-ghost" href="/performance/">{{ partial "icons/graph.html" . }}See the benchmarks</a>
</div>
<div class="trust"><span><b>22,488</b> ruby/spec <code>language/</code>+<code>core/</code> examples passing</span><span><b>~100%</b> of real Ruby parsed</span><span><b>6</b> 64-bit arches</span></div>
</div>
Expand Down Expand Up @@ -98,7 +98,7 @@ <h2>Lexer to AOT, in nine phases.</h2>
<div class="band">
<h2>Ruby that ships like Go.</h2>
<p>One binary. Six architectures. No cgo, no runtime to install. Embed a real Ruby — or compile it away. Open infrastructure, governed as a commons.</p>
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">Read the source on GitHub →</a>
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/mark-github.html" . }}Read the source on GitHub →</a>
</div>
</div></section>

Expand Down
21 changes: 21 additions & 0 deletions layouts/partials/icons/OCTICONS-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 GitHub Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions layouts/partials/icons/graph.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- /* Octicons "graph" (16 px), primer/octicons @primer/octicons-react@19.40.0, copied verbatim, MIT,
(c) GitHub Inc.: the licence is OCTICONS-LICENSE beside this file.
currentColor follows the button in light and dark; aria-hidden, since
the button's text already says where it leads. */ -}}
<svg class="icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" focusable="false"><path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"/></svg>
5 changes: 5 additions & 0 deletions layouts/partials/icons/mark-github.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- /* Octicons "mark-github" (16 px), primer/octicons @primer/octicons-react@19.40.0, copied verbatim, MIT,
(c) GitHub Inc.: the licence is OCTICONS-LICENSE beside this file.
currentColor follows the button in light and dark; aria-hidden, since
the button's text already says where it leads. */ -}}
<svg class="icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" focusable="false"><path d="M6.766 11.328c-2.063-.25-3.516-1.734-3.516-3.656 0-.781.281-1.625.75-2.188-.203-.515-.172-1.609.063-2.062.625-.078 1.468.25 1.968.703.594-.187 1.219-.281 1.985-.281.765 0 1.39.094 1.953.265.484-.437 1.344-.765 1.969-.687.218.422.25 1.515.046 2.047.5.593.766 1.39.766 2.203 0 1.922-1.453 3.375-3.547 3.64.531.344.89 1.094.89 1.954v1.625c0 .468.391.734.86.547C13.781 14.359 16 11.53 16 8.03 16 3.61 12.406 0 7.984 0 3.563 0 0 3.61 0 8.031a7.88 7.88 0 0 0 5.172 7.422c.422.156.828-.125.828-.547v-1.25c-.219.094-.5.156-.75.156-1.031 0-1.64-.562-2.078-1.609-.172-.422-.36-.672-.719-.719-.187-.015-.25-.093-.25-.187 0-.188.313-.328.625-.328.453 0 .844.281 1.25.86.313.452.64.655 1.031.655s.641-.14 1-.5c.266-.265.47-.5.657-.656"/></svg>
5 changes: 5 additions & 0 deletions layouts/partials/icons/rocket.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- /* Octicons "rocket" (16 px), primer/octicons @primer/octicons-react@19.40.0, copied verbatim, MIT,
(c) GitHub Inc.: the licence is OCTICONS-LICENSE beside this file.
currentColor follows the button in light and dark; aria-hidden, since
the button's text already says where it leads. */ -}}
<svg class="icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" focusable="false"><path d="M14.064 0h.186C15.216 0 16 .784 16 1.75v.186a8.752 8.752 0 0 1-2.564 6.186l-.458.459c-.314.314-.641.616-.979.904v3.207c0 .608-.315 1.172-.833 1.49l-2.774 1.707a.749.749 0 0 1-1.11-.418l-.954-3.102a1.214 1.214 0 0 1-.145-.125L3.754 9.816a1.218 1.218 0 0 1-.124-.145L.528 8.717a.749.749 0 0 1-.418-1.11l1.71-2.774A1.748 1.748 0 0 1 3.31 4h3.204c.288-.338.59-.665.904-.979l.459-.458A8.749 8.749 0 0 1 14.064 0ZM8.938 3.623h-.002l-.458.458c-.76.76-1.437 1.598-2.02 2.5l-1.5 2.317 2.143 2.143 2.317-1.5c.902-.583 1.74-1.26 2.499-2.02l.459-.458a7.25 7.25 0 0 0 2.123-5.127V1.75a.25.25 0 0 0-.25-.25h-.186a7.249 7.249 0 0 0-5.125 2.123ZM3.56 14.56c-.732.732-2.334 1.045-3.005 1.148a.234.234 0 0 1-.201-.064.234.234 0 0 1-.064-.201c.103-.671.416-2.273 1.15-3.003a1.502 1.502 0 1 1 2.12 2.12Zm6.94-3.935c-.088.06-.177.118-.266.175l-2.35 1.521.548 1.783 1.949-1.2a.25.25 0 0 0 .119-.213ZM3.678 8.116 5.2 5.766c.058-.09.117-.178.176-.266H3.309a.25.25 0 0 0-.213.119l-1.2 1.95ZM12 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/></svg>
1 change: 1 addition & 0 deletions layouts/partials/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
.theme-toggle:hover{border-color:var(--ghost-border-hover)}
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;padding:11px 18px;
border-radius:12px;border:1px solid transparent;transition:.15s}
.btn .icon{flex:none}
.btn-primary{background:var(--grad);color:#fff;box-shadow:0 10px 24px -10px rgba(220,38,38,.7)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{border-color:var(--line);color:var(--ink);background:var(--surface-2)}
Expand Down
Loading