Commit Graph

784 Commits

Author SHA1 Message Date
Sam Nolan
83e3759342 Merge branch 'develop' into reducer-dev 2022-04-29 22:51:00 +00:00
Sam Nolan
99b9bc6b1e
Merge pull request #439 from quantified-uncertainty/remove-si-postfix
Remove si postfix from chart axis
2022-04-29 18:04:31 -04:00
Sam Nolan
3117dd81d6 Remove si prefix from chart axis 2022-04-29 21:16:22 +00:00
Sam Nolan
d09dbeb812 Format components code 2022-04-29 20:59:37 +00:00
Sam Nolan
2131e4eac1 Rename imports to jsImports in components 2022-04-29 20:58:06 +00:00
Sam Nolan
b710289096 Rename parameters to imports 2022-04-29 20:29:42 +00:00
Sam Nolan
74df093a42 Cleanup TS code (and fix rescript build warning) 2022-04-29 20:10:39 +00:00
Quinn Dougherty
8b30eb9f05 Added to convertRaw* stuff
Value: [1e-4 to 1e-3]
2022-04-29 15:25:29 -04:00
Sam Nolan
237cdf12f9 Remove accidental log 2022-04-29 19:13:30 +00:00
Sam Nolan
39be07cac0 Add parameters to components interface 2022-04-29 19:02:43 +00:00
Quinn Dougherty
f05d089524 Fixed most tests
Value: [1e-5 to 1e-3]
2022-04-29 15:02:24 -04:00
Sam Nolan
d4f929367d JS parameters in squiggle lang 2022-04-29 18:46:44 +00:00
Quinn Dougherty
0e9996256e Lint for Umur
Value: [1e-8 to 1e-6]
2022-04-29 14:42:34 -04:00
Quinn Dougherty
2c452163b6 I believe I have functionality in place for new run command, but I
could be wrong. Pushing so Sam can review

Value: [1e-5 to 9e-3]
2022-04-29 14:41:30 -04:00
Umur Ozkul
992dd92d9b merge develop 2022-04-29 19:10:40 +02:00
Umur Ozkul
3bbc5e7149 Add evaluate partial for back compatibility 2022-04-29 19:03:58 +02:00
Umur Ozkul
351381339c bug fixed
logs removed
2022-04-29 18:19:52 +02:00
Umur Ozkul
8e318a8aa9 refactor reducer
removed some extra array references

rename Builder to ExpressionBuilder

Expression Builder

Trash Warning

remove parsePartial/Outer, add context to lambda

format

module Bindings

simplify types

module Macro

reduceValueList

do macro call

result map

bindings stop replacing on macro calls

Macro Test

doBindStatement

bind a statement

bindings tested. TODO bind shadowing in lambda

block tests defined

block tests defined

blocks tested

