Unbased unsized literals in BH - #945
Conversation
|
LGTM, my only question is how does this compare to what BSV does with '0 ad '1? |
I believe it does the same thing. I followed the same implementation. They both produce |
|
I realized I missed one case, which is |
I don't know why |
|
reviewed, 👍 |
|
Looks good to me. |
rsnikhil
left a comment
There was a problem hiding this comment.
Approved (comments, if any, in PR comment list)
This PR adds the
'0and'1syntax for unbased unsized literals to the Bluespec Haskell parser.Notes:
'is an identifier character, so a literal like this must start after a token boundary; i.e.,foo'0is an identifier, butfoo '0is a function applied to an unbased unsized literal.