16 Commits

Author SHA1 Message Date
Daniel Larraz
67312dcd41 doc: Add instructions for using Java bindings with Maven (#12271)
This PR updates the cvc5 Java API documentation to explain how to use
the cvc5 Java bindings in a Maven project. It also updates the output
obtained when building the Java bindings from source.
2025-12-02 00:35:54 +00:00
José Neto
867cdf6271 Category option info for Python and Java APIs (#12100) 2025-09-08 13:47:59 +00:00
Daniel Larraz
d9012b5dfc java: Change search order for native libraries (#11560)
After this change, the Java API first attempts to locate native
libraries as resources within a JAR before searching system paths. If
the Java API is packaged in a self-contained JAR, it will prioritize the
native libraries within the JAR, as they are more likely to be
compatible with the API version included in the JAR.

This PR also fixes and enhances error handling when searching for and
loading the native libraries.
2025-01-23 20:00:28 +00:00
Daniel Larraz
3ba9fcfddd doc: Explain how to use self-contained Java API JAR (#11555) 2025-01-22 17:42:49 +00:00
Aina Niemetz
2cb0e955c8 docs: java: Add missing references. (#11059) 2024-07-17 08:42:21 +00:00
Aina Niemetz
1b9eab5c0e docs: Restructure and extend proofs docs. (#11045) 2024-07-16 23:07:30 +00:00
Aina Niemetz
55b0458eac docs: cpp: Add missing entries and some fixes. (#11035) 2024-07-12 16:17:06 +00:00
Aina Niemetz
441ef12d70 docs: Fixes in API documentation. (#11034) 2024-07-12 16:16:47 +00:00
Aina Niemetz
354fc4147e Java API: Refactor to expose TermManager. (#10531)
This is related to the previous refactor of the C++ API in
https://github.com/cvc5/cvc5/pull/10426.
2024-04-02 16:42:06 +00:00
mudathirmahgoub
115d3d200b Add parser to the java api (#10088) 2023-11-28 11:53:30 -06:00
Hans-Jörg
0a35879fc1 Make Proof Rule enum a part of the API (#9925)
This pull requests makes the enum that lists all proof rules a part of the API.

It also renames the enum from PfRule to ProofRule. It also renames some unrelated types and function names that share the PfRule name (such as DslPfRule).
This rename unfortunately touches many files since PfRule is not an uncommon type. (second to last commit)
2023-09-27 00:58:03 +00:00
mudathirmahgoub
2baf962965 Docs: remove api from package name in java.rst (#8560)
Fix broken links in https://cvc5.github.io/docs/cvc5-0.0.12/api/java/java.html
2022-04-05 00:51:47 +00:00
Andrew Reynolds
ba24986fe2 Add SynthResult to the API (#8370)
Does not modify the code to return a SynthResult yet, just adds the class.

Co-authored-by: Aina Niemetz <aina.niemetz@gmail.com>
2022-03-23 21:56:33 +00:00
Aina Niemetz
eb3b04319a api: Fix smt-lib code blocks and math in C++ docs. (#7795) 2021-12-15 15:09:51 -08:00
Gereon Kremer
881464ade1 Turn kinds in python API into a proper Enum (#7686)
This PR does multiple things:
- the kinds are changed from custom objects to a proper enum.Enum class
  (including according changes to the cython code and the kind generation scripts)
- all examples and tests are modified to account for the change how to use kinds
  (Kind instead of kinds)
- add docstrings to the kind enum values
- add a custom documenter that properly renders enums via autodoc
- extend doxygen setup so that we can write comments as rst (allowing us to copy
  the documentation for kinds from the cpp api to the other apis)
2021-12-08 04:16:03 +00:00
mudathirmahgoub
6f8f56513c Add documentation for QuickStart.java (#7730)
Improve java documentation: add QuickStart and a java API overview.
2021-12-06 17:31:47 -08:00