Beyond Notations: Hygienic Macro Expansion for Theorem Proving Languages
Ontology highlight
ABSTRACT: In interactive theorem provers (ITPs), extensible syntax is not only crucial to lower the cognitive burden of manipulating complex mathematical objects, but plays a critical role in developing reusable abstractions in libraries. Most ITPs support such extensions in the form of restrictive “syntax sugar” substitutions and other ad hoc mechanisms, which are too rudimentary to support many desirable abstractions. As a result, libraries are littered with unnecessary redundancy. Tactic languages in these systems are plagued by a seemingly unrelated issue: accidental name capture, which often produces unexpected and counterintuitive behavior. We take ideas from the Scheme family of programming languages and solve these two problems simultaneously by proposing a novel hygienic macro system custom
SUBMITTER: Ullrich S
PROVIDER: S-EPMC7324063 | biostudies-literature | 2020 Jun
REPOSITORIES: biostudies-literature
ACCESS DATA