coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Coq term parsers
- Date: Sat, 11 Feb 2017 01:32:22 +0000
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-qt0-f175.google.com
- Ironport-phdr: 9a23:/2wPyBVNSulBdvBUS3NNkwKTQz/V8LGtZVwlr6E/grcLSJyIuqrYZROGt8tkgFKBZ4jH8fUM07OQ6PG8HzxQqs3f+DBaKdoXCE9D0Z1X1yUbQ+e7SmTDZMbwaCI7GMkQHHRExFqcdXZvJcDlelfJqWez5zNBUj/2NA5yO/inUtWK15f/hKiO/MjYZBwNjz6ga5tzKg+3pEPfrJo4m4xnf4Q40RzP6lRSfP9NjTdqLEmUmRnm4dyrrbZs9i1Rv7Qq8MsWAvayRLgxUbENVGduCGsy/sC+7RQ=
It should be straightforward to fork Coq and have it extract Props too; I expect this to be at most a 5-line change (probably more like 1-line). Alternatively, pass -impredicative-set, and replace all instances of Prop with Set. Do either of those work?
On Fri, Feb 10, 2017 at 8:22 PM Talia Ringer <tringer AT cs.washington.edu> wrote:
Hello,For a project I'm working on, I need to be able to get ASTs for Coq terms. So far I'm aware of a few options:
- JSON extraction in 8.5, which does not work for us because we also need information in Prop
- A Peacoq plugin which we are trying to get working
- The XML protocol, which I know nothing about (is this useful?) but see referenced in old Coq-club threads
- template-coq, which is neat but does not fit our needs
I'm wondering if anyone knows of any other parsers that produce ASTs for Coq terms, including Props, preferably as s-expressions (or something similarly versatile).
Thanks,
Talia
- [Coq-Club] Coq term parsers, Talia Ringer, 02/11/2017
- Re: [Coq-Club] Coq term parsers, Jason Gross, 02/11/2017
- Re: [Coq-Club] Coq term parsers, Talia Ringer, 02/11/2017
- Re: [Coq-Club] Coq term parsers, Jason Gross, 02/11/2017
- Re: [Coq-Club] Coq term parsers, Talia Ringer, 02/11/2017
- Re: [Coq-Club] Coq term parsers, Emilio Jesús Gallego Arias, 02/22/2017
- Re: [Coq-Club] Coq term parsers, Jason Gross, 02/11/2017
Archive powered by MHonArc 2.6.18.