Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] what are "levels" in Coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] what are "levels" in Coq


chronological Thread 
  • From: Adam Chlipala <adamc AT hcoop.net>
  • To: Vladimir Voevodsky <vladimir AT ias.edu>
  • Cc: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] what are "levels" in Coq
  • Date: Tue, 06 Oct 2009 15:15:15 -0400
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Vladimir Voevodsky wrote:
A related question: does Cow has an "internal representation" language with a more rigid syntactic structure?

Like pretty much all tools that process programming languages, Coq uses abstract syntax trees internally. As far as I know, the "format" isn't documented, but you can see it in the source code. The Coq implementation is pretty modular, so it's not actually that much trouble to write (and dynamically load) your own modules that manipulate syntax trees. You just need to learn the "API details" by reading .mli files in the source.





Archive powered by MhonArc 2.6.16.

Top of Page