Skip to content
项目

关于

Racc 是一个 LALR(1) 解析器生成器。它本身使用 Ruby 编写,并生成 Ruby 程序。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Racc is an LALR(1) parser generator.
It is written in Ruby itself, and generates Ruby program.
*  Ruby 2.5 or later.
gem install:

  $ gem install racc
Racc comes with simple calculator. To compile this, on shell:

    $ racc -o calc calc.y

This process costs few seconds (or less). Then type:

    $ ruby calc

... Does it work?
For details of Racc, see HTML documents placed under 'doc/en/'
and sample grammar files under 'sample/'.
  • Update VERSION number of these files

    • RACC_VERSION in “ext/racc/com/headius/racc/Cparse.java”

    • VERSION in “lib/racc/info.rb”

  • Release as a gem by rake release with CRuby and JRuby because Racc gem provides 2 packages

  • Create new release on GitHub

Racc is distributed under the same terms of ruby.
(see the file COPYING). Note that you do NOT need to follow
ruby license for your own parser (racc outputs).
You can distribute those files under any licenses you want.
Any kind of bug report is welcome.
If you find a bug of Racc, please report an issue at 
https://github.com/ruby/racc/issues. Your grammar file,
debug output generated by "racc -t", are helpful.

                                                    Minero Aoki
                                            [email protected]
                                          http://i.loveruby.net

探索相关项目

加载中…