Coder Social home page Coder Social logo

curseoff / racc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruby/racc

0.0 0.0 0.0 2.34 MB

Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates ruby programs.

License: GNU Lesser General Public License v2.1

Ruby 46.64% Java 0.78% C 0.52% Ragel in Ruby Host 0.13% HTML 33.09% Yacc 18.84%

racc's Introduction

Racc

DESCRIPTION:

Racc is a LALR(1) parser generator.
It is written in Ruby itself, and generates Ruby programs.

NOTE: Ruby 1.8+ comes with the Racc runtime module. You
can run your parsers generated by racc 1.4.x out of the
box.

Requirements

 *  Ruby 1.8+
(*) make and C compiler.

Installation

gem install:

  $ gem install racc

Testing Racc

Racc comes with a simple calculator. To compile this at the shell:

    $ racc -o calc sample/calc.y

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

    $ ruby calc

... Does it work?

For details about Racc, see the HTML documents under 'doc.en/'
and sample grammar files under 'sample/'.

License

Racc is distributed under the terms of the GNU Lesser General
Public License version 2. Note that you do NOT need to follow
LGPL for your own parser (racc outputs). You can distribute those
files under any licenses you want.

Bug Reports

Any kind of bug reports are welcome.
If you find a bug in Racc, please email me. Your grammar file,
and debug output generated by "racc -g", will be helpful.

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

racc's People

Contributors

alexdowad avatar tenderlove avatar zenspider avatar drbrain avatar headius avatar ocha- avatar eregon avatar agis avatar imginohu avatar vipulnsward avatar inukshuk avatar ybur-yug avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.