douglasjsellers / racc Goto Github PK
View Code? Open in Web Editor NEWRuby implementation of YACC
Home Page: http://i.loveruby.net/en/projects/racc/
Ruby implementation of YACC
Home Page: http://i.loveruby.net/en/projects/racc/
Racc README =========== Racc is a LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. NOTE: Ruby 1.8.x comes with Racc runtime module. You can run your parsers generated by racc 1.4.x out of the box. Requirement ----------- * ruby version 1.6.x or later. (*) make and C compiler. Installation ------------ Type this in the top directory of the extracted archive: $ ruby setup.rb config $ ruby setup.rb setup ($ su) # ruby setup.rb install You can install Racc into your favorite directory by giving options to setup.rb. e.g. $ ruby setup.rb config --prefix=/usr For details, try "ruby setup.rb --help". If you don't have C Compiler ---------------------------- You can install Racc without C compilers. Type following command in config phase. $ ruby setup.rb config --without-ext Testing 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 works? For details of Racc, see HTML documents placed under 'doc.en/' and sample grammer 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 provide those files under any licenses you want. Bug Reports ----------- Any kind of bug reports are welcome. If you find a bug of Racc, please email me. Your grammer file, debug output genereted by "racc -g", are helpful. Minero Aoki [email protected] http://i.loveruby.net
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.