An estimation language https://www.squiggle-language.com/
Go to file
Sam Nolan d99ac799c3 Remove mdx dependency
commit ede5a568582a99996f3a7e580d762654ec9c96fe
Author: Sam Nolan <samnolan555@gmail.com>
Date:   Wed Mar 30 21:18:02 2022 +1100

    Remove mdx-jsx dependency

commit a7a83e51bffa216b1ecbc16f0b778bc766651db8
Merge: 93a8d2a e16224a
Author: Sam Nolan <samnolan555@gmail.com>
Date:   Wed Mar 30 20:45:07 2022 +1100

    Merge branch 'dependabot/npm_and_yarn/mdx-js/react-2.1.0'

commit e16224ada9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Mar 29 14:36:07 2022 +0000

    Bump @mdx-js/react from 1.6.22 to 2.1.0

    Bumps [@mdx-js/react](https://github.com/mdx-js/mdx/tree/HEAD/packages/react) from 1.6.22 to 2.1.0.
    - [Release notes](https://github.com/mdx-js/mdx/releases)
    - [Changelog](https://github.com/mdx-js/mdx/blob/main/changelog.md)
    - [Commits](https://github.com/mdx-js/mdx/commits/2.1.0/packages/react)

    ---
    updated-dependencies:
    - dependency-name: "@mdx-js/react"
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 21:19:27 +11:00
.github checkboxes turn into todo list, which isn't desired 2022-03-29 11:15:27 -04:00
packages Remove mdx dependency 2022-03-30 21:19:27 +11:00
.gitignore .DS_Store 2022-03-24 11:31:52 -04:00
.parcelrc fixed parcel (rebase: fixed MC with index.ts) 2022-03-24 11:28:45 -04:00
CONTRIBUTING.md (rebase): README improvements, and other such things 2022-03-25 12:48:02 -04:00
flake-compat.nix Codium build almost works 2022-03-24 13:52:24 -04:00
flake.lock Codium build almost works 2022-03-24 13:52:24 -04:00
flake.nix needed nodePackages. prefix for npm 2022-03-24 14:55:27 -04:00
LICENSE Added license 2020-02-09 22:27:55 +00:00
package.json removed scripts / yarn run commands 2022-03-24 20:15:23 -04:00
README.md Update README.md 2022-03-28 16:26:25 -04:00
yarn.lock Remove mdx dependency 2022-03-30 21:19:27 +11:00

Squiggle

This is an experiment 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/playground in packages/playground contains a website for a playground for squiggle. This website is hosted at playground.squiggle-language.com
  • @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 (TODO: is this true?)

yarn

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

codium for rescript

If you have nix installed with flakes enabled, you can build a codium in this repo for rescript development, if you don't want to pollute your machine's global editor with another mode/extension.

nix develop
codium 

The nix develop shell also provides yarn.

Contributing

See CONTRIBUTING.md.