Repository navigation
Commit c37039f
landing: v0.4.0, the measured corpus figure, and parse speed stated honestly
- The site named v0.2.0 (2026-09-21) in three places. The real latest tag is v0.4.0,
cut 2026-09-26; main is exactly that tag.
- "every one of the 68 files in the pinned ruby/spec language/ corpus now parses" was
right in substance but wrong in its count: the pinned corpus has 80 _spec.rb files
under language/, and go-ruby-parser parses all 80. Measured here by calling
parser.Parse on each.
- Added a second completeness figure a reader can check: of 47 top-level CRuby 4.0.5
stdlib files MRI accepts, this parser accepts 46.
- Added parse speed, because the repository README's figures did not reproduce. On 46
real stdlib files both engines accept: ~1.9x quicker than Ripper.sexp, and about
1.6x slower than CRuby's own C parser. The landing page previously said nothing
about speed, and the README's claim to beat the C parser is corrected in its own PR.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 1ddb7d2 commit c37039f
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
0 commit comments