Project

General

Profile

Actions

Feature #19637

closed

Use Lrama LALR parser generator instead of Bison

Added by yui-knk (Kaneko Yuichiro) 11 months ago. Updated 11 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:113450]

Description

I want to propose to use Lrama LALR parser generator instead of Bison.

https://github.com/yui-knk/lrama is a pure ruby parser generator which accepts Ruby's "parse.y" and generate compatible "parse.c" file.
By this change, we never depend on Bison whose version is different for each environment.
Future improvement, like Nonterminal attributes and so on, will be discussed other tickets.

Updated by hsbt (Hiroshi SHIBATA) 11 months ago

I'm +1 to this because we should reduce required dependencies.

Updated by matz (Yukihiro Matsumoto) 11 months ago

Sounds great. We will no longer suffer bison compatibility issues.

Matz.

Updated by yui-knk (Kaneko Yuichiro) 11 months ago

  • Status changed from Open to Closed

I merge https://github.com/ruby/ruby/pull/7798 then close this ticket.

Actions

Also available in: Atom PDF

Like4
Like3Like3Like0