Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
25b4cf9
Added support for actions that are being performed over the PEG rules
andr-dots Apr 30, 2025
2c77a24
Added a test for the previously added parser actions
andr-dots May 24, 2025
7b81113
Added support for remembering tokens and backreferencing any of them
andr-dots Jun 3, 2025
eccd1a0
Added support for backreferencing in FIFO order
andr-dots Jun 4, 2025
ada6b4c
Added error handling for the pop action
andr-dots Jun 4, 2025
413f93f
Added the states system to solve complex parsing problems
andr-dots Jun 10, 2025
3208f2d
Added the tests for the debug=True output
andr-dots Jun 15, 2025
c4e323b
Allowed PEG actions to be put into complex expressions
andr-dots Jun 16, 2025
b1f1d50
Moved ParserState to the initial Parser class; added support for the …
andr-dots Jun 16, 2025
0a718b4
Added additional checks in the PEG actions tests
andr-dots Jun 16, 2025
5c109d9
Added support for undoing state changes after a match failure via sta…
andr-dots Jun 16, 2025
da94c24
Fixed the examples to make the tests passing
andr-dots Jun 16, 2025
b52957c
Moved the operation token after regexp to speed up common grammar pat…
andr-dots Jun 17, 2025
e427ae9
Made the MatchState and MatchActions description in the exported dot …
andr-dots Jun 17, 2025
507e62a
Added more type annotations to the states and actions code; made some…
andr-dots Jun 19, 2025
e55d78c
Moved MatchActions to the peg module
andr-dots Jun 19, 2025
eb7f4b2
The states initial system was moved to the base Parser class
andr-dots Jun 21, 2025
5e8b3ca
Added support for overriding the ParserPEGActions class in ParserPEG …
andr-dots Jun 23, 2025
6787a89
And expressions should not modify the state of the parser
andr-dots Jun 23, 2025
5a761b1
Added some comments to the action tests grammar
andr-dots Jun 23, 2025
a0dbe2b
Added the documentation for the PEG actions and states system
andr-dots Jun 24, 2025
bdee138
Refactored the PEG actions into the separate classes
andr-dots Jun 29, 2025
fec790b
The _parse() method should be declared in the appropriate abstract class
andr-dots Jun 29, 2025
d4eaf87
The saving and loading state code has been moved to the separate func…
andr-dots Jun 30, 2025
e342402
Refactored the parser state system to a multi-level layout
andr-dots Jul 5, 2025
1ab06c6
The state system was rewritten, added support for wrapping parsing ex…
andr-dots Jul 7, 2025
e3c24e5
Added the documentation to the new state system
andr-dots Jul 8, 2025
082a501
Added the failure test cases for the state and action systems
andr-dots Jul 8, 2025
0f443fc
Added the global add action to remember global identifiers
andr-dots Jul 8, 2025
f09dfdc
Made the reference PEG actions more strict
andr-dots Jul 8, 2025
55503c3
Made some style fixes and removed the duplicate code according to the…
andr-dots Jul 8, 2025
840da9a
Refactored the states stack to be state layer dependant
andr-dots Jul 9, 2025
c258730
Made the parser state field binded to the same object during the pars…
andr-dots Jul 9, 2025
09acd7e
Rearranged the PEG rules to make their order more logical
andr-dots Jul 9, 2025
dd71a75
Modified the tests to cover the add action too
andr-dots Jul 9, 2025
cad667c
Made the PEG rule names clearer so that action calls that refer to th…
andr-dots Jul 9, 2025
c98f454
Added docstrings to the action and state classes
andr-dots Jul 9, 2025
11288f9
Fixed some IDE hinting issues and removed the redunant code in the st…
andr-dots Jul 10, 2025
1a77fbe
Added the missing annotations to the actions and state systems and ma…
andr-dots Jul 10, 2025
e01c0ad
Fixed the IDE warning in the test file of the actions and state systems
andr-dots Jul 10, 2025
86b394f
Fixed the remaining issues revealed by flake8 in the actions and stat…
andr-dots Jul 10, 2025
f742194
Renamed the file that contains the actions and states tests to a more…
andr-dots Jul 10, 2025
2e6d414
Renamed WrappedWithStateLayer to StateWrapper to make the name more c…
andr-dots Jul 10, 2025
595e36c
Added the states integrity control system and the appropriate test co…
andr-dots Jul 10, 2025
69c70fd
Added a test for a no match error while matching the state in a state…
andr-dots Jul 11, 2025
27591ab
Some tests were modified to check the parse tree content too
andr-dots Jul 11, 2025
c63e5dc
Described the state system classes in the documentation
andr-dots Jul 11, 2025
ab62042
Added myself to the list of authors
andr-dots Jul 11, 2025
6eb557d
Refactored the state system to a faster history rollback mechanism
andr-dots Jul 13, 2025
4ea518b
Added the suppress PEG action to add support of suppressing of some r…
andr-dots Jul 15, 2025
83f7414
Fixed some grammar in the documentation about PEG actions
andr-dots Jul 15, 2025
b72b281
Removed the redundant code
andr-dots Jul 15, 2025
bce5042
Simplified the action and system rules and made them a little bit faster
andr-dots Jul 16, 2025
235078f
Added support for quoted arguments to the action PEG notation
andr-dots Jul 16, 2025
d2f920e
The quoted string literal was moved to a separate rule for reuse purp…
andr-dots Jul 16, 2025
7b4b976
Added actions to the PEG notation that implement all features to supp…
andr-dots Jul 17, 2025
d6238d1
Fixed missing variable evaluation in the debug output
andr-dots Jul 18, 2025
aef9eec
Renamed the actions upon a list to contain the "list" prefix in their…
andr-dots Jul 18, 2025
d545063
Fixed the type hints in the PEG action system
andr-dots Jul 18, 2025
a0e1fd7
Renamed the state layer scope class to a more common name so that cou…
andr-dots Jul 19, 2025
7ae666a
Added the "first longer" and "other same" actions to simplify the ind…
andr-dots Jul 19, 2025
c875384
Added a test for the wrong indentation at the start of a program when…
andr-dots Jul 19, 2025
7e222f5
Fixed a grammar error in the PEG state and action test files
andr-dots Jul 20, 2025
67a8711
Added support for the delimiter operator in the repetition grouping r…
andr-dots Jul 20, 2025
752fcaf
Added the documentation for the repetition "%" operator
andr-dots Jul 20, 2025
3ac685c
Added the documentation to the previously added PEG actions
andr-dots Jul 20, 2025
a37cb1f
Fixed the description of the "add" and "any" PEG actions
andr-dots Jul 20, 2025
d5d5f87
Suppressed a false IDE warning about the wrong types
andr-dots Jul 20, 2025
b240676
Removed the obsolete code that was used before the state snapshots we…
andr-dots Jul 27, 2025
f578f51
Fixed the type hintings for the parse/_parse methods of some classes
andr-dots Jul 27, 2025
0efeaef
Marked the error raise method that it never returns
andr-dots Jul 27, 2025
cfb961a
Fixed the copy&paste error in the PEG actions and state test that mak…
andr-dots Aug 4, 2025
d4aa027
Made the error messages from the PEG actions more clear about the rul…
andr-dots Aug 6, 2025
a904cfa
Removed the unused parameter from the actions run() method
andr-dots Aug 6, 2025
18278c9
Moved describing functionality into an appropriate interface in the p…
andr-dots Aug 6, 2025
d479db4
Fixed an error in the exporting to dot module which caused the graph …
andr-dots Aug 6, 2025
b9124d6
Fixed the missing variable error
andr-dots Aug 6, 2025
931e0b5
Added support for rule name resolving to passthrough names to action …
andr-dots Aug 6, 2025
7b27d5e
Made string representation of the match actions class clearer
andr-dots Aug 6, 2025
d4ef6b0
Renamed the state layer scope class to a more common name so that cou…
andr-dots Jul 19, 2025
d937aae
Added support for overwriting the parser config in the PEG notation
andr-dots Jul 15, 2025
319f921
Added support for setting whitespace attribute in the modifiers PEG n…
andr-dots Jul 16, 2025
b6fa38e
The tests were modified to cover a combination of pop action and the …
andr-dots Jul 16, 2025
3066fbf
Splitted up the test file for the states/actions and config modifiers…
andr-dots Jul 16, 2025
5cc1e35
Renamed the test for PEG config modifiers to a more appropriate name
andr-dots Jul 17, 2025
b648acb
Added a test for the indentation with spaces support
andr-dots Jul 17, 2025
bed9e97
Simplified the test cases for indentation with white spaces in the PE…
andr-dots Jul 19, 2025
bc34dde
Simplified the config modifiers test grammar by using the delimiter s…
andr-dots Jul 20, 2025
0272b1d
Added the documentation to the config modifiers operator
andr-dots Jul 20, 2025
0cebcde
Made config modifier rule names more clear
andr-dots Aug 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Arpeggio - Parser interpreter based on PEG grammars

Author: Igor R. Dejanović <igor DOT dejanovic AT gmail DOT com>
Arpeggio author: Igor R. Dejanović <igor DOT dejanovic AT gmail DOT com>

Original author of the state and actions subsystems: Andrey N. Dotsenko <pgandrey@ya.ru>


# Contributors
Expand Down
Loading