| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-26 | FIRRTL version support (#2543) | Zachary Yedidia | |
| * Parse version and hardcode emitted version * Throw error if version is too high * Parse version even if rest is invalid * Change pattern match to if statement * Improve version grammar * Update tests * Remove outdated comment * Simplify grammar and use version class * Simplify and add no version test * Fix for conflicting lexer rule | |||
| 2021-12-01 | Use ANTLR Listener to save memory during parsing | Jack Koenig | |
| The ANTLR-generated concrete syntax tree (CST) takes up much more memory than the parsed .fir file. By using a Listener, we can construct the FIRRTL AST live with CST construction and null out the CST as we consume pieces of it. Not only does this improve performance, it drastically reduces max memory use for the parser. | |||
