Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Theoretical model behind Coq's "Notation"

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Theoretical model behind Coq's "Notation"


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Theoretical model behind Coq's "Notation"
  • Date: Mon, 5 Aug 2013 14:53:37 -0700

Hi,

  I'm currently (past few days, trying to) writing a parser for Coq. With the exception of Notation (for which I hard coded the common cases I use) and proper handling of precedence (i.e. "1 + 2 * 3" is incorrectly parsed as "(1+2)*3"), everything appears to work.

  Courses I had previously take in compilers / automata theory tend to assume that the grammar is fixed before the program is compiled. Notation breaks this assumption. Can someone explain to me (or point me at a paper) on the theoretical foundations behind notation and how it's implemented?

Thanks!



Archive powered by MHonArc 2.6.18.

Top of Page