Commit Graph

25 Commits (624bd549f3c00469dc77914d654550fa3607ff97)

Author SHA1 Message Date
Philippe Pittoli 624bd549f3 Again, error naming. 2024-02-10 15:45:12 +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 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 b77f219c40 WIP: RFC5322, actually almost everything works! 2024-01-30 02:56:41 +01:00
Philippe Pittoli ca52e27594 Put test values in a dedicated module. 2024-01-28 00:20:22 +01:00
Philippe Pittoli 125bbd1118 Remove useless code. 2024-01-27 07:05:58 +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 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 6f6c1b3836 New IPv4 address parser. 2024-01-23 03:55:45 +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 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 4d88340381 Clean the entire src/ directory. 2024-01-19 02:03:32 +01:00
Philippe Pittoli 3c0b077ca6 Parser repository init. 2023-12-17 12:57:26 +01:00