Commit Graph

1939 Commits

Author SHA1 Message Date
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
Umur Ozkul
870b0c9d4e hidden macros 2022-05-20 17:05:53 +02:00
Umur Ozkul
b165ccac9f floats in scientific notation and optional leading zero 2022-05-20 15:18:27 +02:00
Umur Ozkul
c1f269e9a4 fixed logical operator priority 2022-05-20 00:29:04 +02:00
Umur Ozkul
6b2e509aea pipes, binary, unary and post operators test 2022-05-19 23:35:15 +02:00
Umur Ozkul
c05263b24c Merge branch 'develop' into Umur-reducer-dev 2022-05-19 20:53:12 +02:00
Umur Ozkul
75c913fac3 fixes #522 2022-05-19 20:45:15 +02:00
Umur Ozkul
ffedc5dbb3 multi-line tests 2022-05-19 20:38:10 +02:00
Umur Ozkul
a51e4be528 format 2022-05-19 20:25:18 +02:00
Umur Ozkul
57c2fba791 "credibleIntervalToDistribution" 2022-05-19 20:20:14 +02:00
Umur Ozkul
516627629f attempt to resolve "credibleIntervalToDistribution" 2022-05-19 20:12:46 +02:00
Umur Ozkul
27609cd058 peggy as development dependency 2022-05-19 19:56:00 +02:00
Umur Ozkul
d332114bc1 peggy build command 2022-05-19 19:16:25 +02:00
Umur Ozkul
986e7c744b pegjs->peggy 2022-05-19 19:10:14 +02:00
Umur Ozkul
749fba2877 pr fixes 2022-05-19 19:08:40 +02:00
Umur Ozkul
c496ae5cdd multi-line tests 2022-05-19 18:19:09 +02:00
Umur Ozkul
638548c37b multi-line comment 2022-05-19 18:04:51 +02:00
Umur Ozkul
7ccb1d8108 multi-line tests 2022-05-19 17:59:25 +02:00
Umur Ozkul
3371c51e94 post operators test 2022-05-19 17:47:26 +02:00
Umur Ozkul
56f0c9c290 lambda tests 2022-05-19 17:40:30 +02:00
Umur Ozkul
7bfe286f42 multiplicative tests 2022-05-19 17:32:14 +02:00
Quinn
c5379adbf0
Merge pull request #554 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/builder-webpack5-6.5.2
⬆️ Bump @storybook/builder-webpack5 from 6.4.22 to 6.5.2
2022-05-19 11:29:26 -04:00
dependabot[bot]
c804314194
⬆️ Bump @storybook/builder-webpack5 from 6.4.22 to 6.5.2
Bumps [@storybook/builder-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.4.22 to 6.5.2.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.2/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.2/lib/core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 15:23:59 +00:00
Quinn
7b0ebfe7ac
Merge pull request #552 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-links-6.5.2
⬆️ Bump @storybook/addon-links from 6.4.22 to 6.5.2
2022-05-19 11:22:21 -04:00
Umur Ozkul
0753311b93 logical tests 2022-05-19 17:14:16 +02:00
dependabot[bot]
4383b95593
⬆️ Bump @storybook/addon-links from 6.4.22 to 6.5.2
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.4.22 to 6.5.2.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.2/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.2/addons/links)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 15:12:25 +00:00
Quinn
40a436ca0a
Merge pull request #553 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/manager-webpack5-6.5.2
⬆️ Bump @storybook/manager-webpack5 from 6.4.22 to 6.5.2
2022-05-19 11:11:17 -04:00
Quinn
bc9cf4b5a1
Merge pull request #549 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.35
⬆️ Bump @types/node from 17.0.34 to 17.0.35
2022-05-19 11:11:02 -04:00
dependabot[bot]
3512e4014d
⬆️ Bump @types/node from 17.0.34 to 17.0.35
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.34 to 17.0.35.
- [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-19 15:01:59 +00:00
dependabot[bot]
98a95d4a78
⬆️ Bump @storybook/manager-webpack5 from 6.4.22 to 6.5.2
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.4.22 to 6.5.2.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.2/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.2/lib/core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 15:01:57 +00:00
Quinn
aa9b284b96
Merge pull request #550 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-essentials-6.5.2
⬆️ Bump @storybook/addon-essentials from 6.4.22 to 6.5.2
2022-05-19 11:00:50 -04:00
Umur Ozkul
470a6add42 update ternary 2022-05-19 16:45:50 +02:00
dependabot[bot]
c3984a0caa
⬆️ Bump @storybook/addon-essentials from 6.4.22 to 6.5.2
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.4.22 to 6.5.2.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.2/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.2/addons/essentials)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 14:45:08 +00:00
Quinn
071ebbdc73
Merge pull request #548 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/react-6.5.2
⬆️ Bump @storybook/react from 6.4.22 to 6.5.2
2022-05-19 10:43:54 -04:00
dependabot[bot]
0526629d94
⬆️ Bump @storybook/react from 6.4.22 to 6.5.2
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.4.22 to 6.5.2.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.2/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.2/app/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 14:37:32 +00:00
Umur Ozkul
f547db9d0a multi line problem due to block and lambda ambiguity 2022-05-19 16:35:12 +02:00
Umur Ozkul
4ce1ab1172 added subtract test 2022-05-19 15:21:49 +02:00
Umur Ozkul
7b5fd2b101 Merge branch 'develop' into reducer-dev 2022-05-19 01:28:37 +02:00
Umur Ozkul
915b49bf97 Merge branch 'peggy' into reducer-dev 2022-05-19 01:26:47 +02:00
Umur Ozkul
db050668d1 parser
toFunction

