Verisyntax — User Manual (prototype 0.1)
Verisyntax in five minutes
Verisyntax is a declarative language. You describe data, relationships, rules, questions, and probabilistic models. You do not write the low-level sequence of operations normally required in C++.
A program may contain:
- A
databasedescribing a SQLite file or PostgreSQL connection profile. - A
sourcedescribing one typed physical table. - A
datasetselecting, filtering, or joining sources. - Facts, rules,
askqueries, and Bayesian declarations.
Important writing rules:
- Keywords are English.
- Block indentation is exactly two spaces. Tabs are rejected.
- Declaration headers such as
database local:end with a colon. - Logic facts and rule heads do not end with a period or colon.
- Logic variables begin with an uppercase letter:
X,Who, orCustomer. - Comments begin with
#.
