Benedikt Peetz
70c4cc6f18
Parsing right now works by simply comparing the input string: ``` "/" -> <comment_tokenizer> -> "/" -> <normal_comment> |-> "//" -> <doc_comment> ``` A better method to do this though would be to turn "//" and "///" into keywords and simply leave the parsing to the parser module not the tokenizer. |
||
---|---|---|
.. | ||
comments.tri | ||
empty.tri | ||
failing.tri | ||
failing_comments.tri | ||
failing_types.tri | ||
full.tri | ||
multiple.tri | ||
simple.tri | ||
types.tri |