Commit Graph

80 Commits (d30d9d74ce08c359a17f43304d0c264b4336eb66)

Author SHA1 Message Date
Philippe Pittoli d30d9d74ce Export two more functions. 2024-02-16 02:31:52 +01:00
Philippe Pittoli bbc20a0a12 Quick fix for the doc generation. 2024-02-16 02:22:03 +01:00
Philippe Pittoli 991a4f36a3 New `errorParser` and `<:>` (error functor) functions. 2024-02-15 20:42:39 +01:00
Philippe Pittoli e290d1a73d Export RFC5322 parser. 2024-02-10 16:51:02 +01:00
Philippe Pittoli 49eb615b79 Fix comments related to RFC5322. 2024-02-10 16:04:35 +01:00
Philippe Pittoli 67e318b949 Split EmailAddress and RFC5322. 2024-02-10 16:02:14 +01:00
Philippe Pittoli 624bd549f3 Again, error naming. 2024-02-10 15:45:12 +01:00
Philippe Pittoli 51bdcc3ba4 IP addresses: slight change in errors naming. 2024-02-10 15:36:30 +01:00
Philippe Pittoli d7f713839c Added a test: see if my parsers aren't modifying the input. 2024-02-01 01:52:15 +01:00
Philippe Pittoli ea72414e6a Parser: read_input so we can provide unaltered input read by a parser. 2024-01-31 19:28:00 +01:00
Philippe Pittoli 57fdd3f9d9 Altered RFC rules to make it work. 2024-01-31 19:27:16 +01:00
Philippe Pittoli 43d8ae9c0b Comment fix. 2024-01-31 05:24:16 +01:00
Philippe Pittoli 2ef674e856 Rewriting comments. 2024-01-31 05:20:16 +01:00
Philippe Pittoli 498343c96e Do not change the original input while parsing. 2024-01-31 02:08:11 +01:00
Philippe Pittoli 45f867f3c5 RFC5234: return what was parsed (except for \r\n in lwsp). 2024-01-30 03:58:25 +01:00
Philippe Pittoli b77f219c40 WIP: RFC5322, actually almost everything works! 2024-01-30 02:56:41 +01:00
Philippe Pittoli ff455bce71 WIP: RFC5322 (first testable version almost there). 2024-01-30 02:22:43 +01:00
Philippe Pittoli 3cd11d3f47 WIP: RFC5322 2024-01-30 02:06:43 +01:00
Philippe Pittoli 59ce971e96 WIP: RFC5322. 2024-01-30 01:47:06 +01:00
Philippe Pittoli 97b769133d WIP: RFC5322 2024-01-29 20:30:36 +01:00
Philippe Pittoli 9c7a534030 Even more RFC5322 rules! IT FUCKING NEVER STOPS GODDAMN IT. 2024-01-28 13:14:07 +01:00
Philippe Pittoli 061aed023f Email: some new WIP implementations. 2024-01-28 02:00:46 +01:00
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