Repository navigation
Expand file tree
/
Copy pathhugo.toml
More file actions
52 lines (46 loc) · 2.45 KB
/
Copy pathhugo.toml
File metadata and controls
52 lines (46 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
baseURL = "https://go-ruby-parser.github.io/"
title = "go-ruby-parser"
disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"]
# The design comes from the landing kit, a Hugo module pinned in go.mod.
[module]
[[module.imports]]
path = "github.com/go-fleettools/landingkit"
[markup.goldmark.renderer]
unsafe = true
[[params.repos]]
name = "parser"
url = "https://github.com/go-ruby-parser/parser"
status = "ready"
blurb = "The front-end: `parser.Parse(src) (*ast.Program, error)`, with sub-packages `token`, `ast` and `lexer`. A stateful lexer (MRI `spaceSeen` semantics), a recursive-descent + Pratt expression parser with a scope stack, and a typed AST for a broad, practical subset of **Ruby 4.0** — literals, operators, control flow, `case`/`in` **pattern matching**, methods/blocks, classes/modules/metaprogramming. 100% covered (the gate runs on all three OS lanes; the suite also runs on all six 64-bit targets and on js/wasm and wasip1/wasm), differential-tested against MRI Ruby 4.0.5. Current release **v0.4.0** (2026-09-26): all 80 `_spec.rb` files in the pinned ruby/spec `language/` corpus parse, and the three limitations the docs used to list — paren-less command calls with keyword/splat/block args, default block parameters, and the positional `Class(a)` find-pattern — all parse now. `BEGIN { }` / `END { }` remain the one refusal."
[params.brand]
# Generated by go-fleettools/landingkit from static/img/logo.svg: the colours are
# READ from the logo's gradient, never chosen. Do not add other keys:
# neutrals (backgrounds, surfaces, greys) belong to the shared sheet.
# Contrast: base on white 10.02:1, bright on the dark background 4.00:1.
base = "#7f1d1d"
deep = "#4d1212"
bright = "#dc2626"
shadow = "rgba(127,29,29,.7)"
glow = "rgba(127,29,29,.6)"
wash = "rgba(127,29,29,.10)"
washDeep = "rgba(77,18,18,.06)"
chipBg = "#fbe5e5"
chipBorder = "#f4bebe"
chipFg = "#4d1212"
chipBgDark = "rgba(220,38,38,.14)"
chipBorderDark = "rgba(220,38,38,.32)"
chipFgDark = "#ec8888"
statsEnd = "#f7cbcb"
bandText = "#f9dcdc"
# The hero's buttons, rendered by landingkit's cta.html in the kit's order.
[[params.cta]]
kind = "docs"
href = "/docs/"
label = "Documentation"
[[params.cta]]
kind = "github"
href = "https://github.com/go-ruby-parser/parser"
label = "GitHub"
# The architectures the tests RUN on, read from the library's CI.
[params.mantra]
goarch = ["amd64", "arm64", "riscv64", "loong64", "ppc64le", "s390x"]