Slide 18
Slide 18 text
=> [[:OPEN_PAREN, “(“],
[:STRING, “Halunke“],
[:BAREWORD, “replace“],
[:STRING, “Ha“],
[:BAREWORD, “with“],
[:STRING, “Spe“],
[:CLOSE_PAREN, “)“]]
a = Halunke ::Lexer.new
a.tokenize(‘ ‘)
(“Halunke“ replace “Ha“ with “Spe“)
Lexer