Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
POTTIER Francois
menhir
Commits
7bd90f16
Commit
7bd90f16
authored
Dec 29, 2014
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment on extraction settings.
parent
f2651716
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
doc/main.tex
doc/main.tex
+14
-0
No files found.
doc/main.tex
View file @
7bd90f16
...
...
@@ -2076,6 +2076,20 @@ library, which can be found in the CompCert tree~\cite{compcert}, in the
an example if one wishes to use
\menhir
to generate a formally verified parser
as part of some other project.
% fp: ce pourrait être bien de documenter les directives nécessaires pour
% extraire du code efficace. D'après Xavier ce morceau de extraction.v
% est pertinent:
\begin{comment}
(* Int31 *)
Extract Inductive Int31.digits => "bool" [ "false" "true" ].
Extract Inductive Int31.int31 => "int" [ "Camlcoq.Int31.constr" ] "Camlcoq.Int31.destr".
Extract Constant Int31.twice => "Camlcoq.Int31.twice".
Extract Constant Int31.twice
_
plus
_
one => "Camlcoq.Int31.twice
_
plus
_
one".
Extract Constant Int31.compare31 => "Camlcoq.Int31.compare".
Extract Constant Int31.On => "0".
Extract Constant Int31.In => "1".
\end{comment}
% ---------------------------------------------------------------------------------------------------------------------
\section
{
Comparison with
\ocamlyacc
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment