rubex
https://github.com/sciruby/rubex
Ruby
rubex - A Ruby-like language for writing Ruby C extensions.
Rubex::AST::Expression::CommandCall#analyse_statement
Analyse the command call. If the @command is found in the symbol table, it is either a struct member or a method call. If not found, it is assumed to be a Ruby method call and passed on the MethodCall node where it is interpreted likewise. The upside is that Rubex can call arbitrary Ruby methods that are defined in external Ruby scripts and not visible to Rubex at compile time. The downside is that errors with such methods will be visible to the programmer only during runtime.
Edit
git clone [email protected]:sciruby/rubex.git
cd rubex
open lib/rubex/ast/expression.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rubex--AST--Expression--CommandCall-analyse_statement-for-pr
# Commit to gitgit add lib/rubex/ast/expression.rbgit commit -m "better docs for Rubex::AST::Expression::CommandCall#analyse_statement"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rubex--AST--Expression--CommandCall-analyse_statement-for-pr
hub pull-request
# Celebrate!