Commit Graph

58 Commits (c88cb8215b03dbb1d66bf70d3c4a20adf41bd7f4)

Author SHA1 Message Date
Philippe Pittoli c88cb8215b Parser: char_num & char_range, Email: quoted-pair 2024-01-28 01:38:17 +01:00
Philippe Pittoli ca52e27594 Put test values in a dedicated module. 2024-01-28 00:20:22 +01:00
Philippe Pittoli ec5109379a Email address: WIP. 2024-01-27 08:51:35 +01:00
Philippe Pittoli 29eddd715b EmailAddress: WIP. 2024-01-27 08:37:58 +01:00
Philippe Pittoli 140c7e128c RFC5234: done. 2024-01-27 08:24:43 +01:00
Philippe Pittoli 8e68099e52 Split most parsers from the GenericParser.Parser module. 2024-01-27 08:03:16 +01:00
Philippe Pittoli 1951d893a9 WIP RFC5234. 2024-01-27 07:06:17 +01:00
Philippe Pittoli 125bbd1118 Remove useless code. 2024-01-27 07:05:58 +01:00
Philippe Pittoli 9868002114 WIP RFC5234 2024-01-27 05:02:04 +01:00
Philippe Pittoli ef336bd2de WIP RFC5234 (augmented bnf) and RFC5322 (email addresses). 2024-01-27 04:46:15 +01:00
Philippe Pittoli e2a919d78c Email: a few more rules. 2024-01-27 02:21:45 +01:00
Philippe Pittoli 82056ba5b9 lookahead, IPv6 '::1' shortened representation. 2024-01-25 18:21:27 +01:00
Philippe Pittoli b3abe0241f Provide a solution for "the last char" problem. 2024-01-25 07:19:25 +01:00
Philippe Pittoli 540b1c1962 `rollback` and `until` 2024-01-25 06:36:24 +01:00
Philippe Pittoli 6708b2169a Email address parser: a first try, very limited and experimental. 2024-01-25 04:59:18 +01:00
Philippe Pittoli 7ea7672ecf Simplification + check for useless use of short representation (IP v4 & v6) 2024-01-24 04:21:25 +01:00
Philippe Pittoli 9b82246d75 Better code for IPv4. 2024-01-24 03:54:16 +01:00
Philippe Pittoli c060ffb3cc IPv6 addresses: verify the number of chunks + shortened representation. 2024-01-23 19:25:23 +01:00
Philippe Pittoli ef1a0e40a3 Accept simplistic IPv6 representations. 2024-01-23 04:46:08 +01:00
Philippe Pittoli c441dc0477 typo 2024-01-23 03:56:58 +01:00
Philippe Pittoli bfbe31249f makefile: install esbuild. 2024-01-23 03:56:19 +01:00
Philippe Pittoli 6f6c1b3836 New IPv4 address parser. 2024-01-23 03:55:45 +01:00
Philippe Pittoli 883c33967c Remove unused reference. 2024-01-20 02:04:08 +01:00
Philippe Pittoli 36f3831827 Remove useless imports. 2024-01-20 02:00:10 +01:00
Philippe Pittoli 6a78e863c1 Accepting a final "." at the end of a subdomain (both RFC1035 and Modern Parser). 2024-01-20 01:33:42 +01:00
Philippe Pittoli 634aad96b7 (Very minor) code clean-up. 2024-01-20 01:05:11 +01:00
Philippe Pittoli 7b5e92490d Test modern domain parser 2024-01-19 19:32:43 +01:00
Philippe Pittoli e1c6a6f1e9 Accept an underscore as a label prefix in the modern domain parser. 2024-01-19 19:32:03 +01:00
Philippe Pittoli d4cbcb8b99 Fix position when an error occurs in `sat`. 2024-01-19 19:31:25 +01:00
Philippe Pittoli bbb5c1c415 Simplification of the test code. 2024-01-19 18:24:02 +01:00
Philippe Pittoli e459de778d Code split: DomainParser, DomainParserRFC1035, DomainParser.Common. 2024-01-19 15:32:18 +01:00
Philippe Pittoli 22d6386c32 DomainParserRFC1035, documentation, code structure (try fn -> Parser module). 2024-01-19 15:08:52 +01:00
Philippe Pittoli d4aa63730e More consistent function naming. 2024-01-19 02:27:11 +01:00
Philippe Pittoli 4d88340381 Clean the entire src/ directory. 2024-01-19 02:03:32 +01:00
Philippe Pittoli 27817ff3aa Code structure. 2024-01-19 00:59:47 +01:00
Philippe Pittoli 40bae65ab7 Removing useless comments. 2024-01-18 21:45:20 +01:00
Philippe Pittoli 7148fc936f Minor code simplification. 2024-01-18 21:28:32 +01:00
Philippe Pittoli f9923bab55 Report more errors thanks to tryMaybe and try. 2024-01-18 08:18:51 +01:00
Philippe Pittoli e134f55daa Errors are being reported. Need to catch them all! 2024-01-18 07:13:40 +01:00
Philippe Pittoli 1ef64aafc2 Compiles! 2024-01-18 05:00:11 +01:00
Philippe Pittoli efe41a0d3f Big improvement on the base structure type. 2024-01-18 04:51:50 +01:00
Philippe Pittoli 0702ba184e To continue... 2024-01-13 07:10:18 +01:00
Philippe Pittoli c4c624a2b4 Base for a new Parser structure. 2024-01-13 04:17:03 +01:00
Philippe Pittoli 829be33168 Remove useless comments. 2024-01-13 01:45:19 +01:00
Philippe Pittoli 33e09a1a3d Parser domain works, for the naive Parser implementation. 2024-01-13 01:44:39 +01:00
Philippe Pittoli 15f4983fe2 sub_eof 2024-01-13 01:39:16 +01:00
Philippe Pittoli d327b943f9 subdomain kinda works 2024-01-13 01:22:15 +01:00
Philippe Pittoli ef6f49f624 Split code, implement more of DomainParser. 2024-01-12 05:14:55 +01:00
Philippe Pittoli 060467bcc4 Testing the integer parser. 2024-01-10 06:26:43 +01:00
Philippe Pittoli 3bc9cb6f66 Remove useless lines. 2024-01-10 06:20:27 +01:00