Skip to content
Snippets Groups Projects
Commit 7971e57e authored by Gabriel's avatar Gabriel
Browse files

restructuration

parent aeb03dc2
No related branches found
No related tags found
No related merge requests found
Showing
with 22 additions and 15 deletions
...@@ -17,13 +17,14 @@ jobs: ...@@ -17,13 +17,14 @@ jobs:
run: | run: |
eval $(opam env --switch=~/lambdapi --set-switch) eval $(opam env --switch=~/lambdapi --set-switch)
bmake -C encoding install bmake -C encoding install
sed "s:PVSDKPATH:$(pwd):" pvs-load.lisp > ~/.pvs.lisp cp 'tools/load-personoj.lisp' > ~/.pvs.lisp
echo '(load-personoj)' >> ~/.pvs.lisp
cat ~/.pvs.lisp cat ~/.pvs.lisp
- name: translate and typecheck - name: translate and typecheck
run: | run: |
eval $(opam env --switch=~/lambdapi --set-switch) eval $(opam env --switch=~/lambdapi --set-switch)
cd tools/prelude || exit 1 cd specs/tools/prelude || exit 1
# Comment out theories that consume too much memory during # Comment out theories that consume too much memory during
# typechecking # typechecking
sed -i 's/^floor_ceil$/-floor_ceil/' theories sed -i 's/^floor_ceil$/-floor_ceil/' theories
......
.PHONY: install .PHONY: install
install: install:
${MAKE} -C encoding install ${MAKE} -C encoding install
@sed 's:PVSDKPATH:${PWD}:' pvs-load.lisp | cat @sed 's:PVSDKPATH:${PWD}:' tools/load-personoj.lisp | cat
.PHONY: encoding .PHONY: encoding
encoding: encoding:
......
...@@ -128,8 +128,10 @@ To install the encoding ...@@ -128,8 +128,10 @@ To install the encoding
[source,sh] [source,sh]
personoj $ bmake -C encoding install personoj $ bmake -C encoding install
To install the exporter, add the content of +pvs-load.lisp+ to To install the exporter, add the content of +tools/load-personoj.lisp+ to
+$HOME/.pvs.lisp+ replacing +PVSDKPATH+ with the path to the root of +$HOME/.pvs.lisp+, add the line
personoj. [source,lisp]
[source,sh] (load-personoj)
personoj $ sed "s:PVSDKPATH:$(pwd):" pvs-load.lisp >> ~/.pvs.lisp
at the end of +$HOME/.pvs.lisp+ and set the environment variable
+PERSONOJPATH+ to the path to the local copy of +PERSONOJ+.
(dolist (m '("utils"
"packages"
"dklog"
"dk-sig"
"dk-recursive"
"pp-dk3"
"pvs"))
(load (concatenate 'string "specs/src/" m ".lisp") ))
(dolist (m '("tptp" "proof-json"))
(load (concatenate 'string "proofs/src/" m ".lisp")))
File moved
File moved
;;;; Place this at the top of "~/.pvs.lisp"
(defparameter *pvs-dedukti-path* "PVSDKPATH")
(dolist (m '("utils" "packages" "dklog" "dk-sig" "dk-recursive" "pp-dk3" "pvs"))
(load (concatenate 'string *pvs-dedukti-path* "/exporter/" m ".lisp")))
(dolist (m '("tptp" "proof-json"))
(load (concatenate 'string *pvs-dedukti-path* "/proofs/" m ".lisp")))
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment