Schedule

Yuichiro Kaneko
Yuichiro Kaneko
  • @spikeolaf

The author of Lrama LALR parser generator. Ruby committer.

Ruby's Line Breaks

Line break is one of the interesting characters in Ruby grammar. For example, line break on the first line is ignored but on the fourth line works as separator of statements.

1 +
2

p 1
p 2

This talk will reveal principles and exceptions of line break in Ruby Grammar by analysis of grammar file and introduce new Lrama parser generator feature to reduce implementation complexity of lex state.