coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: [Coq-Club] How to switch off notations from an imported module?
- Date: Sun, 29 Apr 2018 09:48:23 +0000
- Accept-language: de-DE, en-US
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=michael.soegtrop AT intel.com; spf=Pass smtp.mailfrom=michael.soegtrop AT intel.com; spf=None smtp.helo=postmaster AT mga07.intel.com
- Dlp-product: dlpe-windows
- Dlp-reaction: no-action
- Dlp-version: 11.0.200.100
- Ironport-phdr: 9a23:M2eHGh8/aAsGAP9uRHKM819IXTAuvvDOBiVQ1KB31uocTK2v8tzYMVDF4r011RmVBd6ds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+55Pebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRh/2hikaKz43/mLZis1sg61Uux+uvQBzzorObY2JKPZyYKXQds4aS2pbWcZRUjRMDo2hYYsIEeUBMvpYr5P6p1sWtRe1GA6iBOLzxT9InHD5w6k63+o8GgzB2QwgHs4BsHTOo9rrMKceS/u1zK7WwjXMc/NWwzD96JDTfxAgp/GMQax/cc7LxUYzEAPFi0ydpIr4ND2b0eQNtnKU7+tmVe+3im4nrR1xrSarxss2l4bGmIQYwU3H+yVh2Is5ONO1RUFhbdK5HpZduDuWO5Z4T84jWW1kpTo2xqEetZKmfSUHxo4ryhDRZvCdbYSF7BbuWPyMLTp7mH5pYK+zihe2/ES61OHxVsa53ExUoiZfjNXBuXQA2hrO4cadUPR95F2u2TOX2gDT9O5EJUc0mLLeK54u2LE8ipgevV7CHi/whEX5kquWel849eiv7uTrerTmppmCOI9okgzyL6ojl8OlDeglPAUDUHKX9fmy2bDi50H1XalGguEunqncqp/aJMAbpqCjAw9S14Yu8xO/Dza639QYh3YIMlZFdAicj4juJV7OL+z4De24g1S0izprxvbGPqH/DZXJNHTMjLDhfbNl505G1AUz1cxf545TCrwZPP3zXVbxuMXEAR89Lgy72P3qCM5914MbQWKAGLWVMKLUsV+S5+IgOfOAZIEPuGW1F/9wrfXplDoynUIXVaivx5oeLn6iVLwyKEKAJHHon90pEGEQvwN4Qva823OYVjsGLU21Uq0g/DYjTMqDDIzDT42pyvTV2SawHpRbYiZdDV2DDW3vb62FXesBbGSZJco3wW9MbqSoV4J0jULmjwT90bcydrOFqB1djorq0Z1O38OWkBgz8TJuCMHEijOMSX15miUDQDpkhfkj83w48U+K1O1Du9IdDcZavqobUwEmOJqaxOt/WYirB1DxO+yRQVPjee2IRDE8StVonI0LbE8lRJOjiAzO22yhBLpHz7E=
Dear Coq Users,
I thought that Close Scope <scope> would make the notations defined for the scope inaccessible such as if they have never been defined. But this doesn’t seem to be the case. The parser tables (what is printed by “Print Grammar constr”) don’t change at all when scopes are opened and closed. As it looks Open/Close scope just change the assignment of definition to a specific syntax, but not the syntax as such. Also when e.g. importing a module in a section, the changes to the parser tables seem to be permanent, even after ending the section. My question is: is there any way to remove a notation defined in an imported module, so that they are really removed from the parser tables and don’t interfere with other notations?
Also I wonder if it wouldn’t be possible to disable productions in the parser dynamically. I guess it would get a bit tricky with argument scopes, but still should be doable without a substantial loss in parser performance.
Best regards,
Michael
Intel Deutschland GmbH |
- [Coq-Club] How to switch off notations from an imported module?, Soegtrop, Michael, 04/29/2018
- Re: [Coq-Club] How to switch off notations from an imported module?, Hugo Herbelin, 04/29/2018
- RE: [Coq-Club] How to switch off notations from an imported module?, Soegtrop, Michael, 04/30/2018
- Re: [Coq-Club] How to switch off notations from an imported module?, Hugo Herbelin, 04/29/2018
Archive powered by MHonArc 2.6.18.