macro lambda test defined
2022-04-29 16:40:32 +02:00
Sam Nolan
58a357cce5 Add basic partial test 2022-04-29 14:10:41 +00:00
Sam Nolan
8f879b7168 Merge branch 'develop' into squiggle-editor-bindings 2022-04-29 13:51:31 +00:00
Sam Nolan
454ac0c252 Add bindings to Squiggle Editor 2022-04-29 13:50:57 +00:00
Ozzie Gooen
d52447183b
Merge pull request #422 from quantified-uncertainty/no-more-antd
No `antd` (paired with Sam)
2022-04-28 21:09:47 -04:00
Quinn Dougherty
b15ba6563c Incremental README.md improvements
Value: [1e-7 to 1e-6]
2022-04-28 19:15:15 -04:00
Quinn Dougherty
8bc8fd9228 wrong syntax highlighting in markdown
Value: [1e-8 to 1e-6]
2022-04-28 19:08:04 -04:00
Quinn Dougherty
1d5a0a30d4 version increment; piggyback README.md improvements
Value: [1e-5 to 6e-4]
2022-04-28 19:06:39 -04:00
Quinn
5f78399760
Merge pull request #416 from quantified-uncertainty/shape-validators
XYShape validator
2022-04-28 18:51:31 -04:00
Quinn Dougherty
3e124cd91c fixed width stuff, playground, and fonts after antd factor-out
Value: [1e-3 to 2e-2]
2022-04-28 18:25:01 -04:00
Quinn Dougherty
fde75d4bc3 No antd and everything compiles
Value: [1e-3 to 3e-2]
2022-04-28 17:54:43 -04:00
Sam Nolan
8c59ad0ff1
Merge pull request #421 from quantified-uncertainty/packaging
`squiggle-lang v0.2.6` and `squiggle-components v0.2.13`: packaging fixed
2022-04-28 17:41:19 -04:00
Quinn Dougherty
c4ee0959ec dist/js/index.d.ts => dist/src/js/index.d.ts
Value: [1e-4 to 5e-3]
2022-04-28 17:28:37 -04:00
Quinn Dougherty
6e9315170f Spelling license correctly
Value: [1e-7 to 1e-5]
2022-04-28 17:25:47 -04:00
Sam Nolan
b72e7b42c4
Merge pull request #420 from quantified-uncertainty/dictionary-view
Add Dictionary Viewer and Recursive Array viewer
2022-04-28 16:58:34 -04:00
Quinn Dougherty
b894f78466 Changed 0.2.6 to ^0.2.6 for squiggle-lang dep
Value: [1e-3 to 1e-1]
2022-04-28 16:57:27 -04:00
Ozzie Gooen
f7afbf9c39 Merged with develop 2022-04-28 16:51:02 -04:00
Ozzie Gooen
94d4a38540 Refactored errors for XYShape 2022-04-28 16:49:51 -04:00
Sam Nolan
b9c1f8d727 Move around declarations to be a bit more readable 2022-04-28 20:26:40 +00:00
Quinn Dougherty
de8eb76f4e v0.2.13: packaging works
Value: [2e-1 to 8e-1]
2022-04-28 16:19:40 -04:00
Sam Nolan
e499c1a887 Add tests for deeply nested and records 2022-04-28 20:16:31 +00:00
Quinn Dougherty
44215f540f v0.2.6: packaging fixed
Value: [1e-1 to 8e-1]
2022-04-28 15:20:58 -04:00
Ozzie Gooen
95a4bac49b Added NaN to test to make sure its caught 2022-04-28 15:01:57 -04:00
Sam Nolan
00f862725c Add Dictionary Viewer and Recursive Array viewer 2022-04-28 18:59:15 +00:00
Ozzie Gooen
5dd0292b52 Added tests for XYShape validator 2022-04-28 14:52:44 -04:00
Quinn
658c458c62
Merge pull request #418 from quantified-uncertainty/irrationale
Removed rationale (#410)
2022-04-28 13:42:01 -04:00
Quinn Dougherty
4ff14db6f3 response to CR
Value: [1e-3 to 4e-3]
2022-04-28 13:34:57 -04:00
Quinn Dougherty
5b1ee7f0a6 Removed rationale (#410)
Value: [2e-1 to 6.5e-1]
2022-04-28 13:19:15 -04:00
Ozzie Gooen
1cca9bde38 Merged with develop 2022-04-28 12:49:33 -04:00
Ozzie Gooen
03cd887084 Adding better error messages to XYShape validator 2022-04-28 12:47:04 -04:00
Quinn
831d8e87fe
Merge pull request #406 from quantified-uncertainty/docs-apr27
`Language.mdx` changes and `examples`; misc docs improvements
2022-04-28 12:37:54 -04:00
Ozzie Gooen
64c720209d
Merge pull request #415 from quantified-uncertainty/fix-unused-warnings
Add functions to implementation file to fix warnings
2022-04-28 12:00:02 -04:00
Sam Nolan
c9301085b9 Add functions to implementation file to fix warnings 2022-04-28 15:50:12 +00:00