module IGOL

Extended Modules

Defined in:

commands.cr
interpreter.cr
parser.cr
state.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.interpret(state : GameOfLife, command : Command) : Tuple(GameOfLife, String) #

def self.interpret(state : State, command : Command) : {State, String}


[View source]

Instance Method Detail

def apply_parser #

[View source]
def coord_parser #

[View source]
def evolve_parser #

[View source]
def parser #

Interactive Game of Life Parser


[View source]
def pattern_parser #

[View source]
def set_var_parser #

[View source]
def show_parser #

[View source]
def signed_int #

Parse.int is not converting into an int. Just matching group of digits within a string


[View source]
def var_parser #

[View source]
def ws #

[View source]