Python API: Add support for sequences (#4757)
authorAndres Noetzli <andres.noetzli@gmail.com>
Thu, 30 Jul 2020 23:56:33 +0000 (16:56 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 23:56:33 +0000 (16:56 -0700)
commit2ff7f9a5cde5faeb246b6c68de085ef008c107d2
tree9e1f1c4d49c8465584469e15c24fbadb373887db
parent3e18cd977b6e8d9729a4aa0f4cfc12710d21c863
Python API: Add support for sequences (#4757)

Commit 9678f58a7fedab4fc061761c58382f4023686108 added front end support
for sequences. This commit extends that support to the Python API. It
also adds simple C++ and Python examples that demonstrate how the API
works for sequences.
examples/api/CMakeLists.txt
examples/api/python/CMakeLists.txt
examples/api/python/sequences.py [new file with mode: 0644]
examples/api/python/strings.py
examples/api/sequences.cpp [new file with mode: 0644]
examples/api/strings.cpp
src/api/python/cvc4.pxd
src/api/python/cvc4.pxi
src/prop/prop_engine.cpp
test/unit/api/python/test_sort.py
test/unit/api/python/test_term.py