childprocess
https://github.com/enkessler/childprocess
Ruby
Cross-platform Ruby library for managing child processes.
Opal::Compiler#with_temp
Temporary varibales will be needed from time to time in the generated code, and this method will assign (or reuse) on while the block is yielding, and queue it back up once it is finished. Variables are queued once finished with to save the numbers of variables needed at runtime.
Edit
git clone [email protected]:enkessler/childprocess.git
cd childprocess
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Opal--Compiler-with_temp-for-pr
# Commit to gitgit add git commit -m "better docs for Opal::Compiler#with_temp"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Opal--Compiler-with_temp-for-pr
hub pull-request
# Celebrate!