Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
marbles
master
Marbles
Interpreter
Navigator
Built with Crystal 1.9.2
2023-10-07 11:13:01 UTC
class
Marbles::Interpreter
Marbles::Interpreter
Reference
Object
Defined in:
marbles/interpreter.cr
Constructors
.new
(lines : Array(String))
Instance Method Summary
#handle
(command : Char)
#next_expression
#next_input
#next_number
#next_string
#next_var
#run
Constructor Detail
def self.
new
(lines : Array(String))
#
[
View source
]
Instance Method Detail
def
handle
(command : Char)
#
[
View source
]
def
next_expression
#
[
View source
]
def
next_input
#
[
View source
]
def
next_number
#
[
View source
]
def
next_string
#
[
View source
]
def
next_var
#
[
View source
]
def
run
#
[
View source
]