-
Notifications
You must be signed in to change notification settings - Fork 16
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
[WIP] Update master #136
Merged
[WIP] Update master #136
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
Add visit_expression to factorize some common code for the different types of expressions.
V3 Extended: New Types
This package doesn't seem well maintained and libqasm works fine on Windows without. Moreover, it's creating issues with Python 3.12 (impossible to install libqasm).
FetchContent func-gen/v1x_and_v3x_generators branch.
Update to the latest version of func-gen/v1x_and_v3x_generators branch.
- Variable declaration and initialization in cqasm v3 parser - New types in v3: bool, int, float, axis - Arrays in v3 - v3x::AnalyzeTreeGenAstVisitor is an instance of tree-gen generated visitor base class - msvc-runtime pip dependency on Windows
Add expression arithmetic to the parser. Float literals can end with a dot. Add expression arithmetic visitor methods to BuildTreeGenAstVisitor. Update res/v3x/parsing files. Due to changes in the lexer and the parser. Update antlr4-cppruntime Conan package version. We have to add 'Wno-error=unused-parameter' to the Clang compilation. As CqasmParser::expressionSempred defined _localctx parameter but does not use it.
Add expression arithmetic to the parser. Float literals can end with a dot. Add expression arithmetic visitor methods to BuildTreeGenAstVisitor. Update res/v3x/parsing files. Due to changes in the lexer and the parser. Update antlr4-cppruntime Conan package version. We have to add 'Wno-error=unused-parameter' to the Clang compilation. As CqasmParser::expressionSempred defined _localctx parameter but does not use it.
…ns' into v3-extended-arithmetic_expressions # Conflicts: # src/v3x/CqasmParser.g4
Implement BuildTreeGenAstVisitor visitor methods for the syntactic AST. Update to the latest version of func-gen.
… operators. Update to the latest version of func-gen/v1x_and_v3x_generators.
Which changes constinit const variables from std::string to std::string_view.
Which changes constinit const variables from std::string to std::string_view.
Due to changes in the lexer and the parser.
Update to the latest version of func-gen.
Add cqasm-functions files with the current code generated by func-gen. Add some initial unit tests for AnalyzeTreeGenAstVisitor::visit_function_call(name, arguments). Add MockAnalyzer. Add ValuesEqMatcher. Change src/v3x/Analyzer class methods to virtual. So that we can mock this class. TODO: reimplement cqasm-functions using templated code. TODO: add integration tests. TODO: add unit tests for cqasm-functions.
TODO: add integration tests. TODO: add unit tests for cqasm-functions.
…ators-with-variables V3 Extended: Arithmetic Expressions with variable arguments
…ith-an-incorrect-range # Conflicts: # conan/profiles/tests-debug-gcc-linux-x64 # conan/profiles/tests-release-gcc-linux-x64
…are-reported-with-an-incorrect-range Fix issue #200
- Removed all v10, v1x directories (from include, src, test, res, and python). And all references to them (CMakeLists.txt, README.txt). - Removed compat build flag as well, as it was only used for v1x. - Removed conda folder. - Emptied doc folder.
Removed Flex/Bison dependencies.
Removed Flex/Bison dependencies.
Remove compat build flag references.
Add some integration tests for version. Rename some res/v3x/parsing/version folders.
Remove v1x support
…tHub action to install node 16.20.0. Trying to fix Python tests: inject wheel module to conan virtual environment.
…tHub action to install node 16.20.0. Trying to fix Python tests: inject wheel module to conan virtual environment.
…tHub action to install node 16.20.0. Trying to fix Python tests: inject wheel module to conan virtual environment.
…pten profile. Trying to fix Python tests: inject wheel module to conan virtual environment.
…elop Fix GitHub Actions JS and Python macos/x64 jobs
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.
For now, this is just to see how far develop has evolved from master