coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Xuanrui Qi <xqi01 AT cs.tufts.edu>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Connecting strings in Coq and extraction target?
- Date: Fri, 5 Oct 2018 17:28:03 +0000 (UTC)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=xqi01 AT cs.tufts.edu; spf=None smtp.mailfrom=xqi01 AT cs.tufts.edu; spf=None smtp.helo=postmaster AT vm-delivery1.eecs.tufts.edu
- Ironport-phdr: 9a23:DvNnTBGBX8C084vC0w3ZFJ1GYnF86YWxBRYc798ds5kLTJ78ocmwAkXT6L1XgUPTWs2DsrQY07WQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDiwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95fWSJBHI2ybIkAD+QcM+lXs4bzoEADogGiCQS2H+zi0CNEi33w0KYn0+ohCwbG3Ak4Et0PrXTbttP1NL0PUeC00aLG1jTDZO5R1Dby8YjIcwwtreyXUL1sasrd01UvFx7LjlWMsozpJS2a2fkQs2WC6edrSOGhi3Y/pg1srDWj2t0gh4jGi44P1FzJ+z91zYg3KNGgSEN3f8SoHIZOuyyaLYd6X80vT39ytConybALu5i2dzUQxps93R7QcfmHfpCI4h39UOaRJi91hGxgeL6mmhm970ygyuziVsaqylZLrjdJnsPSuX8TyxPT8dKLSudg/kevxTaPzBrf5f9ZLkApjabbKpghzaAslpcLrEjOEDP6lF/3gaKZbEko5Oal5/7pb7jkvpOcMpV7igD6MqQggMy/BuE4PxABXmiC+OSwyKDv8FblT7VRlPE2jrTZsJ7GJcQAvKK2HRJa0ps75xalEzimyMgYnWUALF9dZB2HiJHpN0jSL/D8EPewmE+hkCxrxvDDJr3uGI/BLnnFkLf7fLZy8VRQyAQpzYMX25UBIbYYaNn3R0W54NffF1oyNxG+6+fhEtR0kI0EDzGhGKicZZPPuFmS++NnGujEMJ8MuW6kA/M+oeLzg2Mi31IRYP/6jtMsdHmkE6E+cA2ian32j4JESD9S51tsfKnRkFSHFAVrSTO3VqM46Cs8Ddv6X4zYAJywjqCamiq3A88OPzwUOhW3CX7tMr68dbIUcivLfp1qiXoYSLa9UMks2Qz87FanmYoiFfLd/2gjjbym1NVx4LeCxw83sDB5C8WD3nucFid5k2gTASMr0rxk50Fx1wXb3A==
Jason and Ifaz:
I'm not sure Menhir generates a verified parser, though. If I recall correctly, verified parsing is still a quite active research topic.
-Xuanrui
On Fri, Oct 5, 2018 at 12:06 PM -0400, "Ifaz Kabir" <ikabir AT uwaterloo.ca> wrote:
Hi Jason,
I can't comment on the strings part, but Menhir (an OCaml parser generator) can produce Coq parsers.
-Ifaz
From: Jason -Zhong Sheng- Hu
Sent: Friday, October 5, 9:56 AM
Subject: [Coq-Club] Connecting strings in Coq and extraction target?
To: Coq Club
Hi all,
I am wondering if there is already a good practice on turning strings in Coq into, say, strings in Haskell? The goal is to push informal part as late as possible, so I am thinking implementing the to-string functions in Coq as well. This is especially important when the objects are dependent. However, these strings need to go to console eventually, so I guess it has to become string in Haskell some point. My problem is, if this transition is not well-guarded, it sort of defeats the purpose of pushing informal parts late already. So how do people normally do this?
Secondly, is there any framework that can turn a context free grammar into a certified parser in Coq?
Thanks,
Jason
- [Coq-Club] Connecting strings in Coq and extraction target?, Jason -Zhong Sheng- Hu, 10/05/2018
- Re: [Coq-Club] Connecting strings in Coq and extraction target?, Ifaz Kabir, 10/05/2018
- Re: [Coq-Club] Connecting strings in Coq and extraction target?, Xuanrui Qi, 10/05/2018
- Re: [Coq-Club] Connecting strings in Coq and extraction target?, Jason -Zhong Sheng- Hu, 10/05/2018
- Re: [Coq-Club] Connecting strings in Coq and extraction target?, Xuanrui Qi, 10/05/2018
- Re: [Coq-Club] Connecting strings in Coq and extraction target?, sunil, 10/05/2018
- Re: [Coq-Club] Connecting strings in Coq and extraction target?, Ifaz Kabir, 10/05/2018
Archive powered by MHonArc 2.6.18.