skx/monkey

We should allow binary and hex literals.

skx opened this issue · 0 comments

skx commented

The following code should be valid:

   let a = 0xff;
   let b = 0b10101010;

We'll need to update the lexer to recognize these values as numbers, and the parse to convert them to decimal as processed.