- Add preprocessor (
2a5573c
)
- Add token_handler (
a6b1425
)
- Make it possible to swap the underlying regex module (
b47995e
)
- Allow expect_eof() to succeed even if the "eof" token was already consumed (
7a8e799
) - Update typing (
0ce06c7
)
- Update mudkip (
a58854c
)
- Take into account repeating newlines before emitting dedent tokens (
109552c
)
- Add notes (
8be67ce
)
- Better mechanism for tracking alternative errors (
4e0c3f2
)
- Keep track of alternative errors (
9bee458
)
- Update docs (
a788ff1
)
- Sort expected patterns in explanation (
c1c26cb
)
- Make it possible to copy the stream (
5a4a41c
)
- Get() method was returning a list instead of a single token (
accf784
)
- Prevent duplicating expected patterns (
10cec04
)
- Simplify expected_patterns merging (
ad10e50
)
- Properly prioritize errors that occur later in the stream (
a665924
)
- Set invalid syntax location for unexpected token (
4231809
)
- Handle windows line endings (
068144d
)
- With_horizontal_offset doesn't modify unkown location anymore (
e17f897
)
- Make it possible to know if a checkpoint was rolled back (
0765e96
)
- Add stream.reset() (
1af0d47
)
- Do not register the first alternative exception twice (
1bb7102
)
- Make it possible to use None to disable previous rules (
66e468a
)
- Add period to all error messages (
c1c32b0
)
- Don't show token value if it's empty (
6337bfd
)
- Don't detect indent when the line is blank (
175e02e
) - Properly handle full dedent (
04b9dab
) - Add eof and invalid tokens (
264a398
)
- Handle non SourceLocation end_location in set_location (
f16b378
)
- Move SourceLocation into its own module (
95aabae
)
- remove InvalidSyntax.set_location in favor of the general-purpose setlocation function (
95aabae
)
- Combine unexpected token patterns when using the choose() method (
b8665e8
)
- Tweak pattern explanation when there are a lot of token types (
0a9e007
)
- Properly restore previous regex when syntax changes (
aeae860
)
- Raise IndexError for negative indices for current and previous tokens (
7b5010b
)
- Make it possible to emit errors from tokens (
b97ab2d
)
- Add stream.alternative(bool) (
3adef70
)
- Don't capture newlines in whitespace tokens (
d17783e
)
- Handle pattern explanation with no pattern (
1de098b
)
- Add arbitrary user data (
105553f
)
- Add alternative method and choose method (
0794172
)
- Swallow syntax errors when checkpoint is not committed yet (
54e77ef
) - Don't raise UnexpectedEOF if peek_until without patterns (
bcee95a
)
- Typo (
934f52c
)
- Add collect_any and docs (
2d35ba3
)
- Take into account indentation_skip (
cbfe3e3
)
- Add stream checkpoint (
8ad92bf
)
- Accurate end_colno when the token contains newlines (
3cdb432
) - Collect with no patterns properly defers to the main iterator (
3c6000a
)
- Update README (
4739d83
)
- Add getting started (
1907b06
)