Skip to content

About

[WIP] FlatPPL Visual Studio Code extension

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

FlatPPL — JavaScript implementation

JavaScript ecosystem for FlatPPL, the Flat Portable Probabilistic Language.

About FlatPPL

FlatPPL is a minimal, inference-agnostic stochastic language for specifying probabilistic models.

Components

This monorepo contains:

Live demos

Building and testing

The monorepo is an npm workspace; root-level scripts fan out to every package via --workspaces --if-present.

Prerequisites

  • Node.js + npm — the workspace tooling.

  • A Rust toolchain (cargo) — the build compiles the Rust crates flatppl-lsp (native target) and flatppl-wasm-api (WASM target) from source.

    Rust wasm-pack and the wasm32-unknown-unknown target must be installed:

    rustup target add wasm32-unknown-unknown
    cargo install wasm-pack

    Or build the flatppl-js web package without FlatPPL convert (FLATPPL_CONVERT=off) — no wasm toolchain needed.

Build

npm install                  # install all workspace deps
npm run build                # build every package + vendor bundle
npm test                     # run all test suites (today: engine)
npm run test:coverage        # same, plus an LCOV report at
                             # packages/<pkg>/coverage/lcov.info

Per-package READMEs cover the workspace-local workflows (npm run build/serve/watch from inside packages/<pkg>/) and any package-specific setup.

Funding

This work was supported by Germany's Federal Ministry of Research, Technology and Space (BMFTR) within the ErUM-Data programme under grant FKZ 05D25PC1 (DEMOS consortium).

License

MIT

About

[WIP] FlatPPL Visual Studio Code extension

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages