Commit Graph

23 Commits (359b674cffdeec68012fd297713b4f25158a43f4)

Author SHA1 Message Date
Ekopalypse 64028eedb8
toml: fix comment ends with crlf (#13097) 2022-01-08 19:16:32 +02:00
Delyan Angelov 59357e873d
math: move the `math.mathutil` generic `min`/`max`/`abs` fns to `math` (#13042) 2022-01-05 18:02:20 +02:00
Delyan Angelov ee858568ff
toml: ignore CRLF just like LF in line comments, support VTEST_HIDE_OK=1 in tests. 2022-01-03 12:54:16 +02:00
Larpon f50f409ad7
toml: simplify bool keys in scanner and parser (#12625) 2021-11-30 14:26:47 +02:00
Larpon 14424100e8
toml: comply with BurntSushi @eb989e5 (#12616) 2021-11-29 22:15:22 +02:00
Larpon 1d8ece7ac0
toml: fix, test and optimize `nan` and `inf` values (#12592) 2021-11-27 21:26:28 +02:00
Larpon f1dd0e3355
toml: add value decoding (#12521) 2021-11-20 19:48:44 +02:00
Larpon a894a6cf36
toml: fix parsing of alphanumeric keys (#12517) 2021-11-19 20:34:21 +02:00
Larpon 7cdc906683
toml: fix scanning of short unicode escapes (#12491) 2021-11-17 17:24:40 +02:00
Larpon 1a54817c81
toml: parse formatting (#12374) 2021-11-04 09:15:50 +02:00
Larpon 45c938bdec
toml: streamline scanner.at() return type, fixes #12344 (#12370) 2021-11-03 10:18:09 +02:00
Larpon 99fd84dfe4
toml: fix hex values starting with a, e or E and comments ending with crlf (#12367) 2021-11-02 19:07:27 +02:00
Larpon a987440e2f
toml: add UTF header support, add BOM tests (#12326) 2021-10-28 16:38:49 +03:00
Larpon c526752419
toml: remove unused enum (#12304) 2021-10-26 16:58:58 +03:00
Larpon 9a3967bd7d
toml: improve comment support (#12305) 2021-10-26 16:58:05 +03:00
Larpon 8273c0582b
toml: check for illegal characters, fix all related skipped tests (#12270) 2021-10-22 19:57:32 +03:00
Larpon cc2ef4188d
toml: support parsing (+/-)nan and (+/-)inf (#12256) 2021-10-22 08:16:47 +03:00
Larpon 8705db5844
toml: fix scanner escape collecting in literal strings (#12022) 2021-09-30 16:04:21 +03:00
Larpon e3d3727c0c
toml: fix 7 escape tests (#12017) 2021-09-29 19:28:09 +03:00
Larpon 4ff061927b
toml: easier scanner configuration (#12016) 2021-09-29 14:53:06 +03:00
Larpon bc4aad5fb4
toml: add quote details to ast.Quoted (#11997) 2021-09-28 17:40:03 +03:00
Larpon 2ee873d6ca
toml: fix invalid bad-multiline test (#11996) 2021-09-27 17:42:20 +03:00
Larpon 5541ec8670
vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00