Commit Graph

1251 Commits

Author SHA1 Message Date
dependabot[bot]
fdb8a2ff70
⬆️ Bump @types/node from 17.0.35 to 17.0.36
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.35 to 17.0.36.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 14:44:38 +00:00
Ozzie Gooen
afbc0199aa Added tailwind/form 2022-05-30 06:40:03 -07:00
Sam Nolan
7f54bdce30 Fix typescript errors about children 2022-05-30 13:23:12 +10:00
Sam Nolan
ed6eb54165 Move from styled-components to tailwind 2022-05-30 11:30:10 +10:00
Umur Ozkul
00d7304b4b format 2022-05-29 17:56:37 +02:00
Umur Ozkul
ac3fa859c0 Replace $$_block__$$ with {}
More redable language tests
2022-05-29 17:55:01 +02:00
Ozzie Gooen
178ec6f89d
Merge pull request #600 from quantified-uncertainty/issue597
fixed #597
2022-05-28 11:10:27 -04:00
Umur Ozkul
217a783d0a format 2022-05-28 16:02:16 +02:00
Umur Ozkul
ce5f12360a fixed #597 2022-05-28 15:52:35 +02:00
Ozzie Gooen
70664c0a91
Merge pull request #591 from quantified-uncertainty/declare-test
Declare() functionality
2022-05-27 11:44:51 -04:00
Ozzie Gooen
3566311817 Did formatting 2022-05-27 09:44:36 -04:00
Ozzie Gooen
0da95bd21e Cleanup of SampleSet map 2022-05-27 09:40:49 -04:00
Ozzie Gooen
d3a2f391a7 Added map3 to samplesMap 2022-05-27 09:24:06 -04:00
Ozzie Gooen
d0102ae4f2 Changed graph axis to use .9-s format 2022-05-27 08:26:10 -04:00
Ozzie Gooen
20f901e3f8 Added Declaration toString 2022-05-27 07:58:43 -04:00
Ozzie Gooen
b2c4f4f959 Merged with develop 2022-05-27 07:37:55 -04:00
Ozzie Gooen
4eac2f59be Ran formatter 2022-05-27 07:32:03 -04:00
Ozzie Gooen
cbc51c23de Minor improvement of error type 2022-05-27 07:29:39 -04:00
Ozzie Gooen
8482a51332 Minor fixes to get build to pass 2022-05-27 07:23:17 -04:00
Ozzie Gooen
afb7613bcc Added simple input component for SquigglePlayground 2022-05-26 18:39:06 -04:00
Ozzie Gooen
7f6fe1a0aa Minor component cleanup 2022-05-26 17:39:28 -04:00
Ozzie Gooen
30dc66db7c Ran prettier 2022-05-26 17:21:17 -04:00
Ozzie Gooen
f5474030ec Added number function to SquiggleChart 2022-05-26 17:18:10 -04:00
Ozzie Gooen
d38caff28f Minor cleanup 2022-05-26 16:16:40 -04:00
Ozzie Gooen
f393cfda9f Simple line chart for Functions 2022-05-26 14:41:58 -04:00
Ozzie Gooen
c9a54d4c14 First attempt at playground configurable toggles 2022-05-26 10:08:19 -04:00
Ozzie Gooen
554e50901e Added VariableBox for functiona and function declaration 2022-05-26 08:30:37 -04:00
Ozzie Gooen
d630f7335d Minor fixes 2022-05-26 08:23:43 -04:00
Ozzie Gooen
298d3923bc Fixed bug caused by bad genType format of Declaration 2022-05-25 19:27:15 -04:00
Ozzie Gooen
3404534b10 Found some of the problem, will debug that next 2022-05-25 13:11:35 -04:00
Ozzie Gooen
5d8f07c1b4 Minor fixes 2022-05-25 10:55:03 -04:00
Ozzie Gooen
c5673fd1b1 Trying to add squigglechart types for declaration 2022-05-24 19:14:13 -04:00
Ozzie Gooen
533c97c41c Added very simple lambdaDeclaration to React components 2022-05-24 17:23:37 -04:00
Ozzie Gooen
d1f2f71912 Made formal Declaration type 2022-05-24 17:02:27 -04:00
Ozzie Gooen
9185719641 Merge branch 'develop' into declare-test
* develop:
  Added type to appease bisect
  Minor additions to datetime units
  Trying to appease the CI tests, which are failing here for some reason.
  Delete Reducer_Peggy_GeneratedParser.js
  Formatted Code
  Moved DateTime functionality into separate file
  remove unit evaluation test
  generic unit support
  numbers with units (tested)
  Cleaned up arithmetic operations of time durations
  Simple better format for Duration toString
  More sophisticated makeFromYear function, that accepts floats
  Added better Duration toString and Date makeWithYear functionality
  Simple dateTime integration
