Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple PEG parser using treetop to parse 'remind -s' output
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
test
README.md
Rakefile
TODO
remparser.gemspec

README.md

remparser

Author: Patrick Hof courts@offensivethinking.org
License: CC0 1.0 Universal License

Download: git clone http://github.com/courts/remparser.git

remparser is a simple PEG parser written in Treetop to parse the output of 'remind -s' into a data structure. The simple command line program rem2yaml.rb is provided to show its usage. rem2yaml parses remind's output given on STDIN in a YAML data structure.

rem2yaml.rb Command Line Usage

Usage: rem2yaml.rb [options] < $STDIN

Options:
--------
-h      Show this help

Where $STDIN is the output of 'remind -s'

Examples

remind -s12 ~/.reminders 01 Jan 2011 | rem2yaml.rb

RubyGems

A gemspec file is included, so you can build and install remparser as a gem with:

gem build remparser.gemspec
gem install remparser-x.x.x.gem
Something went wrong with that request. Please try again.