An estimation language https://www.squiggle-language.com/
Go to file
2022-10-13 16:48:41 +11:00
.github fetch-depth for coverage job 2022-10-12 15:35:42 +04:00
examples Language.mdx changes and examples 2022-04-27 14:49:15 -04:00
nix nix: remove bisect_ppx from build 2022-10-12 18:32:08 +04:00
packages Merge branch 'develop' into refactor-component-settings 2022-10-13 16:48:41 +11:00
.gitignore turborepo 2022-10-08 05:19:15 +04:00
.prettierignore added devShell build to ci-cachix.yml 2022-08-30 13:18:35 +08:00
.release-please-manifest.json hotfix: manual versions in .release-please-manifest.json 2022-09-09 15:28:29 +08:00
CHANGELOG.md changelog page 2022-10-09 15:27:47 +04:00
CONTRIBUTING.md replace netlify with vercel; update CONTRIBUTING.md 2022-10-07 02:09:30 +04:00
flake.lock rescript-association merged the gentype flake, so our flake inputs are updated accordingly 2022-08-30 19:10:59 +08:00
flake.nix rescript-association merged the gentype flake, so our flake inputs are updated accordingly 2022-08-30 19:10:59 +08:00
LICENSE Added license 2020-02-09 22:27:55 +00:00
package.json more turbo; rewrite and simplify github CI 2022-10-08 17:28:43 +04:00
README.md Removed nixos.sh 2022-10-13 01:03:16 +04:00
release-please-config.json rm bootstrap sha 2022-08-01 14:57:06 -04:00
turbo.json remove nyc dependency, jest is enough for coverage 2022-10-12 19:09:17 +04:00
yarn.lock Merge branch 'drop-bisect-ppx' into experiment-10.0rc1 2022-10-12 19:36:23 +04:00

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.