RPNR is a project mainly written in Ruby, based on the ISC license.
Reverse Polish Notation for Ruby
= Reverse Polish Notation for Ruby =
== Buiding ==
You will need make, lex, and a C compiler.
Run make
== Running ==
The rpnr utility takes RPNR on standard in and outputs valid Ruby on stanadard out.
rpnr < code.rpnr > code.rb
== RPNR Syntax ==
When a non-message is encountered, it is pushed onto the stack.
When a message is encountered:
=== Edge cases ===
'a,b' (a b +) :lambda #=> lambda{|a,b| a.send(:'+', b)}
a 1 = #=> a = 1