Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
bac041dd60 | |||
2671e92b01 | |||
f91930c41d | |||
df31fda99c
|
|||
819bcebce0
|
|||
edc0e2a39f
|
|||
7f49c1c065
|
|||
20c9a0c1a5 | |||
42d1ac9bb7 | |||
9869d369c4 | |||
5d8b7af28d
|
|||
efc00f3473 | |||
578c350b7b | |||
f85f8a4637 | |||
7d57800046
|
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,3 +4,5 @@ builddir
|
|||||||
*.kb
|
*.kb
|
||||||
*.obk
|
*.obk
|
||||||
!examples/*.obk
|
!examples/*.obk
|
||||||
|
sqlite/*.c
|
||||||
|
sqlite/*.h
|
||||||
|
42
README.md
Normal file
42
README.md
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# Obelisk
|
||||||
|
|
||||||
|
The Obelisk project is a declarative language designed to help with the implementation of Artificial Intelligence using an easy to use logical programming language.
|
||||||
|
|
||||||
|
## Build requirements
|
||||||
|
|
||||||
|
- Meson
|
||||||
|
- Ninja
|
||||||
|
- LLVM 14
|
||||||
|
- sqlite 3
|
||||||
|
- C++ 17
|
||||||
|
- C 17
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```
|
||||||
|
./sqlite.sh
|
||||||
|
meson builddir
|
||||||
|
cd buildir
|
||||||
|
ninja
|
||||||
|
```
|
||||||
|
|
||||||
|
This process will generate the binary "obelisk", a shared library "libobelisk.so", and a static library "libobelisk.a".
|
||||||
|
|
||||||
|
The binary is used to compile and create obelisk knowledge bases and the the libraries can be linked against to consult the Obelisk knowledge base from any software that can link with the libraries.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```
|
||||||
|
ninja install
|
||||||
|
```
|
||||||
|
|
||||||
|
This will install the Obelisk cli and the Obelisk library globally. You can also copy the resulting shared and/or static library to a project to link against and use an Obelisk knowledge base.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Obelisk is licensed under the [The 3-Clause BSD License](LICENSE).
|
||||||
|
|
||||||
|
## Authors
|
||||||
|
|
||||||
|
- Christopher Cromer
|
||||||
|
- Martín Araneda
|
@@ -1,7 +1,7 @@
|
|||||||
project('obelisk',
|
project('obelisk',
|
||||||
'c',
|
'c',
|
||||||
'cpp',
|
'cpp',
|
||||||
version : '1.0.2',
|
version : '1.0.4',
|
||||||
license : 'BSD-3-Clause',
|
license : 'BSD-3-Clause',
|
||||||
default_options : [
|
default_options : [
|
||||||
'warning_level=3',
|
'warning_level=3',
|
||||||
|
11
sqlite.sh
Executable file
11
sqlite.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=sqlite-amalgamation-3410000
|
||||||
|
|
||||||
|
pushd sqlite
|
||||||
|
wget https://sqlite.org/2023/${VERSION}.zip
|
||||||
|
unzip ${VERSION}.zip
|
||||||
|
cp ${VERSION}/sqlite3.c .
|
||||||
|
cp ${VERSION}/sqlite3.h .
|
||||||
|
rm -rf ${VERSION} ${VERSION}.zip
|
||||||
|
popd
|
245165
sqlite/sqlite3.c
245165
sqlite/sqlite3.c
File diff suppressed because it is too large
Load Diff
12970
sqlite/sqlite3.h
12970
sqlite/sqlite3.h
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user