GithubHelp home page GithubHelp logo

sivadeilra / racc Goto Github PK

View Code? Open in Web Editor NEW
123.0 123.0 8.0 865 KB

A port of the Berkeley YACC parser-generator to Rust

License: MIT License

Shell 0.55% C 87.97% Makefile 0.08% C++ 0.12% Rust 7.13% Module Management System 0.03% DIGITAL Command Language 0.19% Yacc 3.39% Roff 0.40% SWIG 0.13%

racc's People

Contributors

brandonchinn178 avatar geraldstanje avatar sivadeilra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

racc's Issues

compile error with rustc 1.4.0-nightly

src/reader.rs:622:39: 622:47 error: no method named as_str found for type syntax::ast::Ident in the current scope
src/reader.rs:622 let name_def_str = id.as_str();
^~~~~~~~
src/reader.rs:666:62: 666:70 error: no method named as_str found for type syntax::ast::Ident in the current scope
src/reader.rs:666 let rhs_name = rhs_ident.as_str();
^~~~~~~~
error: aborting due to 2 previous errors
Could not compile racc.

Project Status/Documentation

What is the current status of this project? I see it on crates.io, but there's no documentation or examples so I don't know how to use it.

build error with rustc 1.2.0-nightly

Hi,

I use rustc 1.2.0-nightly (fbb13543f 2015-06-11).

there are several build errors in src/output.rs and src/reader.rs, e.g.:

src/reader.rs:623:44: 623:48 help: add #![feature(rustc_private)] to the crate attributes to enable
src/reader.rs:626:24: 626:30 error: use of unstable library feature 'rustc_private'

...

src/output.rs:249:44: 249:54 help: add #![feature(convert)] to the crate attributes to enable
src/output.rs:252:33: 252:40 error: use of unstable library feature 'rustc_private'

i updated src/lib.rs and added:

#![feature(rustc_private)]
#![feature(convert)]
#![feature(collections)]

and still get the following error, can you fix it @sivadeilra @brandonchinn178?

src/bin/testg.rs:26:1: 26:8 error: macro undefined: 'grammar!'
src/bin/testg.rs:26 grammar! {

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.