2022-05-24 16:26:32 -04:00
Ozzie Gooen
f5fcd4f9ae Added type to appease bisect 2022-05-24 15:51:22 -04:00
Ozzie Gooen
628cb0c807 Minor additions to datetime units 2022-05-24 14:49:04 -04:00
Ozzie Gooen
822771afe8 Merge branch 'develop' into DateTime-integration
* develop:
  Delete Reducer_Peggy_GeneratedParser.js
  remove unit evaluation test
  generic unit support
  numbers with units (tested)
2022-05-24 14:30:33 -04:00
Ozzie Gooen
8757448900 Trying to appease the CI tests, which are failing here for some reason. 2022-05-24 14:28:02 -04:00
Ozzie Gooen
1e4aecd4fc
Delete Reducer_Peggy_GeneratedParser.js
I'm pretty sure this should be in the gitignore.
2022-05-24 14:23:26 -04:00
Ozzie Gooen
5fd5c1c1f8 Formatted Code 2022-05-24 14:12:49 -04:00
Ozzie Gooen
31e6f13472 Minor cleanup 2022-05-24 07:52:27 -04:00
Ozzie Gooen
6248818531 First attempt at function declaration 2022-05-23 20:49:10 -04:00
Umur Ozkul
5caad73586 Merge branch 'develop' into reducer-dev 2022-05-23 20:40:56 +02:00
Ozzie Gooen
8b0615eec0 Merged with develop 2022-05-23 14:38:15 -04:00
Ozzie Gooen
003b320acb Fixing lint and tests 2022-05-23 14:28:32 -04:00
Ozzie Gooen
faf4718f4d Merged with develop 2022-05-23 13:49:39 -04:00
Ozzie Gooen
054e379593 Fixed test 2022-05-23 13:47:54 -04:00
Ozzie Gooen
bb5af13ddc Moved DateTime functionality into separate file 2022-05-23 13:44:41 -04:00
Umur Ozkul
a386eee570 remove unit evaluation test
We provide no implementation
2022-05-23 18:18:30 +02:00
Umur Ozkul
08c73ac22f Merge branch 'Umur-reducer-dev' into reducer-dev
packages/squiggle-lang/__tests__/Reducer/Reducer_Peggy/Reducer_Peggy_Parse_test.res
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.js
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.peggy
2022-05-23 18:07:50 +02:00
Umur Ozkul
0124181bce Merge branch 'generic-units' into Umur-reducer-dev
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.js
2022-05-23 18:02:21 +02:00
dependabot[bot]
2079814a29
⬆️ Bump @storybook/builder-webpack5 from 6.5.3 to 6.5.4
Bumps [@storybook/builder-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.4/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.4/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/builder-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:56:21 +00:00
dependabot[bot]
182fc4dd98
Merge pull request #587 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/preset-create-react-app-4.1.1 2022-05-23 15:55:17 +00:00
Umur Ozkul
107bce506f generic unit support 2022-05-23 17:51:38 +02:00
dependabot[bot]
4df1171b5c
⬆️ Bump @storybook/preset-create-react-app from 4.1.0 to 4.1.1
Bumps [@storybook/preset-create-react-app](https://github.com/storybookjs/presets/tree/HEAD/packages/preset-create-react-app) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/storybookjs/presets/releases)
- [Changelog](https://github.com/storybookjs/presets/blob/master/packages/preset-create-react-app/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/presets/commits/HEAD/packages/preset-create-react-app)

---
updated-dependencies:
- dependency-name: "@storybook/preset-create-react-app"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:41:54 +00:00
dependabot[bot]
fcf56f9e04
⬆️ Bump @storybook/addon-essentials from 6.5.3 to 6.5.4
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.4/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.4/addons/essentials)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:41:08 +00:00
dependabot[bot]
61ee0bd0e9
⬆️ Bump @storybook/react from 6.5.3 to 6.5.4
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.4/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.4/app/react)

---
updated-dependencies:
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:06:08 +00:00
dependabot[bot]
63bff23ac1
⬆️ Bump @storybook/manager-webpack5 from 6.5.3 to 6.5.4
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.4/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.4/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/manager-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:58:38 +00:00
dependabot[bot]
3011dc2583
Merge pull request #582 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-links-6.5.4 2022-05-23 14:57:32 +00:00
dependabot[bot]
9ae12c5227
⬆️ Bump @storybook/addon-links from 6.5.3 to 6.5.4
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.4/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.4/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:52:43 +00:00
Quinn
b76bbeca5d
Merge pull request #584 from quantified-uncertainty/dependabot/npm_and_yarn/ts-node-10.8.0
⬆️ Bump ts-node from 10.7.0 to 10.8.0
2022-05-23 10:52:25 -04:00
dependabot[bot]
599bf248ea
⬆️ Bump ts-node from 10.7.0 to 10.8.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.7.0 to 10.8.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.7.0...v10.8.0)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:24:05 +00:00
dependabot[bot]
5762fb6ea9
⬆️ Bump @storybook/node-logger from 6.5.3 to 6.5.4
Bumps [@storybook/node-logger](https://github.com/storybookjs/storybook/tree/HEAD/lib/node-logger) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.4/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.4/lib/node-logger)

---
updated-dependencies:
- dependency-name: "@storybook/node-logger"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:21:04 +00:00
Quinn Dougherty
d32b6bb615 rm generated output
Value: [1e-10 to 1e-4]
2022-05-23 07:10:38 -04:00
Quinn Dougherty
ebcd228232 .gitignore, package.json, .prettierignore: #576
Value: [1e-7 to 1e-3]
2022-05-23 07:05:42 -04:00
Umur Ozkul
4628140069 numbers with units (tested) 2022-05-23 08:13:51 +02:00
Ozzie Gooen
70574329fc Cleaned up arithmetic operations of time durations 2022-05-22 22:40:10 -04:00
Ozzie Gooen
6af2e242f8 Simple better format for Duration toString 2022-05-22 22:11:28 -04:00
Ozzie Gooen
fff2f5da59 More sophisticated makeFromYear function, that accepts floats 2022-05-22 21:57:13 -04:00
Ozzie Gooen
f1d2a1a12f Added better Duration toString and Date makeWithYear functionality 2022-05-22 21:40:06 -04:00
Ozzie Gooen
364190dc7b Simple dateTime integration 2022-05-22 18:37:07 -04:00
Ozzie Gooen
f816f3c200 Ran prettier format 2022-05-22 13:02:54 -04:00
Ozzie Gooen
4b99e0135e Minor cleanup 2022-05-22 13:02:20 -04:00
Ozzie Gooen
ee94a054d0 Minor cleanup 2022-05-22 10:38:17 -04:00
Ozzie Gooen
c200259c79 Added simpe README and resi for FunctionRegistry 2022-05-21 13:52:17 -04:00
Umur Ozkul
949b57c426 Error reporting if function arguments are defined
map(arr, toSample) now correctly reports

toSample not found

instead of

macro(Array,Symbol) not defined
2022-05-21 19:18:39 +02:00
Ozzie Gooen
3531005a2b Added enviornment to Function Registry 2022-05-21 12:18:54 -04:00
Ozzie Gooen
ce58cf1bb3 Beginning cleanup of Process errors 2022-05-21 12:09:49 -04:00
Umur Ozkul
2265254531 Filter arguments passed to mathjs calls by type so that error messages are not too weird 2022-05-21 18:05:55 +02:00
Ozzie Gooen
40bf7443c9 Simple FunctionRegistry cleanup 2022-05-21 11:41:12 -04:00
Ozzie Gooen
7e2437bfc0 Prettier 2022-05-20 22:54:15 -04:00
Ozzie Gooen
390ac2e2bb Renamed itype->frType, value-> frValue 2022-05-20 22:53:53 -04:00
Ozzie Gooen
c9d6302cbf Add better error message when wrong arguments passed 2022-05-20 18:05:45 -04:00
Ozzie Gooen
d9cbe37a5a Added main distributions 2022-05-20 17:36:40 -04:00
Umur Ozkul
feb0284a89 format 2022-05-20 18:20:00 +02:00
Umur Ozkul
7e39e11fbd Merge branch 'develop' into Umur-reducer-dev 2022-05-20 18:12:00 +02:00
Umur Ozkul
a17ea3f5a1 simplify error messages 2022-05-20 18:07:10 +02:00
Quinn
7ead53813e
Hotfix: relative paths 4 2022-05-20 11:50:53 -04:00
Quinn
e901d42aff
Hotfix: relative paths 3 2022-05-20 11:46:10 -04:00
Umur Ozkul
a314cd46fb . became a post operator that can operate on any expression
Because of
    $x.y[0][0].w + $x.z + $u.v
2022-05-20 17:46:02 +02:00
Quinn
9f5443f76c
hotfix: relative paths 2 2022-05-20 11:41:20 -04:00
Quinn
7005e92280
Hotfix: relative paths 2022-05-20 11:35:50 -04:00
Umur Ozkul
2a176fac26 $indentified defined. Assignment not allowed 2022-05-20 17:24:06 +02:00
dependabot[bot]
b9c5e308d8
⬆️ Bump @storybook/react from 6.5.2 to 6.5.3
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.3/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.3/app/react)

---
updated-dependencies:
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 15:22:03 +00:00
Umur Ozkul
1557c197a0 renamed internal variables starting with $ so that they are not overriden by $ variables in Squigle 2022-05-20 17:11:32 +02:00
dependabot[bot]
c747bf0118
⬆️ Bump @storybook/manager-webpack5 from 6.5.2 to 6.5.3
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.3/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.3/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/manager-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 15:11:06 +00:00
Umur Ozkul
870b0c9d4e hidden macros 2022-05-20 17:05:53 +02:00
dependabot[bot]
957e09e6b9
⬆️ Bump @storybook/addon-links from 6.5.2 to 6.5.3
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.3/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.3/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 15:01:48 +00:00
dependabot[bot]
9fa7bc21b4
⬆️ Bump @storybook/addon-essentials from 6.5.2 to 6.5.3
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.3/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.3/addons/essentials)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 14:54:39 +00:00