-
src/
: source code of Lambdapi-
utilities:
extra.ml
: standard library extensionfiles.ml
: filenames and paths managementconsole.ml
: output and debugging utilities
-
file, command and tactic handling:
lambdapi.ml
: main filecompile.ml
: file parsing and compiling (.lpo files)handle.ml
: command handlingtactics.ml
: tactic handlingrewrite.ml
: rewrite tacticproof.ml
: proof state
-
terms, signatures, rewriting, unification and type-checking:
terms.ml
: internal representation of termsbasics.ml
: basic operations on termsprint.ml
: pretty printing of termseval.ml
: rewriting enginesolve.ml
: unification algorithmctxt.ml
: typing contexts (maps variable -> type)typing.ml
: type-checking algorithmsign.ml
: signatures/theories (sets of symbols and rules)
-
parsing and scoping:
pos.ml
: source file position managementsyntax.ml
: abstract syntaxparser.ml
: parser (convert the concrete syntax into the abstract syntax)env.ml
: maps identifier -> variable (and type)scope.ml
: convert the abstract syntax into termspretty.ml
: pretty print the abstract syntax (used to convert old Dedukti files into Lambdapi files)
-
legacy parser:
legacy_lexer.ml
: lexer for the old Dedukti syntaxlegacy_parser.ml
: interface of the parser for the old Dedukti syntaxmenhir_parser.ml
: parser using Menhir (http://gallium.inria.fr/~fpottier/menhir/)
-
property checking:
sr.ml
: algorithm for checking subject reductionconfluence.ml
: call confluence checker by converting signatures into a TRS file
-
interface to editors:
pure.ml
andpure.mli
: interface to the LSP server
-
-
lp-lsp/
: source code of the Lambdapi LSP server (see https://microsoft.github.io/language-server-protocol/ and https://langserver.org/) -
tests/
: unit testsOK/
: tests that should succeedKO/
: tests that should fail
-
examples/
: examples of Dedukti or Lambdapi files with no proofs -
proofs/
: examples of Lambdapi files with proofs -
tools/
:deps.ml
: gives the#REQUIRE
commands that should be added at the beginning of a Dedukti filelistings.tex
: setup of the LaTeX package listings for including Lambdapi code into a LaTeX documentsanity_check.sh
: script checking some style guidelines below (called bymake sanity_check
)
-
libraries/
: libraries of Dedukti files (see GNUmakefile)