Gavin Schulz
992a2aeb96
feat: add hexadecimal number literal parsing to wren compiler
...
Remove the TOKEN_HEXADECIMAL token type and isHexDigit helper, replacing them with a readHexDigit function and readHexNumber parser that directly converts hex literals to numeric values during lexing. Add a `number` field to the Parser struct to hold the parsed value, and include a test for invalid hex literal error handling.
2015-01-25 21:02:44 +00:00
..
2014-04-03 02:41:53 +00:00
2014-01-05 20:27:12 +00:00
2014-04-09 14:48:35 +00:00
2014-04-09 14:48:35 +00:00
2015-01-14 05:36:42 +00:00
2015-01-04 21:00:53 +00:00
2014-04-04 14:51:18 +00:00
2014-04-09 14:48:35 +00:00
2015-01-04 19:42:11 +00:00
2014-04-03 02:41:53 +00:00
2014-04-19 18:41:21 +00:00
2015-01-24 04:33:05 +00:00
2014-04-19 18:41:21 +00:00
2014-04-09 00:54:37 +00:00
2015-01-04 19:42:11 +00:00
2015-01-12 05:47:29 +00:00
2015-01-18 18:20:13 +00:00
2015-01-03 18:02:45 +00:00
2015-01-24 22:42:25 +00:00
2014-01-21 02:12:55 +00:00
2015-01-21 02:25:54 +00:00
2014-04-04 14:51:18 +00:00
2015-01-15 07:08:25 +00:00
2015-01-16 05:50:01 +00:00
2015-01-25 21:02:44 +00:00
2015-01-16 05:50:01 +00:00
2015-01-24 22:42:25 +00:00
2014-04-03 14:48:19 +00:00
2014-04-09 00:54:37 +00:00
2015-01-04 19:09:33 +00:00
2014-04-03 02:41:53 +00:00
2015-01-24 22:42:25 +00:00
2015-01-11 23:43:51 +00:00
2014-04-03 14:48:19 +00:00
2015-01-14 05:36:42 +00:00
2014-04-04 14:51:18 +00:00
2014-01-05 20:27:12 +00:00
2015-01-04 21:00:53 +00:00
2015-01-12 03:58:30 +00:00
2014-01-05 20:27:12 +00:00
2015-01-18 18:20:13 +00:00
2015-01-03 18:02:45 +00:00
2014-01-05 20:27:12 +00:00
2015-01-03 14:10:04 +00:00