We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Like this:
my one = 0x1;
(Binary 0b and octal 0o is fine too, but not as important.)
0b
0o
This one should be fairly straightforward, actually... once we have the ability to inject arbitrary grammar terms. Here's a possible implementation:
macro term:hexint (digits) is parsed(/ "0x" (<[\d a..f A..F]>+)/) { my value = parseHexdigits(digits); return new Q::Literal::Int { value: value }; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Like this:
(Binary
0b
and octal0o
is fine too, but not as important.)This one should be fairly straightforward, actually... once we have the ability to inject arbitrary grammar terms. Here's a possible implementation:
The text was updated successfully, but these errors were encountered: