Class: Subtle::Parser
- Inherits:
-
Parslet::Parser
- Object
- Parslet::Parser
- Subtle::Parser
- Defined in:
- lib/subtle/parser.rb
Instance Method Summary collapse
-
#initialize ⇒ Parser
constructor
A new instance of Parser.
Constructor Details
#initialize ⇒ Parser
Returns a new instance of Parser.
3 4 5 6 7 8 9 |
# File 'lib/subtle/parser.rb', line 3 def initialize @monadic_verbs = %w{+ - * / % ^ | & ~} @monadic_adverbs = %w{//: /: / \\} @dyadic_verbs = %w{+ - * / % ^ | & ! = < >} @dyadic_adverbs = %w{/: \:} @function_adverbs = %w{/:} end |