Skip to content
Snippets Groups Projects
Commit 9f69a61d authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Some doc improvements

parent b32c5513
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,9 @@ which instruct Leon to handle some functions or objects in a specialized way. ...@@ -74,7 +74,9 @@ which instruct Leon to handle some functions or objects in a specialized way.
| | code written in full Scala which is not verifiable| | | code written in full Scala which is not verifiable|
| | by Leon. | | | by Leon. |
+-------------------+---------------------------------------------------+ +-------------------+---------------------------------------------------+
| ``@inline`` | Inline this function. Leon will refuse to inline |
| | (mutually) recursive functions. |
+-------------------+---------------------------------------------------+
List[T] List[T]
------- -------
......
...@@ -9,10 +9,10 @@ or just ``--option``. To disable a flag option, use ``--option=false`` ...@@ -9,10 +9,10 @@ or just ``--option``. To disable a flag option, use ``--option=false``
or ``off`` or ``no``. or ``off`` or ``no``.
Additionally, if you need to pass options to the ``scalac`` frontend of Leon, Additionally, if you need to pass options to the ``scalac`` frontend of Leon,
you can do it by using a single dash ``-``. For example, ``-Ybrowse:typer``. you can do it by using a single dash ``-``. For example, try ``-Ybrowse:typer``.
The rest of this section presents command-line options that Leon recognizes. The rest of this section presents command-line options that Leon recognizes.
For more up-to-date list, please invoke ``leon --help``. For a short (but always up-to-date) summary, you can also invoke ``leon --help``.
Choosing which Leon feature to use Choosing which Leon feature to use
---------------------------------- ----------------------------------
...@@ -73,10 +73,14 @@ These options are available to all Leon components: ...@@ -73,10 +73,14 @@ These options are available to all Leon components:
* ``eval`` (Evaluators) * ``eval`` (Evaluators)
* ``isabelle`` (:ref:`The Isabelle-based solver <isabelle>`)
* ``leon`` (The top-level component) * ``leon`` (The top-level component)
* ``options`` (Options parsed by Leon) * ``options`` (Options parsed by Leon)
* ``positions`` (When printing, attach positions to trees)
* ``repair`` (Program repair) * ``repair`` (Program repair)
* ``solver`` (SMT solvers and their wrappers) * ``solver`` (SMT solvers and their wrappers)
...@@ -88,7 +92,9 @@ These options are available to all Leon components: ...@@ -88,7 +92,9 @@ These options are available to all Leon components:
* ``timers`` (Timers, timer pools) * ``timers`` (Timers, timer pools)
* ``trees`` (Manipulation of trees) * ``trees`` (Manipulation of trees)
* ``types`` (When printing, attach types to expressions)
* ``verification`` (Verification) * ``verification`` (Verification)
* ``xlang`` (Transformation of XLang into Pure Scala programs) * ``xlang`` (Transformation of XLang into Pure Scala programs)
...@@ -100,9 +106,9 @@ These options are available to all Leon components: ...@@ -100,9 +106,9 @@ These options are available to all Leon components:
where Leon manipulates the input in a per-function basis. where Leon manipulates the input in a per-function basis.
Leon will match against suffixes of qualified names. For instance: Leon will match against suffixes of qualified names. For instance:
``--functions=List.size`` will match the method ``--functions=List.size`` will match the method ``leon.collection.List.size``,
``leon.collection.List.size`` while ``--functions=size`` will match all ``size`` while ``--functions=size`` will match all methods and functions named ``size``.
methods and functions. This option supports ``_`` as wildcard: ``--functions=List._`` will This option supports ``_`` as wildcard: ``--functions=List._`` will
match all ``List`` methods. match all ``List`` methods.
* ``--solvers=s1,s2,...`` * ``--solvers=s1,s2,...``
...@@ -201,7 +207,8 @@ Additional Options (by component) ...@@ -201,7 +207,8 @@ Additional Options (by component)
--------------------------------- ---------------------------------
The following options relate to specific components in Leon. Bear in mind The following options relate to specific components in Leon. Bear in mind
that related components might still use these options, e.g. repair will use that related components might still use these options, e.g. repair,
which invokes synthesis and verification, will also use
synthesis options and verification options. synthesis options and verification options.
Verification Verification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment