Git Product home page Git Product logo

rsec's Introduction

rsec's People

Contributors

liff avatar luikore avatar opoudjis avatar tbrisker 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rsec's Issues

Installation hiccup

Hi,
I ran 'sudo gem1.9 install rsec' and received the following diagnostics:

Successfully installed rsec-0.3.6
1 gem installed
Installing ri documentation for rsec-0.3.6...
Installing RDoc documentation for rsec-0.3.6...
ERROR: While generating documentation for rsec-0.3.6
... MESSAGE: Error while evaluating /opt/local/lib/ruby1.9/1.9.1/rdoc/generator/template/darkfish/classpage.rhtml: undefined method `gsub' for nil:NilClass (at "method-source-code"\n\t\t\t\t\t\tid="prim-source">\n

\n")
... RDOC args: lib readme.rdoc
(continuing with the rest of the installation)

As You can imagine, the RDoc for rsec is not installed.

Parser graph generation

Add a method to_graph, which outputs a dot file which can be read by graphviz.

Rule names will be a bit strange. Maybe can use parser.name = 'some rule name' ?

Tree parser generator

For uniform optimization (tree transformation) and compiler crafting.

For example, this rule (API is still under considering) will reduce a nested parser to an optimized one:

tree [Until, [Pattern]] do |parser|
  UntilPattern[parser.some.some]
end

fix for StringScanner bug

require 'strscan'
ss = StringScanner.new "\n"
/./ =~ "\n" #=> 0
# but strscan's behavior is strange:
ss.scan /./ #=> nil

ss = StringScanner.new "a\n"
ss.scan /[.\n]/ #=> nil -- this group is interpreted as /\n/

Documentation

Are you OK for me to contribute to your documentation? It's a great tool, but it does need more tutorial material.

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.