Commit Graph

30 Commits

Author SHA1 Message Date
Ilya Rezvov be13488f69 update tests and fix some 2023-08-23 22:58:19 -06:00
Ilya Rezvov d0403ad554 forbid special nan values for non-script contexts 2023-08-21 21:11:39 -06:00
Ilya Rezvov 54c3cfd697 all tests are green 2021-04-19 17:17:25 -07:00
Ilya Rezvov 5f28711f6d use hex float parsing for doubles 2021-04-18 14:19:07 -07:00
Ilya Rezvov 3cb1ac331a start native float hex converter 2021-04-18 10:12:34 -07:00
Ilya Rezvov 53bdf096a4 fix nan with payload parsing and safely handle out of range type indecies 2021-04-07 22:38:34 -07:00
Ilya Rezvov 4fb4da0f2f more grammar fixes 2021-04-04 17:23:43 -07:00
Ilya Rezvov d01691338f add parsing of canonical nan, reinterpret instructions and check for mem idents uniqueness 2021-04-04 17:23:43 -07:00
Ilya Rezvov 88a31548b8 replace hardcoded tests with submodule to the official testsuit 2021-04-04 17:23:43 -07:00
Ilya Rezvov 709c8d994c bump version to 1.0 tag 2018-06-20 16:33:52 -07:00
Ilya Rezvov 1720730df5 pass assert_malformed tests 2018-04-18 22:42:47 -07:00
Ilya Rezvov b27a89cc17 fix int literals parsing 2018-04-16 20:00:20 -07:00
Ilya Rezvov 6c4183c930 check if optional labels match for block instructions 2018-04-16 15:37:28 -07:00
Ilya Rezvov 035ffe05da check if name is valid utf8 string 2018-04-16 14:35:05 -07:00
Ilya Rezvov 2955456e26 pass all assert_return tests 2018-04-11 21:15:56 -07:00
Ilya Rezvov fd7ce7e450 fix copysign instruction 2018-04-10 16:56:42 -07:00
Ilya Rezvov f6cae32148 fix float numbers parsing 2018-04-10 15:04:18 -07:00
Ilya Rezvov 554a56fb63 pass nan with payload to token 2018-04-09 07:12:47 -07:00
Ilya Rezvov 8ef3eadc9a parse arithmetic nan 2018-04-08 19:47:10 -07:00
Ilya Rezvov 682e71defc fix tokenizing of numbers and expressions of offset 2018-03-20 21:33:11 -07:00
Ilya Rezvov 91ceecb51e improve parsing error message 2018-01-21 10:14:32 -08:00
Ilya Rezvov c0992fee62 parse module 2018-01-21 09:57:29 -08:00
Ilya Rezvov 56ea29a659 check lexer state invariants on EOF 2018-01-19 14:51:36 -08:00
Ilya Rezvov 9d6bd7f097 fix hex float exponent parsing 2018-01-19 11:06:38 -08:00
Ilya Rezvov 5c4ca137a5 add nan and inf parsing 2018-01-19 10:26:10 -08:00
Ilya Rezvov 4853e1bdf5 add float literal parsers 2018-01-19 10:08:43 -08:00
Ilya Rezvov 07c55cea4d reset string accumulator 2018-01-18 22:43:27 -08:00
Ilya Rezvov d6395b490e add id parsing 2018-01-18 22:39:24 -08:00
Ilya Rezvov 94d2c2f0a3 add integer literal tokenezation 2018-01-18 16:55:15 -08:00
Ilya Rezvov 10011f6fb2 initial 2018-01-18 16:07:04 -08:00