The Python openqasm3 package gives a permissive flag for parse, which controls the ANTLR error handling strategy and will raise a Python exception on parse failures. It would be nice to do this in openpulse as well -- here parse allows silent failures.
The Python
openqasm3package gives apermissiveflag forparse, which controls the ANTLR error handling strategy and will raise a Python exception on parse failures. It would be nice to do this inopenpulseas well -- hereparseallows silent failures.