Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
personoj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
koizel
personoj
Commits
3d0326d4
Commit
3d0326d4
authored
3 years ago
by
hondet
Browse files
Options
Downloads
Patches
Plain Diff
installing lambdapi et personoj
parent
e2479494
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/main.adoc
+33
-3
33 additions, 3 deletions
docs/main.adoc
with
33 additions
and
3 deletions
docs/main.adoc
+
33
−
3
View file @
3d0326d4
...
@@ -96,10 +96,40 @@ The patches to be applied to the prelude are in
...
@@ -96,10 +96,40 @@ The patches to be applied to the prelude are in
order defined by their filename. Assuming the shell is in the root
order defined by their filename. Assuming the shell is in the root
directory of personoj,
directory of personoj,
[source,sh]
[source,sh]
for p in $(find 'tools/prelude_patches/' -name '*.diff' | sort); do
personoj $
for p in $(find 'tools/prelude_patches/' -name '*.diff' | sort); do
patch "${PVSPATH}/lib/prelude.pvs" "$p"
personoj $
patch "${PVSPATH}/lib/prelude.pvs" "$p"
done
personoj $
done
PVS can then be compiled, the instructions to compile PVS can be found
PVS can then be compiled, the instructions to compile PVS can be found
in +$PVSPATH/INSTALL+.
in +$PVSPATH/INSTALL+.
=== Installing lambdapi ===
The easiest way is to use the link:https://opam.ocaml.org[opam]
(version 2.0 or later).
Then we must retrieve the sources of lambdapi on the branch +refiner+,
which can be done in one line:
[source,sh]
git checkout https://github.com/gabrielhdt/lambdapi.git -b refiner
These
link:https://github.com/Deducteam/lambdapi#compilation-from-the-sources[installation
instructions] can then be followed.
NOTE: a local OPAM switch with all dependencies installed can be set
up using
[source,sh]
lambdapi $ opam switch create .
=== Installing personoj ===
To install the encoding
[source,sh]
personoj $ bmake -C encoding install
To install the exporter, add the content of +pvs-load.lisp+ to
+$HOME/.pvs.lisp+ replacing +PVSDKPATH+ with the path to the root of
personoj.
[source,sh]
personoj $ sed "s:PVSDKPATH:$(pwd):" pvs-load.lisp >> ~/.pvs.lisp
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment