/\<<|_
A programming language based on combinatory logic and term rewrite systems, with an advanced type system.
Copyright (C) 2020--2024 Samuele Giraudo -
giraudo.samuele@uqam.ca
-
TODO
TODO
Here is the changelog of the different versions.
The following programs or libraries are needed:
pkg-config
make
ocaml
(Version>= 5.0.0
. An inferior but not too old version may be suitable.)opam
ocamlbuild
(Available byopam install ocamlbuild
.)ocamlfind
(Available byopam install ocamlfind
.)extlib
(Available byopam install extlib
.)zarith
(Available byopam install zarith
.)menhir
(Available byopam install menhir
.)
Here are the required steps to build the interpreter aclove
:
-
Clone the repository somewhere by running
git clone https://github.com/SamueleGiraudo/Aclove.git
. -
Install all dependencies (see the section above).
-
Build the project by running
make noassert
.
This creates an executable aclove
. The following sections explain how to use it.
This page contains the description of the Aclove language.
Aclove program files must have .acl
as extension. The main command is
./aclove [--help] [--version] --file PATH [--verbose LVL] [--no-rules] [--no-shadows] [--short-names]
where
--help
prints the short help.--version
prints the version and other information.--file PATH
setsPATH
as the path to the Aclove program to consider.--verbose LVL
enables the verbose mode at level LVL from 0 (nothing) to 2 (full). By default, the level is 1.--no-rules
drops the rules of the result expression.--no-shadows
drops the shadows (that are, types) of the result expression.--short-names
keeps only the last part of the variable and constant names of the result expression.
The standard library contains some useful definitions.
TODO
To get the syntax highlighting in the text editor vim
for the Aclove language, put the
file acl.vim at ~/.vim/syntax/acl.vim
and the file
acl.vim at ~/.vim/fdetect/acl.vim
.
TODO
TODO