Skip to content

Transpiler for probabilistic programming languages: BUGS to FOPPL

Notifications You must be signed in to change notification settings

talesa/bugs2foppl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BUGS to FOPPL transpiler

BUGS (Bayesian inference Using Gibbs Sampling) is a software for the Bayesian analysis of statistical models using Markov chain Monte Carlo (MCMC) methods. It allows to describe graphical models using a declarative langauge.

FOPPL (First Order Probabilistic Programming Language) is a stripped down version of Anglican, a probabilistic programming language based on Clojure.

The ANLTRv4 specification of BUGS grammar was obtained heavily inspired with the FLEX+BISON lexing and parsing grammar incorporated in JAGS 4.3.0 source code, in files src/lib/compiler/parser.yy and src/lib/compiler/scanner.ll.

I use my 'custom' version of clj-antlr.

About

Transpiler for probabilistic programming languages: BUGS to FOPPL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published