additive multiplicative

compact

whitespace

pow

relational equality

boolean

whitespace separator

left associative operators

expression

not

identifier

function call

array constructor

string

indexed values

ident

priority

block

outerBlock

optional final expression

statement separator

outerBlock

innerBlock

better errors

note xor

white space and record

unary minus

inner/outer block

statement

lambda

sort

lambda is a value constructor

lambdaCall

ternary

ternary

basicValue

cleanup

quotes

chained Functions

dot operators

unify unary operators

unify unary operatos

notes

notes

notes

notes

parser

priorities set

white space or newline defined

allow newlines

notes

function call has become a post operator

recordElement

recursive index

postOperatorToFunction

better integer

comments

notes

record priority

comment

atom

finalComment

generated parser

type cast

format

initiate test file

test initiated; todo nodeCall; nodeExpression

callIdentifier

recover extra

initiate testing

initial tests pass

tests pass

remove function node

ternary

test parse passed

to

tests pass

notes

sort

toExpression

format

notes

remove unused modules

remove unnecessary nodeLambdaCall

notes

note

fix construct array

comment test

todo

elixir pipe

fix toString

notes

initial to expression test

value test

parsing records

records

comments

ternary

ifthenelse

inner block passed

inner block

lambda

lambda

new parser tested

now test tricks

ternary in expression

to test lambda as argument

to test lambda in structures

Use peggy Parser

expectEvalError

macros tested

remove mathjs parse

reducer test

comparison operator
2022-05-19 01:23:43 +02:00
Quinn
67ff78864f
Merge pull request #544 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.34
⬆️ Bump @types/node from 17.0.33 to 17.0.34
2022-05-17 14:06:02 -04:00
Quinn
1a3a732793
Merge pull request #543 from quantified-uncertainty/dependabot/npm_and_yarn/babel/plugin-proposal-private-property-in-object-7.17.12
⬆️ Bump @babel/plugin-proposal-private-property-in-object from 7.16.7 to 7.17.12
2022-05-17 14:05:07 -04:00
dependabot[bot]
3d54e81a5f
⬆️ Bump @types/node from 17.0.33 to 17.0.34
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.33 to 17.0.34.
- [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-17 14:39:18 +00:00
dependabot[bot]
d7dded7c04
⬆️ Bump @babel/plugin-proposal-private-property-in-object
Bumps [@babel/plugin-proposal-private-property-in-object](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-private-property-in-object) from 7.16.7 to 7.17.12.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.17.12/packages/babel-plugin-proposal-private-property-in-object)

---
updated-dependencies:
- dependency-name: "@babel/plugin-proposal-private-property-in-object"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 14:36:48 +00:00
Ozzie Gooen
2b48e2bb53
Merge pull request #529 from quantified-uncertainty/samplesMap
SamplesMap() and toInternalSampleArray() functions
2022-05-16 21:44:37 -04:00
Ozzie Gooen
ab88b0d012 Merged with develop 2022-05-16 20:14:29 -04:00
Ozzie Gooen
eafdfdc7b7 Cleanup to samplesMap() code 2022-05-16 20:11:38 -04:00
Ozzie Gooen
833175bce2
Merge pull request #521 from quantified-uncertainty/score-dist-on-scalar-resolution
score a dist against a scalar resolution
2022-05-16 18:25:14 -04:00
Quinn Dougherty
9e7319ed57 More substantial CR; more named args
Value: [1e-6 to 1e-2]
2022-05-16 18:06:14 -04:00
Quinn Dougherty
1d2bb556de Minor CR comments
Value: [1e-6 to 1e-3]
2022-05-16 15:39:40 -04:00