format only reducer reformat lint multi-line test spelling multi-line semantic mapping todo multi-line eval multi-line tests todo change context to bindings simplify tests rename exception test methods bindings is an expression value make bindings callable reformat Emphasize the nature of Lisp AST Initial definition of macros make functions private fixed functionNode type casting macro call skeleton sort ReducerInterface fix test macros skeleton bindings is not a value assignment semantics let semantics defined format reformat reformat TODO function calls and list hd variables are confused reformat tmp works reformat reformat add test reformat add test |
||
|---|---|---|
| .github | ||
| packages | ||
| .gitignore | ||
| .parcelrc | ||
| CONTRIBUTING.md | ||
| flake-compat.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
Squiggle
This is an experiment DSL/language for making probabilistic estimates. The full story can be found here.
This monorepo has several packages that can be used for various purposes. All
the packages can be found in packages.
@quri/squiggle-langinpackages/squiggle-langcontains the core language, particularly an interface to parse squiggle expressions and return descriptions of distributions or results.@quri/squiggle-componentsinpackages/componentscontains React components that can be passed squiggle strings as props, and return a presentation of the result of the calculation.@quri/playgroundinpackages/playgroundcontains a website for a playground for squiggle. This website is hosted atplayground.squiggle-language.com@quri/squiggle-websiteinpackages/websiteThe main descriptive website for squiggle, it is hosted atsquiggle-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.