Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpdt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
research
cpdt
Commits
15b885f0
Commit
15b885f0
authored
Feb 03, 2010
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PDF ToC generation; mention Set Implicit Arguments in StackMachine
parent
76834b35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Intro.v
src/Intro.v
+3
-0
StackMachine.v
src/StackMachine.v
+2
-2
No files found.
src/Intro.v
View file @
15b885f0
...
...
@@ -9,6 +9,8 @@
(
**
%
\
fi
\
usepackage
{
hyperref
}
\
begin
{
document
}
\
maketitle
...
...
@@ -33,6 +35,7 @@ The license text is available at:
(
**
%
\
vfill
\
mbox
{}
\
end
{
center
}
\
phantomsection
\
tableofcontents
\
chapter
{
Introduction
}%
*
)
...
...
src/StackMachine.v
View file @
15b885f0
(
*
Copyright
(
c
)
2008
-
20
09
,
Adam
Chlipala
(
*
Copyright
(
c
)
2008
-
20
10
,
Adam
Chlipala
*
*
This
work
is
licensed
under
a
*
Creative
Commons
Attribution
-
Noncommercial
-
No
Derivative
Works
3.0
...
...
@@ -21,7 +21,7 @@ Set Implicit Arguments.
(
**
I
will
start
off
by
jumping
right
in
to
a
fully
-
worked
set
of
examples
,
building
certified
compilers
from
increasingly
complicated
source
languages
to
stack
machines
.
We
will
meet
a
few
useful
tactics
and
see
how
they
can
be
used
in
manual
proofs
,
and
we
will
also
see
how
easily
these
proofs
can
be
automated
instead
.
I
assume
that
you
have
installed
Coq
and
Proof
General
.
The
code
in
this
book
is
tested
with
Coq
version
8.2
pl1
,
though
parts
may
work
with
other
versions
.
As
always
,
you
can
step
through
the
source
file
%
\
texttt
{%
#
<
tt
>
#
StackMachine
.
v
#
</
tt
>
#
%}%
for
this
chapter
interactively
in
Proof
General
.
Alternatively
,
to
get
a
feel
for
the
whole
lifecycle
of
creating
a
Coq
development
,
you
can
enter
the
pieces
of
source
code
in
this
chapter
in
a
new
%
\
texttt
{%
#
<
tt
>
#
.
v
#
</
tt
>
#
%}%
file
in
an
Emacs
buffer
.
If
you
do
the
latter
,
include
a
line
[
Require
Import
List
Tactic
s
.
]
at
the
start
of
the
file
,
to
match
some
code
hidden
in
this
rendering
of
the
chapter
source
,
and
be
sure
to
run
the
Coq
binary
%
\
texttt
{%
#
<
tt
>
#
coqtop
#
</
tt
>
#
%}%
with
the
command
-
line
argument
%
\
texttt
{%
#
<
tt
>
#
-
I
SRC
#
</
tt
>
#
%}%,
where
%
\
texttt
{%
#
<
tt
>
#
SRC
#
</
tt
>
#
%}%
is
the
path
to
a
directory
containing
the
source
for
this
book
.
In
either
case
,
you
will
need
to
run
%
\
texttt
{%
#
<
tt
>
#
make
#
</
tt
>
#
%}%
in
the
root
directory
of
the
source
distribution
for
the
book
before
getting
started
.
If
you
have
installed
Proof
General
properly
,
it
should
start
automatically
when
you
visit
a
%
\
texttt
{%
#
<
tt
>
#
.
v
#
</
tt
>
#
%}%
buffer
in
Emacs
.
As
always
,
you
can
step
through
the
source
file
%
\
texttt
{%
#
<
tt
>
#
StackMachine
.
v
#
</
tt
>
#
%}%
for
this
chapter
interactively
in
Proof
General
.
Alternatively
,
to
get
a
feel
for
the
whole
lifecycle
of
creating
a
Coq
development
,
you
can
enter
the
pieces
of
source
code
in
this
chapter
in
a
new
%
\
texttt
{%
#
<
tt
>
#
.
v
#
</
tt
>
#
%}%
file
in
an
Emacs
buffer
.
If
you
do
the
latter
,
include
two
lines
[
Require
Import
List
Tactics
.
]
and
[
Set
Implicit
Argument
s
.
]
at
the
start
of
the
file
,
to
match
some
code
hidden
in
this
rendering
of
the
chapter
source
,
and
be
sure
to
run
the
Coq
binary
%
\
texttt
{%
#
<
tt
>
#
coqtop
#
</
tt
>
#
%}%
with
the
command
-
line
argument
%
\
texttt
{%
#
<
tt
>
#
-
I
SRC
#
</
tt
>
#
%}%,
where
%
\
texttt
{%
#
<
tt
>
#
SRC
#
</
tt
>
#
%}%
is
the
path
to
a
directory
containing
the
source
for
this
book
.
In
either
case
,
you
will
need
to
run
%
\
texttt
{%
#
<
tt
>
#
make
#
</
tt
>
#
%}%
in
the
root
directory
of
the
source
distribution
for
the
book
before
getting
started
.
If
you
have
installed
Proof
General
properly
,
it
should
start
automatically
when
you
visit
a
%
\
texttt
{%
#
<
tt
>
#
.
v
#
</
tt
>
#
%}%
buffer
in
Emacs
.
There
are
some
minor
headaches
associated
with
getting
Proof
General
to
pass
the
proper
command
line
arguments
to
the
%
\
texttt
{%
#
<
tt
>
#
coqtop
#
</
tt
>
#
%}%
program
.
The
best
way
to
add
settings
that
will
be
shared
by
many
source
files
is
to
add
a
custom
variable
setting
to
your
%
\
texttt
{%
#
<
tt
>
#
.
emacs
#
</
tt
>
#
%}%
file
,
like
this
:
%
\
begin
{
verbatim
}%
#
<
pre
>
#(
custom
-
set
-
variables
...
...
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