sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Parslet.simple
Returns a placeholder for a tree transformation that will only match
simple elements. This matches everything that <code>#sequence</code>
doesn't match.
# Matches a single header.
{ :header => simple(:header) }
see {Parslet::Transform}Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/parslet/lib/parslet.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Parslet-simple-for-pr
# Commit to gitgit add app/server/ruby/vendor/parslet/lib/parslet.rbgit commit -m "better docs for Parslet.simple"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Parslet-simple-for-pr
hub pull-request
# Celebrate!