Comments (1)
Check that operations are having correct vector lengths.
This is implemented in the new semantic analyzer added in #105.
Check that keywords are not used as maps.
This was lexically impossible to do before #105, and explicitly requested as feature in #56. It's now explicitly legal in the sense that there are way fewer keywords (only qubits
, map
, var
, and cond
).
Provide clearer exception messages for the user.
Hopefully #105 is perceived to improve upon this, supporting multiple error messages per compile run through basic recovery mechanisms, and recording line and column ranges for all nodes in the AST and reporting these accordingly.
from libqasm.
Related Issues (20)
- [Infra] Update GitHub pipeline
- [WebAssembly] Enable libqasm to compile to wasm HOT 2
- [V3 Extended] New types HOT 1
- [WebAssembly] Investigate alternative for two-stage build HOT 1
- [WebAssembly] libqasm should `tool_requires` `tree-gen` and `func-gen` for cross-platform builds HOT 1
- [WebAssembly] Set `-fwasm-exceptions` in `emscripten/CMakeLists.txt`
- [Frontend] Return diagnostic data as object from JSON methods
- [Frontend] Syntactic errors don't report a range of characters for a token HOT 2
- [Frontend] Parsing and analyzing the same file with a syntactic error can return different messages HOT 2
- [Infra] Remove conda HOT 1
- [Infra] Manylinux/arm64 jobs shouldn't need to do a conan remove HOT 1
- [Infra] Create a new release of libqasm HOT 2
- [V3 Extended] Some ANTLR parser error messages are far from great HOT 1
- [V3 Extended] Gate names in `libqasm` Python API should be bytes, not the string `__repr__` of a bytes object (`"b'q'"`) HOT 1
- [Infra] Add `clang-format` HOT 2
- [Frontend] Errors at EOF are reported with an incorrect range HOT 1
- [Infra] Enable ASAN for GitHub Actions gcc/Linux/x64 builds. HOT 1
- [Infra] Make GitHub Actions `cpp-linux-arm64` test work with `actions/cpp-tests` HOT 1
- [Infra] Update to `emsdk/3.1.51` or newer HOT 1
- [Language] Allow breaking long lines using `\`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libqasm.