summaryrefslogtreecommitdiff
path: root/docs/examples/helloworld.rst
blob: cdc424dfadb16580759a3295149c9790f884933d (plain)
1
2
3
4
5
6
7
8
9
10
11
Hello World
===========

This example shows the very basic usage of the API.
We create a solver, declare a Boolean variable and check whether it is entailed (by ``true``, as nothing has been asserted to the solver).

.. api-examples::
    ../../examples/api/cpp/helloworld.cpp
    ../../examples/api/java/HelloWorld.java
    ../../examples/api/python/helloworld.py
    ../../examples/api/smtlib/helloworld.smt2
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback