Project

General

Profile

Actions

Feature #19637

closed

Use Lrama LALR parser generator instead of Bison

Added by yui-knk (Kaneko Yuichiro) over 1 year ago. Updated over 1 year 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) over 1 year ago

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

Updated by matz (Yukihiro Matsumoto) over 1 year ago

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

Matz.

Updated by yui-knk (Kaneko Yuichiro) over 1 year 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