Commit Graph

847 Commits

Author SHA1 Message Date
Umur Ozkul
ac9a468aa6 Reducer InternalExpressionValue created
this will allow complicated changes to execution without changing the typescript interface
2022-06-23 02:25:54 +02:00
Umur Ozkul
e661665385 Merge branch 'develop' into reducer-modules 2022-06-13 18:56:37 +02:00
Umur Ozkul
28938adf53 always merge stdlib 2022-06-13 18:54:48 +02:00
dependabot[bot]
0030873bc5
⬆️ Bump reanalyze from 2.22.0 to 2.23.0
Bumps [reanalyze](https://github.com/cristianoc/reanalyze) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/cristianoc/reanalyze/releases)
- [Changelog](https://github.com/rescript-association/reanalyze/blob/master/Changes.md)
- [Commits](https://github.com/cristianoc/reanalyze/compare/v2.22.0...v2.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:39:41 +00:00
Ozzie Gooen
a690cd15fd
Merge pull request #638 from quantified-uncertainty/Documentation-auto-generation
First attempt at a complete API definition
2022-06-11 13:37:27 -07:00
Ozzie Gooen
79b71c39a0 Ran formatter and fixed tests 2022-06-11 08:47:52 -07:00
Umur Ozkul
f406ae9053 Merge branch 'develop' into reducer-modules 2022-06-11 15:23:54 +02:00
Umur Ozkul
0704c8d9f5 module tests pass 2022-06-11 15:15:25 +02:00
Ozzie Gooen
6dc8b711bb Lots of simple cleanup to api docs 2022-06-10 17:35:48 -07:00
Ozzie Gooen
590480d4e1 Merged with develop 2022-06-10 11:53:04 -07:00
Ozzie Gooen
7226a06d39
Merge pull request #662 from quantified-uncertainty/utility-functions
Adds a few utility functions
2022-06-10 11:18:54 -07:00
Ozzie Gooen
844dfd369c
Update FunctionRegistry_Library.res 2022-06-10 11:17:47 -07:00
Umur Ozkul
69bab17331 Math module tests defined (failing)
rename modules

define module

Math module

test helper fixed for defaults and test defined
2022-06-10 16:35:39 +02:00
Umur Ozkul
3ca209a53d bindings and module managers
bindings are a module
2022-06-10 14:19:42 +02:00
Ozzie Gooen
8fd5c6a1be Merge branch 'develop' into Documentation-auto-generation
* develop: (22 commits)
  components-lint respects components prettierignore
  format main.css and prettierignore base.css
  scoped tailwind preflight, top-level .squiggle wrapper
  grammar: identifiers with modules
  Refactored reducerInterface files
  Added simple scientific units
  Added stdev to table of stats, when needed
  Added stdev and variance to Distribution Operation Constructors
  Quick addition of stdev-variance-min-max-mode
  ⬆️ Bump @types/node from 17.0.38 to 17.0.40
  ⬆️ Bump webpack from 5.72.1 to 5.73.0
  ⬆️ Bump @storybook/react from 6.5.6 to 6.5.7
  ⬆️ Bump ts-node from 10.8.0 to 10.8.1
  ⬆️ Bump @storybook/builder-webpack5 from 6.5.6 to 6.5.7
  ⬆️ Bump peggy from 2.0.0 to 2.0.1
  ⬆️ Bump @storybook/addon-essentials from 6.5.6 to 6.5.7
  ⬆️ Bump @storybook/preset-create-react-app from 4.1.1 to 4.1.2
  ⬆️ Bump @hookform/resolvers from 2.8.10 to 2.9.0
  ⬆️ Bump typescript from 4.7.2 to 4.7.3
  ⬆️ Bump @storybook/manager-webpack5 from 6.5.6 to 6.5.7
  ...
2022-06-09 16:50:46 -07:00
Umur Ozkul
2f4db3230d format 2022-06-09 15:53:07 +02:00
Ozzie Gooen
e4eceb9cd3 Minor fix for EvModule support 2022-06-09 06:44:03 -07:00
Ozzie Gooen
1acd4fc259 Minor cleanup 2022-06-09 06:34:31 -07:00
Umur Ozkul
afffdd8559 typescript work in progress 2022-06-09 15:27:51 +02:00
Umur Ozkul
710756bc50 EvModule defined 2022-06-09 15:27:37 +02:00
Umur Ozkul
b623be5f9b format 2022-06-09 14:57:35 +02:00
Umur Ozkul
02c06b638e module access to expression 2022-06-09 14:57:25 +02:00
Umur Ozkul
5f6feb26ba Module parse tested 2022-06-09 14:39:06 +02:00
Umur Ozkul
346c83f2be module parse 2022-06-09 14:35:44 +02:00
Umur Ozkul
cfcf3cb144 module grammar type correction 2022-06-09 14:30:17 +02:00
Ozzie Gooen
b48a0575d9 Cumprod and formatting 2022-06-08 08:21:20 -07:00
Umur Ozkul
b41e32805c grammar: identifiers with modules 2022-06-08 17:00:17 +02:00
Ozzie Gooen
fc40744053 Simple additions of first, last, cumulative sum, diff 2022-06-08 08:00:06 -07:00
Ozzie Gooen
12cdb4ed36 Added dict keys, values, fromList, toList 2022-06-08 07:24:06 -07:00
Ozzie Gooen
8d1d08eaa0 Simple dict merge and mergeMany 2022-06-07 22:35:40 -07:00
Ozzie Gooen
0fcf7e197e Added listMake and upTo 2022-06-07 21:08:39 -07:00
Ozzie Gooen
ff3efeac4c Adding math utility functions 2022-06-07 09:40:24 -07:00
Ozzie Gooen
b022ea2fae
Merge pull request #656 from quantified-uncertainty/stdev-variance
Quick additions of Stdev, Variance, and Mode for SampleSet, and Min and Max for all
2022-06-06 15:52:02 -07:00
Ozzie Gooen
b675b33dfe Refactored reducerInterface files 2022-06-06 14:42:49 -07:00
Ozzie Gooen
a15c0fa888 Added simple scientific units 2022-06-06 13:55:51 -07:00
Ozzie Gooen
079553cd71 Added stdev and variance to Distribution Operation Constructors 2022-06-06 12:21:03 -07:00
Ozzie Gooen
7d9bae96e1 Quick addition of stdev-variance-min-max-mode 2022-06-06 12:08:00 -07:00
dependabot[bot]
b4c33873cc
⬆️ Bump webpack from 5.72.1 to 5.73.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.1 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.73.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 15:44:16 +00:00
Ozzie Gooen
7210e5b196
Merge pull request #652 from quantified-uncertainty/dependabot/npm_and_yarn/ts-node-10.8.1
⬆️ Bump ts-node from 10.8.0 to 10.8.1
2022-06-06 08:33:42 -07:00
dependabot[bot]
c48aa9a3ac
⬆️ Bump ts-node from 10.8.0 to 10.8.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.8.0 to 10.8.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.8.0...v10.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 15:27:06 +00:00
dependabot[bot]
b7295fe6d9
⬆️ Bump peggy from 2.0.0 to 2.0.1
Bumps [peggy](https://github.com/peggyjs/peggy) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/peggyjs/peggy/releases)
- [Changelog](https://github.com/peggyjs/peggy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peggyjs/peggy/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: peggy
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 15:23:02 +00:00
dependabot[bot]
7882301a04
⬆️ Bump typescript from 4.7.2 to 4.7.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.2...v4.7.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 14:53:09 +00:00
Ozzie Gooen
441ac3c251 Changed the name of select functions 2022-06-05 21:47:29 -07:00
Ozzie Gooen
6567f1b8ef Moved API files to API directory 2022-06-05 20:02:17 -07:00
Ozzie Gooen
b0b48c7129 First attempt at new API documentation generation 2022-06-04 09:26:52 -07:00
Ozzie Gooen
10de355f86 First attempt at auto-documentation 2022-06-03 17:59:02 -07:00
Umur Ozkul
9e4a70c516 Merge branch 'develop' into reducer-type-grammar 2022-06-02 14:29:33 +02:00
Umur Ozkul
6b25e82f58 typeExpression
type statements

type paranthesis

type paranthesis

comments

TODO

typeExpression

type statements

type paranthesis

type paranthesis

comments

TODO

peggy construct functions

typeExpression

type statements

type paranthesis

type paranthesis

comments

TODO

peggy construct functions

apply

typeExpression

type statements

type paranthesis

type paranthesis

comments

TODO

peggy construct functions

apply

all types are expressions

typeExpression

type statements

type paranthesis

type paranthesis

comments

TODO

peggy construct functions

apply

all types are expressions

modifiers

typeExpression

type statements

type paranthesis

type paranthesis

comments

TODO

peggy construct functions

apply

all types are expressions

modifiers

0 arg constructors and $ (low priority type modifier)

remove GeneratedParser.js

peggy test helpers

test type parsing

type of test defined

act of binding refactored

recognize all binding functions | "$_setBindings_$" | "$_setTypeOfBindings_$" | "$_setTypeAliasBindings_$"

doBindStatement

bindings default statemetn

doBindExpression

clone type references and type aliases

doSetBindingsInNamespace

member_of, min, max

typeOr

type function

type with expression
2022-06-02 14:20:55 +02:00
Ozzie Gooen
793c42ce20
Merge pull request #599 from quantified-uncertainty/toPointSet-fn 2022-06-02 05:16:32 -07:00
Sam Nolan
23bc41d61c Change import to import type when needed 2022-05-31 04:16:04 +00:00