An estimation language https://www.squiggle-language.com/
Go to file
2022-04-19 13:33:36 -04:00
.github Ran yarn format:all 2022-04-15 18:41:46 -04:00
packages Merge pull request #314 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.25 2022-04-19 10:51:27 -04:00
.gitignore ops for nixos, gitignore'd ts-lsp .log 2022-04-19 13:32:35 -04:00
.parcelrc fixed parcel (rebase: fixed MC with index.ts) 2022-03-24 11:28:45 -04:00
.prettierignore Run prettier on monorepo + fix crashing playground 2022-04-12 15:41:36 +10:00
CONTRIBUTING.md Hotfix Typescript checker failing 2022-04-13 10:07:33 +10:00
LICENSE Added license 2020-02-09 22:27:55 +00:00
nixos.sh ops for nixos, gitignore'd ts-lsp .log 2022-04-19 13:32:35 -04:00
package.json Fix unweighted average of distributions 2022-04-13 12:03:04 +10:00
README.md ops for nixos, gitignore'd ts-lsp .log 2022-04-19 13:32:35 -04:00
yarn.lock Merge pull request #314 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.25 2022-04-19 10:51:27 -04:00

Squiggle

Packages check npm version npm version License: MIT codecov

This is an experimental DSL/language for making probabilistic estimates. The full story can be found here.

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.
  • @quri/squiggle-website in packages/website The main descriptive website for squiggle, it is hosted at squiggle-language.com.

The playground depends on the components library which then depends on the language. This means that if you wish to work on the components library, you will need to build (no need to bundle) the language, and as of this writing playground doesn't really work.

Develop

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

yarn

See packages/*/README.md to work with whatever project you're interested in.

Contributing

See CONTRIBUTING.md.