Skip to content
Commits on Source (33)
......@@ -135,7 +135,7 @@ spell-check:
stage: build
image: bbbrandenburg/aspell-ci
script:
- scripts/flag-typos-in-comments.sh `find . -iname '*.v'`
- scripts/flag-typos-in-comments.sh `find . -iname '*.v' ! -path './doc/*'`
# mathcomp-dev with stable Coq
#coq-8.15:
......@@ -153,6 +153,24 @@ spell-check:
# # it's ok to fail with an unreleased version of ssreflect and Coq
# allow_failure: true
tutorial:
extends:
- .not_in_wip_branches
stage: build
image: bbbrandenburg/alectryon-ci:latest
script:
- eval $(opam env "--switch=${COMPILER_EDGE}" --set-switch)
- opam update -y
- opam install -y -v -j ${NJOBS} --deps-only coq-prosa
- ./create_makefile.sh --without-refinements
- make -j ${NJOBS} tutorial
- mv html html-tutorial
artifacts:
name: "prosa-tutorial-$CI_COMMIT_REF_NAME"
paths:
- "html-tutorial/"
expire_in: 1 week
proof-state:
extends:
- .not_in_wip_branches
......
......@@ -47,8 +47,8 @@ Section ValidArrivalSequence.
(** Assume that job arrival times are known. *)
Context {Job: JobType}.
Context `{JobArrival Job}.
Context {ja : JobArrival Job}.
(** Consider any job arrival sequence. *)
Variable arr_seq: arrival_sequence Job.
......@@ -75,11 +75,11 @@ End ValidArrivalSequence.
Section ArrivalTimeProperties.
(** Assume that job arrival times are known. *)
Context {Job: JobType}.
Context `{JobArrival Job}.
Context {Job : JobType}.
Context {ja : JobArrival Job}.
(** Let j be any job. *)
Variable j: Job.
Variable j : Job.
(** We say that job j has arrived at time t iff it arrives at some time t_0
with t_0 <= t. *)
......@@ -102,11 +102,11 @@ End ArrivalTimeProperties.
Section ArrivalSequencePrefix.
(** Assume that job arrival times are known. *)
Context {Job: JobType}.
Context `{JobArrival Job}.
Context {Job : JobType}.
Context {ja : JobArrival Job}.
(** Consider any job arrival sequence. *)
Variable arr_seq: arrival_sequence Job.
Variable arr_seq : arrival_sequence Job.
(** By concatenation, we construct the list of jobs that arrived in the
interval <<[t1, t2)>>. *)
......
......@@ -35,9 +35,9 @@ Section Service.
(** In the following, consider jobs that have a cost, a deadline, and an
arbitrary arrival time. *)
Context `{JobCost Job}.
Context `{JobDeadline Job}.
Context `{JobArrival Job}.
Context {jc : JobCost Job}.
Context {jd : JobDeadline Job}.
Context {ja : JobArrival Job}.
(** We say that job [j] has completed by time [t] if it received all required
service in the interval from [0] until (but not including) [t]. *)
......
......@@ -32,7 +32,7 @@ echo "${CoqProjectContent}" >> _CoqProject
FIND_OPTS+=( -print )
# Compile all relevant *.v files
coq_makefile -f _CoqProject $(find "${FIND_OPTS[@]}" | scripts/module-toc-order.py ) -o Makefile
coq_makefile -f _CoqProject $(find "${FIND_OPTS[@]}" | grep -v "doc/tutorial.v" | scripts/module-toc-order.py ) -o Makefile
# Patch HTML target to switch out color, and
# so that it parses comments and has links to ssreflect.
......
This diff is collapsed.
......@@ -4,3 +4,13 @@ html-alectryon/%.html: $(VOFILES)
$(HIDE)scripts/alectryon.sh $(patsubst %,%.v,$(subst html-alectryon/prosa/,,$(subst .,/,$(@:.html=))))
alectryon: $(ALECTRYONFILES)
tutorial: $(VOFILES) doc/tutorial.v
$(SHOW)'Compiling the tutorial with alectryon: doc/tutorial.v -> html/tutorial.html'
$(HIDE)mkdir -p html
$(HIDE)alectryon -R . prosa --frontend coq+rst --backend webpage --output-directory "html" doc/tutorial.v
tutorial-pdf: $(VOFILES) doc/tutorial.v
$(SHOW)'Compiling the tutorial with alectryon: doc/tutorial.v -> doc/tutorial.pdf'
$(HIDE)alectryon -R . prosa --frontend coq+rst --backend latex --output-directory "doc" doc/tutorial.v
$(HIDE)cd doc && pdflatex tutorial.tex
......@@ -10,7 +10,7 @@ do
#Here, sed is used to remove verbatim text (enclosed in <<>>)
for WORD in $(scripts/extract-comments.py "$SRC" \
| sed 's/<<.*>>//g' \
| sed -e 's/<<.*>>//g' -e 's/`.*`//g' \
| aspell --add-extra-dicts=$KNOWN_EXCEPTIONS -l en list \
| sort \
| uniq)
......
......@@ -93,4 +93,14 @@ Bedarkar
RTSS
customizable
uniprocessor's
modularity
\ No newline at end of file
modularity
ANR
DFG
MPI
SWS
INRIA
Verimag
ONERA
OPAM
Alectryon
priori