diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-10-25 18:43:32 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-10-26 11:42:20 +0100 |
commit | 010775eba60ea89645792b48a0686ff15c4ebcb5 (patch) | |
tree | 5edfed592e117b4b2e3174cb8ca2641bbc4c2347 /parsing/parsing.mllib | |
parent | af89d24f9d54b18068046545af1268dffbeb3e07 (diff) |
Pcoq entries are given a proper module.
Entries defined in the Pcoq AST of symbols must be marshallable, because they
are present in the libstack. Yet, CAMLP4/5 entries are not marshallable as
they contain functional values. This is why the Pcoq module used a pair
[string * string] to describe entries. It is obviously type-unsafe, so
we define a new abstract type in its own module. There is a little issue
though, which is that our entries and CAMLP4/5 entries must be kept
synchronized through an association table. The Pcoq module tries to
maintain this invariant.
Diffstat (limited to 'parsing/parsing.mllib')
-rw-r--r-- | parsing/parsing.mllib | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/parsing.mllib b/parsing/parsing.mllib index a0cb83193..024d8607f 100644 --- a/parsing/parsing.mllib +++ b/parsing/parsing.mllib @@ -1,6 +1,7 @@ Tok Compat Lexer +Entry Pcoq Egramml Egramcoq |