Commit Graph

11 Commits

Author SHA1 Message Date
jesopo c84509618f split tokenise.py to line.py and hostmask.py, rename hostmask parse
Line.hostmake now throws ValueError if source was None
2020-07-03 23:07:04 +01:00
jesopo 4dbb84e5c0 __init__.py shouldn't need to import format() 2020-04-21 17:36:47 +01:00
jesopo f1f6bb0d61 a better solution to cyclical imports 2020-04-21 17:23:37 +01:00
jesopo cddcc00610 split Line and Hostmask out to objects.py 2020-03-24 14:49:53 +00:00
jesopo 89a2a6c131 replace irctokens.format() with irctokens.build().format() 2020-03-12 13:53:10 +00:00
jesopo 2bc35c57f7 add hostmask parsing (irctokens.Hostmask("n!u@h")) 2020-03-11 18:04:50 +00:00
jesopo 49d2e78475 add a stateful encoder (irctokens.StatefulEncoder()) 2020-03-11 15:17:17 +00:00
jesopo 949b10945e implement a stateful decoder (irctokens.StatefulDecoder()) 2020-03-11 14:50:31 +00:00
jesopo c98bb87993 fix _escape_tag typehint issue 2020-03-11 13:44:44 +00:00
jesopo 07836f98d4 add code to serialise/format Line objects 2020-03-11 13:42:23 +00:00
jesopo dad9b4a268 make irctokens a __init__.py package 2020-03-11 12:20:26 +00:00