colm icon indicating copy to clipboard operation
colm copied to clipboard

[colm] go grammar results in huge output file

Open adrian-thurston opened this issue 5 years ago • 0 comments

There are two factors leading to huge output files in go.

  1. using utf8 directly in the lexer <- affects more
  2. patterns for inserting semis

Would be nice to have an additional pass on the input before going to the parser that allows transformations. The same technique could be used both for transformation from utf8 to unicode and for inserting semis. it would be a chain either before or after lexing.

adrian-thurston avatar Dec 13 '19 02:12 adrian-thurston