Skip to content

Instantly share code, notes, and snippets.

Eric Monti emonti

Block or report user

Report or block emonti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@postmodern
postmodern / c_parser.rb
Created Jan 16, 2011
An ANSI C Parser using the Ruby Parslet library.
View c_parser.rb
#
# A C Parser using the Parslet library.
#
# ANSI C Grammar:
#
# * http://www.lysator.liu.se/c/ANSI-C-grammar-l.html
# * http://www.lysator.liu.se/c/ANSI-C-grammar-y.html
#
require 'parslet'
You can’t perform that action at this time.