Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
7dd92914
Commit
7dd92914
authored
10 years ago
by
Etienne Kneuss
Browse files
Options
Downloads
Patches
Plain Diff
Mention compilation to bytecode
parent
bec7014b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/faq.rst
+14
-0
14 additions, 0 deletions
doc/faq.rst
with
14 additions
and
0 deletions
doc/faq.rst
+
14
−
0
View file @
7dd92914
...
...
@@ -36,3 +36,17 @@ large, so, if the input list had the size `Int.MaxValue + 1`
around and produce `Int.MinValue` (that is, -2^31), so the
`ensuring` clause would not hold.
Compiling Leon programs to bytecode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you don't use special constructs such as ``choose``, you should be able to
compile Leon programs to `.class` using `scalac` and execute them directly on
the JVM, or integrate them as part as other Scala-based projects.
Beware that you need to explicitly include files files from the Leon library
(that are implicitly bundled when you use the `./leon` script):
.. code-block:: bash
$ mkdir out
$ scalac $(find path/to/leon/library/ -name "*.scala" | xargs) MyFile.scala -d out
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