An estimation language https://www.squiggle-language.com/
Go to file
2022-03-24 11:29:42 -04:00
.github added components to ci 2022-03-24 11:29:42 -04:00
packages added components to ci 2022-03-24 11:29:42 -04:00
.DS_Store Moving main repo to folder 2022-02-01 14:05:26 -05:00
.gitignore Playground to TypeScript 2022-03-03 10:22:26 +11:00
.parcelrc fixed parcel (rebase: fixed MC with index.ts) 2022-03-24 11:28:45 -04:00
CONTRIBUTING.md squiggle-lang/bsconfig.json: updated package name 2022-03-24 11:29:42 -04:00
LICENSE Added license 2020-02-09 22:27:55 +00:00
package.json added components to ci 2022-03-24 11:29:42 -04:00
README.md added components to ci 2022-03-24 11:29:42 -04:00
shell.nix Add documentation and improve components 2022-03-01 10:59:48 +11:00
yarn.lock Add prettier and format 2022-03-23 11:38:01 +11:00

Squiggle

This is an experiment DSL/language for making probabilistic estimates.

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

@squiggle/lang in packages/squiggle-lang contains the core language, particularly an interface to parse squiggle expressions and return descriptions of distributions or results.

@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.

@squiggle/playground in packages/playground contains a website for a playground for squiggle. This website is hosted at playground.squiggle-language.com

@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 package the language, and for the playground to work, you will need to package the components library and the playground.

Scripts are available for you in the root directory to do important activities, such as:

  • yarn build:lang. Builds and packages the language
  • yarn storybook:components. Hosts the component storybook

Local playground

yarn build:playground
cd packages/playground
yarn parcel