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
0f1efe21
Commit
0f1efe21
authored
Aug 29, 2008
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pretty LaTeX generation
parent
12b4adcf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
6 deletions
+31
-6
.hgignore
.hgignore
+5
-0
Makefile
book/Makefile
+20
-6
StackMachine.v
book/src/StackMachine.v
+6
-0
Tactics.v
book/src/Tactics.v
+0
-0
No files found.
.hgignore
View file @
0f1efe21
...
@@ -6,3 +6,8 @@ syntax: glob
...
@@ -6,3 +6,8 @@ syntax: glob
*.vo
*.vo
*/Makefile.coq
*/Makefile.coq
*/.coq_globals
*/.coq_globals
*/coqdoc.sty
*/cpdt.*
*/*.log
book/Makefile
View file @
0f1efe21
MODULES
:=
Tactics StackMachine
MODULES_NODOC
:=
Tactics
VS
:=
$
(
MODULES:%
=
%.v
)
MODULES_DOC
:=
StackMachine
MODULES
:=
$(MODULES_NODOC)
$(MODULES_DOC)
VS
:=
$
(
MODULES:%
=
src/%.v
)
VS_DOC
:=
$
(
MODULES_DOC:%
=
%.v
)
GLOBALS
:=
.coq_globals
GLOBALS
:=
.coq_globals
.PHONY
:
coq clean
.PHONY
:
coq clean
doc
coq
:
Makefile.coq
coq
:
Makefile.coq
make
-f
Makefile.coq
make
-f
Makefile.coq
Makefile.coq
:
Makefile $(VS)
Makefile.coq
:
Makefile $(VS)
coq_makefile
$(VS)
\
coq_makefile
$(VS)
\
COQC
=
"coqc -impredicative-set -dump-glob
$(GLOBALS)
"
\
COQC
=
"coqc -I src -impredicative-set
\
-dump-glob
$(GLOBALS)
"
\
-o
Makefile.coq
-o
Makefile.coq
clean
::
Makefile.coq
clean
::
Makefile.coq
make
-f
Makefile.coq clean
make
-f
Makefile.coq clean
rm
-f
Makefile.coq .depend
rm
-f
Makefile.coq .depend
$(GLOBALS)
\
latex/
*
.sty latex/cpdt.
*
doc
:
latex/cpdt.dvi
latex/cpdt.tex
:
$(VS)
cd
src
;
coqdoc
--latex
$(VS_DOC)
\
-o
../latex/cpdt.tex
latex/cpdt.dvi
:
latex/cpdt.tex
cd
latex
;
latex cpdt
book/StackMachine.v
→
book/
src/
StackMachine.v
View file @
0f1efe21
...
@@ -7,14 +7,18 @@
...
@@ -7,14 +7,18 @@
*
http
:
//creativecommons.org/licenses/by-nc-nd/3.0/
*
http
:
//creativecommons.org/licenses/by-nc-nd/3.0/
*
)
*
)
(
*
begin
hide
*
)
Require
Import
List
.
Require
Import
List
.
Require
Import
Tactics
.
Require
Import
Tactics
.
(
*
end
hide
*
)
(
**
*
Arithmetic
expressions
over
natural
numbers
*
)
(
**
*
Arithmetic
expressions
over
natural
numbers
*
)
(
*
begin
hide
*
)
Module
Nat
.
Module
Nat
.
(
*
end
hide
*
)
(
**
**
Source
language
*
)
(
**
**
Source
language
*
)
Inductive
binop
:
Set
:=
Plus
|
Times
.
Inductive
binop
:
Set
:=
Plus
|
Times
.
...
@@ -112,4 +116,6 @@ Module Nat.
...
@@ -112,4 +116,6 @@ Module Nat.
reflexivity
.
reflexivity
.
Qed
.
Qed
.
(
*
begin
hide
*
)
End
Nat
.
End
Nat
.
(
*
end
hide
*
)
book/Tactics.v
→
book/
src/
Tactics.v
View file @
0f1efe21
File moved
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