https://github.com/probcomp/venture-bql
An example of using the VentureScript extensible syntax to embed BQL and MML
https://github.com/probcomp/venture-bql
Last synced: 7 months ago
JSON representation
An example of using the VentureScript extensible syntax to embed BQL and MML
- Host: GitHub
- URL: https://github.com/probcomp/venture-bql
- Owner: probcomp
- Created: 2016-06-14T22:18:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-04T23:43:15.000Z (over 9 years ago)
- Last Synced: 2025-05-08T22:58:03.405Z (11 months ago)
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A example of using the VentureScript extensible syntax mechanism to embed MML and BQL.
- The resulting embedding is used (on a trivial example) in test.sh.
- `bayesdb.py` implements the Venture SPs that talk to BayesDB.
- `bql.py` implements the shims needed to parse BQL and MML statements
in the context of an external VentureScript parser, and the language
extension objects needed to make the VentureScript parser invoke them.
- `plugin.py` is a Venture plugin that registers the SPs and languages
from `bayesdb.py` and `bql.py` with Venture.