childprocess
https://github.com/enkessler/childprocess
Ruby
Cross-platform Ruby library for managing child processes.
Racc::Parser#do_parse
The entry point of the parser. This method is used with #next_token.
If Racc wants to get token (and its value), calls next_token.
Example:
def parse
@q = [[1,1],
[2,2],
[3,3],
[false, '$']]
do_parse
end
def next_token
@q.shift
endEdit
git clone [email protected]:enkessler/childprocess.git
cd childprocess
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Racc--Parser-do_parse-for-pr
# Commit to gitgit add git commit -m "better docs for Racc::Parser#do_parse"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Racc--Parser-do_parse-for-pr
hub pull-request
# Celebrate!