Closed olabini closed 8 years ago
This is supported in the parser and the AST now - the compiler still needs to do the right thing in general with all the argument stuff.
Ok, can we close this then?
@olabini Could you point out where this is happening in the new parser? I'm missing it. :/
It's here: https://github.com/twtiger/gosecco/blob/master/parser/parser.go#L368 It's not obvious, but it's done in the place that sets the "Type" field of the Argument structure.
Ah. Understood. Thanks.
@olabini I believe we need to adapt the parser to do similar things with constants, no? For #20
Nope.
The literal numbres will always be parsed as a 64bit number.
Right. Thanks :)
Ok. So we need to change our NumericLiteral value types to uint64?
Indeed.
I have a proposal for this ready, but it needs to be implemented. I'll do this after the new parser is merged.