An estimation language https://www.squiggle-language.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Vyacheslav Matyukhin 9e2eace05e
Merge pull request #1231 from quantified-uncertainty/project-in-editors
2 years ago
.github fetch-depth for coverage job 2 years ago
examples `Language.mdx` changes and `examples` 2 years ago
nix nix: remove bisect_ppx from build 2 years ago
packages Merge pull request #1231 from quantified-uncertainty/project-in-editors 2 years ago
.gitignore turborepo 2 years ago
.prettierignore added `devShell` build to `ci-cachix.yml` 2 years ago
.release-please-manifest.json hotfix: manual versions in `.release-please-manifest.json` 2 years ago
CHANGELOG.md changelog page 2 years ago
CONTRIBUTING.md replace netlify with vercel; update CONTRIBUTING.md 2 years ago
LICENSE Added license 4 years ago
README.md Removed nixos.sh 2 years ago
flake.lock `rescript-association` merged the `gentype` flake, so our flake inputs are updated accordingly 2 years ago
flake.nix `rescript-association` merged the `gentype` flake, so our flake inputs are updated accordingly 2 years ago
package.json more turbo; rewrite and simplify github CI 2 years ago
release-please-config.json rm bootstrap sha 2 years ago
turbo.json remove nyc dependency, jest is enough for coverage 2 years ago
yarn.lock Merge branch 'drop-bisect-ppx' into experiment-10.0rc1 2 years ago

README.md

Squiggle

Packages check npm version - lang npm version - components License: MIT codecov

An estimation language.

Get started

Our deployments

Packages

This monorepo has several packages that can be used for various purposes. All the packages can be found in packages.

  • @quri/squiggle-lang in packages/squiggle-lang contains the core language, particularly an interface to parse squiggle expressions and return descriptions of distributions or results.
  • @quri/squiggle-components in packages/components contains React components that can be passed squiggle strings as props, and return a presentation of the result of the calculation.
  • packages/website is the main descriptive website for squiggle, it is hosted at squiggle-language.com.
  • packages/vscode-ext is the VS Code extension for writing estimation functions.
  • packages/cli is an experimental way of using imports in squiggle, which is also on npm.

Develop

For any project in the repo, begin by running yarn in the top level

yarn

Then use turbo to build the specific packages or the entire monorepo:

turbo run build

Or:

turbo run build --filter=@quri/squiggle-components

You can also run specific npm scripts for the package you're working on. See packages/*/README.md for the details.

NixOS users

This repository requires the use of bundled binaries from node_modules, which are not linked statically. The easiest way to get them working is to enable nix-ld.

Contributing

See CONTRIBUTING.md.