squiggle icon indicating copy to clipboard operation
squiggle copied to clipboard

Output types cleanup; RunContext; expose more serialization methods

Open berekuk opened this issue 1 year ago • 2 comments

Some of these changes are necessary for GUCEM; others are cleanups.

The main change here that leaks outside of squiggle-lang internals here is that SqValueContext now doesn't contain the reference to the project.

Instead, there's a new type RunContext, which contains parameters that were used to create the output, and it's stored in SqValueContext. It's also stored in SqOutput, under SqOutput.raw.context.

berekuk avatar May 17 '24 17:05 berekuk

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quri-hub ✅ Ready (Inspect) Visit Preview May 17, 2024 7:53pm
squiggle-components ✅ Ready (Inspect) Visit Preview May 17, 2024 7:53pm
squiggle-website ✅ Ready (Inspect) Visit Preview May 17, 2024 7:53pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
quri-ui ⬜️ Ignored (Inspect) Visit Preview May 17, 2024 7:53pm

vercel[bot] avatar May 17 '24 17:05 vercel[bot]

⚠️ No Changeset found

Latest commit: ad7fb9d70af29f0b8e1631518558a0cfb800ab9e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar May 17 '24 17:05 changeset-bot[bot]