mirror of
https://github.com/AdaCore/cvc5.git
synced 2026-02-12 12:32:16 -08:00
This PR updates the update-copyright.pl script to also update/add copyright headers to CMake specific files. It further fixes a small typo in the header.
22 lines
727 B
Python
22 lines
727 B
Python
#!/usr/bin/env python
|
|
#####################
|
|
## helloworld.py
|
|
## Top contributors (to current version):
|
|
## Makai Mann, Aina Niemetz
|
|
## This file is part of the CVC4 project.
|
|
## Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
|
|
## in the top-level source directory and their institutional affiliations.
|
|
## All rights reserved. See the file COPYING in the top-level source
|
|
## directory for licensing information.
|
|
##
|
|
## A very simple CVC4 tutorial example, adapted from helloworld-new.cpp
|
|
##
|
|
|
|
import pycvc4
|
|
from pycvc4 import kinds
|
|
|
|
if __name__ == "__main__":
|
|
slv = pycvc4.Solver()
|
|
helloworld = slv.mkConst(slv.getBooleanSort(), "Hello World!")
|
|
print(helloworld, "is", slv.checkEntailed(helloworld))
|