Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • RT-PROOFS/rt-proofs
  • sophie/rt-proofs
  • fstutz/rt-proofs
  • sbozhko/rt-proofs
  • fradet/rt-proofs
  • mlesourd/rt-proofs
  • xiaojie/rt-proofs
  • LailaElbeheiry/rt-proofs
  • ptorrx/rt-proofs
  • proux/rt-proofs
  • LasseBlaauwbroek/rt-proofs
  • krathul/rt-proofs
12 results
Show changes
Commits on Source (33)
...@@ -135,7 +135,7 @@ spell-check: ...@@ -135,7 +135,7 @@ spell-check:
stage: build stage: build
image: bbbrandenburg/aspell-ci image: bbbrandenburg/aspell-ci
script: 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 # mathcomp-dev with stable Coq
#coq-8.15: #coq-8.15:
...@@ -153,6 +153,24 @@ spell-check: ...@@ -153,6 +153,24 @@ spell-check:
# # it's ok to fail with an unreleased version of ssreflect and Coq # # it's ok to fail with an unreleased version of ssreflect and Coq
# allow_failure: true # 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: proof-state:
extends: extends:
- .not_in_wip_branches - .not_in_wip_branches
......
...@@ -47,8 +47,8 @@ Section ValidArrivalSequence. ...@@ -47,8 +47,8 @@ Section ValidArrivalSequence.
(** Assume that job arrival times are known. *) (** Assume that job arrival times are known. *)
Context {Job: JobType}. Context {Job: JobType}.
Context `{JobArrival Job}. Context {ja : JobArrival Job}.
(** Consider any job arrival sequence. *) (** Consider any job arrival sequence. *)
Variable arr_seq: arrival_sequence Job. Variable arr_seq: arrival_sequence Job.
...@@ -75,11 +75,11 @@ End ValidArrivalSequence. ...@@ -75,11 +75,11 @@ End ValidArrivalSequence.
Section ArrivalTimeProperties. Section ArrivalTimeProperties.
(** Assume that job arrival times are known. *) (** Assume that job arrival times are known. *)
Context {Job: JobType}. Context {Job : JobType}.
Context `{JobArrival Job}. Context {ja : JobArrival Job}.
(** Let j be any 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 (** We say that job j has arrived at time t iff it arrives at some time t_0
with t_0 <= t. *) with t_0 <= t. *)
...@@ -102,11 +102,11 @@ End ArrivalTimeProperties. ...@@ -102,11 +102,11 @@ End ArrivalTimeProperties.
Section ArrivalSequencePrefix. Section ArrivalSequencePrefix.
(** Assume that job arrival times are known. *) (** Assume that job arrival times are known. *)
Context {Job: JobType}. Context {Job : JobType}.
Context `{JobArrival Job}. Context {ja : JobArrival Job}.
(** Consider any job arrival sequence. *) (** 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 (** By concatenation, we construct the list of jobs that arrived in the
interval <<[t1, t2)>>. *) interval <<[t1, t2)>>. *)
......
...@@ -35,9 +35,9 @@ Section Service. ...@@ -35,9 +35,9 @@ Section Service.
(** In the following, consider jobs that have a cost, a deadline, and an (** In the following, consider jobs that have a cost, a deadline, and an
arbitrary arrival time. *) arbitrary arrival time. *)
Context `{JobCost Job}. Context {jc : JobCost Job}.
Context `{JobDeadline Job}. Context {jd : JobDeadline Job}.
Context `{JobArrival Job}. Context {ja : JobArrival Job}.
(** We say that job [j] has completed by time [t] if it received all required (** 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]. *) service in the interval from [0] until (but not including) [t]. *)
......
...@@ -32,7 +32,7 @@ echo "${CoqProjectContent}" >> _CoqProject ...@@ -32,7 +32,7 @@ echo "${CoqProjectContent}" >> _CoqProject
FIND_OPTS+=( -print ) FIND_OPTS+=( -print )
# Compile all relevant *.v files # 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 # Patch HTML target to switch out color, and
# so that it parses comments and has links to ssreflect. # so that it parses comments and has links to ssreflect.
......
This diff is collapsed.
...@@ -4,3 +4,13 @@ html-alectryon/%.html: $(VOFILES) ...@@ -4,3 +4,13 @@ html-alectryon/%.html: $(VOFILES)
$(HIDE)scripts/alectryon.sh $(patsubst %,%.v,$(subst html-alectryon/prosa/,,$(subst .,/,$(@:.html=)))) $(HIDE)scripts/alectryon.sh $(patsubst %,%.v,$(subst html-alectryon/prosa/,,$(subst .,/,$(@:.html=))))
alectryon: $(ALECTRYONFILES) 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 ...@@ -10,7 +10,7 @@ do
#Here, sed is used to remove verbatim text (enclosed in <<>>) #Here, sed is used to remove verbatim text (enclosed in <<>>)
for WORD in $(scripts/extract-comments.py "$SRC" \ 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 \ | aspell --add-extra-dicts=$KNOWN_EXCEPTIONS -l en list \
| sort \ | sort \
| uniq) | uniq)
......
...@@ -93,4 +93,14 @@ Bedarkar ...@@ -93,4 +93,14 @@ Bedarkar
RTSS RTSS
customizable customizable
uniprocessor's uniprocessor's
modularity modularity
\ No newline at end of file ANR
DFG
MPI
SWS
INRIA
Verimag
ONERA
OPAM
Alectryon
priori