-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development #4
Merged
Merged
Development #4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes: - Changes for modernization still in progress - Remove of python 2.7 support - flake8 workflow added - added AST class - added tests
Changes: - a2l_lex.py: Updated the A2L Lexer - test_unit_a2l_lex.py: Pytest added
Changes: - requirements.txt: added dependencies "lxml", "loguru", "readline", "alive-progress" - added cli module: allows user to use the a2lparser as an interpreter - added A2LValidator: syntax check for A2L files - added AbstractSyntaxTree: utility dictionary class built for accessing the AST - added rules module: hold yacc grammar in different files for better overview - error resolve function implemented in rules
Changes: - added AbstractSyntaxTree function find_section, find_value - added more test cases for AbstractSyntaxTree
Changes in progress: - Refactor lexer, yacc and rules
Changes: - Windows compability on CLI - Beautify code, parser logo, loguru logger
Changes: - Lexer rework done
Changes: - command_prompt: Switch from "pyreadline" dependency to "prompt_toolkit" - a2l_lex fix: Allow only exact matches of keywords for A2L types and sections - lex tests: move lexer test cases
Changes: - Refactoring of grammar rules - Refactoring of lex tokens, keywords - Refactoring of test cases for grammar rules
Changes: - fix build.yml: sperate linux and windows package building
Changes: - remove old unittest references
Changes: - Adding "a2lparser_history" file for history of CLI usage - Adding "logs" folder - Minor fixes
Changes: - Code style for grammar rules
Changes: - Basic error handling - testcase for "ASAP2_VERSION" added - Minor restructuring
Changes: - created ASTStack, work in progress - extend error handling, work in progress
Major Changes: - Updated to ASAM v1.7.1 Standard (Breaking Changes!) - Error Handling grammar defined (no error resolve) - New Standard Config (ASAP2_MCD_v171.cfg)
Changes: - Added A2L to XML converter - Added xmltodict dependency - Fixed spelling mistakes
Changes: - Added more test cases for new A2L 1.7.1 version - various bug fixes
Changes: - Completed upgrade to A2L version 1.7.1 - Minor fixes
Changes: - Added YAML Converter - Added JSON Converter - Added XML Converter - Added A2L Testfiles TODO's left: - Error resolve update and testcases - Finish Integration tests
Changes: - Added Integration tests - Reworked A2L Validator module - Added ASTNodeStack module - Minor Fixes with optional parameters (VAR_CHARACTERISITIC, VAR_CRITERION, VIRTUAL_CHARACTERISTIC)
Changes: - Completed simple error handling with discarding invalid datatypes or tokens
Changes: - Use same docstring style for functions.
Changes: - Adjusted README to new updated version of a2lparser - Changes pyproject.toml for pypi - Improved CLI with code library (removed direct eval call) - Moved converts from a2l subfolder to converters under root package folder
Changes: - fixed: correct validation of c-style multiline comments like "/********/". - fixed: whitespace in AMLTemplate and affected testfiles. - fixed: a2lparser checks validity of --output-dir argument now
Changes: - fixed creating of log (prompt history) file on CLI mode for distribution
Changes: - fixed creating of log (prompt history) file on CLI mode for distribution - fixed workflows for windows and removed need for tests to pass style check.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Modernization and Code Quality Update #2
Breaking Changes:
Other Changes: