aboutsummaryrefslogtreecommitdiff
path: root/src/main/antlr4
AgeCommit message (Collapse)Author
2016-07-21Indentation support for the ANTLR parser (as discussed in #192) (#194)Kamyar Mohajerani
Indentation support for the ANTLR parser - some clean-up of the parser code (TODO: file input could be improved, more clean-up) - get rid of Translator and specify all syntactic rules in antlr4 grammer - support for else-when shorthand in the grammar - rename Begin to Block which makes more sense
2016-05-12Implement File Infojackkoenig
2016-04-16Add more keywords to Id listjackkoenig
2016-03-09Fix StringLit to ignore escaped double quotesdavidbiancolin
2016-02-09Added license to FIRRTL filesazidar
2016-02-09Added remaining check passes. Ready for open sourcingazidar
2016-02-09CHIRRTL passes work, parser is updatedazidar
2016-02-09Bug Fixes in handling hyphens as part of IDs, proper handling of negative ↵Jack
IntLits (all IntLits handled by Parser and Visitor the same, checks come later), also delete first and last char of string literals since those characters are the quotes.
2016-02-09Adding ScalaTest for unit testing of Scala FIRRTL. Added a few basic tests ↵Jack
for the Parser. Added custom Parser exceptions for better error reporting and checking. Fixed bug in grammar not allowing most keywords as Ids
2016-01-29Changed reg syntax to new "with" semantics in Scala FIRRTLJack
2016-01-28WIP: Added support for FIRRTL 0.2.0 Memories to Scala FIRRTLjackkoenig
2016-01-28Move IntLit ANTLR lexer rule to before String lexer rule to ensure IntLit of ↵jackkoenig
form "h..." is lexed as IntLit instead of String
2016-01-27WIP Moving Scala FIRRTL to match spec 0.2.0. Not everything is implemented ↵jackkoenig
(notably stop, printf, mux, validif, ubits, sbits, readers, writers, and readwriters are incomplete)
2015-11-24In process of adding FAME-1 transformation, updated todos in grammar file, ↵jackkoenig
updated Makefile to play nicer when firrtl is a submodule, fixed bug in Translator for single line scopes, fixed firrtl-scala script to point to firrtl.Driver instead of old firrtl.Test
2015-10-15Reorganized Primops (renamed from PrimOps), added maps and functions to ↵Jack
convert object <=> string, added eqv and neqv
2015-10-12Added support for no width to mean unknown, and print nothing instead of <?> ↵Jack
for unknown width. Also added test to check this
2015-10-02Merged in Scala implementation of FIRRTL IR, parser, and serialization (ie. ↵Jack
AST -> String). Uses ANTLRv4 to generate concrete syntax parser