I have a TODO in omnifocus to fold those in. It's a shame I didn't do that earlier.
./configure --with-ns
make -j 4 bootstrap
(I only rebuild every few months or so, so a bootstrap is safer) % pwd; flog -n -m lib | head
/Users/ryan/Work/p4/zss/src/ruby_parser/dev/
Total Flog = 5284.4 (12.2 +/- 2852.7 flog / method)
RubyLexer#yylex: (1076.9)
RubyLexer#tokadd_string: (146.8)
RubyLexer#read_escape: (130.5)
RubyLexer#heredoc: (118.3)
RubyLexer#heredoc_identifier: (89.6)
RubyParser#literal_concat: (81.2)
RubyParser#assignable: (65.2)
RubyLexer#parse_quote: (63.4)
There is little I can do at this time to clean up the monstrous yylex, but tokadd_string, read_escape, and heredoc are all too big and need some attention to clean them up. Everything else is, relative to those scores, reasonable and can be ignored at this time.