Commit Graph

141 Commits

Author SHA1 Message Date
Ozzie Gooen
47f1be0702 Story cleanup 2022-07-21 11:29:59 -07:00
Ozzie Gooen
d3a12eb4e9 Fixed bug with namespaces 2022-07-21 08:31:46 -07:00
Ozzie Gooen
aa3d91d78f Merge branch 'develop' into add-reducer-to-function-registry
* develop:
  Minor component fix to show Void statements
  Fixed typescript build
  Introduce void type
2022-07-20 16:50:49 -07:00
Umur Ozkul
1c4557b638 Introduce void type
yarn all:rescript

EvVoid

parsing void

void
2022-07-20 17:01:42 +02:00
Ozzie Gooen
9173b103f5 Fixed major bug for module functions 2022-07-19 23:06:10 -07:00
dependabot[bot]
074a084853
Merge pull request #859 from quantified-uncertainty/dependabot/npm_and_yarn/gentype-4.5.0 2022-07-18 16:39:43 +00:00
dependabot[bot]
925d2e65bb
⬆️ Bump gentype from 4.4.0 to 4.5.0
Bumps [gentype](https://github.com/cristianoc/gentype) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/cristianoc/gentype/releases)
- [Changelog](https://github.com/rescript-association/genType/blob/master/Changes.md)
- [Commits](https://github.com/cristianoc/gentype/compare/v4.4.0...v4.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 16:28:39 +00:00
dependabot[bot]
dda6d652a6
⬆️ Bump ts-node from 10.8.2 to 10.9.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.8.2 to 10.9.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.8.2...v10.9.1)

---
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-07-18 15:51:07 +00:00
dependabot[bot]
89ac966276
⬆️ Bump ts-node from 10.8.1 to 10.8.2
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.8.1 to 10.8.2.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.8.1...v10.8.2)

---
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-07-11 16:27:40 +00:00
dependabot[bot]
4915f6a5b8
⬆️ Bump mathjs from 10.6.3 to 10.6.4
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.6.3 to 10.6.4.
- [Release notes](https://github.com/josdejong/mathjs/releases)
- [Changelog](https://github.com/josdejong/mathjs/blob/develop/HISTORY.md)
- [Commits](https://github.com/josdejong/mathjs/compare/v10.6.3...v10.6.4)

---
updated-dependencies:
- dependency-name: mathjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 14:39:55 +00:00
Quinn
8d7e6297cc
Merge pull request #784 from quantified-uncertainty/dependabot/npm_and_yarn/mathjs-10.6.3
⬆️ Bump mathjs from 10.6.1 to 10.6.3
2022-06-27 12:49:25 -04:00
dependabot[bot]
581d21be93
⬆️ Bump mathjs from 10.6.1 to 10.6.3
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.6.1 to 10.6.3.
- [Release notes](https://github.com/josdejong/mathjs/releases)
- [Changelog](https://github.com/josdejong/mathjs/blob/develop/HISTORY.md)
- [Commits](https://github.com/josdejong/mathjs/compare/v10.6.1...v10.6.3)

---
updated-dependencies:
- dependency-name: mathjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 14:25:22 +00:00
dependabot[bot]
587ca1f42b
⬆️ Bump fast-check from 3.0.0 to 3.0.1
Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/dubzzz/fast-check/releases)
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md)
- [Commits](https://github.com/dubzzz/fast-check/commits/v3.0.1/packages/fast-check)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 14:24:50 +00:00
Vyacheslav Matyukhin
5a2b5b2a4d
return typed peggy AST from parse 2022-06-26 11:14:51 +03:00
Ozzie Gooen
aeea4806b4
Merge pull request #752 from quantified-uncertainty/reducer-typescript-wall
Reducer typescript wall
2022-06-24 05:43:21 -07:00
Ozzie Gooen
934608d971
Merge pull request #750 from quantified-uncertainty/language-server
Language server; error location in SyntaxErrors
2022-06-23 17:30:29 -07:00
Umur Ozkul
24a9c52789 Merge branch 'develop' into reducer-typescript-wall 2022-06-23 20:07:05 +02:00
Vyacheslav Matyukhin
490ea7edd5
Merge branch 'develop' into language-server 2022-06-23 10:44:58 +03:00
Sam Nolan
627211495e Merge branch 'develop' into fix-595 2022-06-23 07:31:38 +00:00
Sam Nolan
9338f745b8 Fix prettier complaining about lock 2022-06-23 03:59:39 +00:00
Umur Ozkul
e23f8b011b Merge branch 'develop' into reducer-typescript-wall
packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res
packages/squiggle-lang/src/rescript/SquiggleLibrary/SquiggleLibrary_Math.res
2022-06-23 04:29:13 +02:00
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
Vyacheslav Matyukhin
840944f566
external stdlib for rescript 2022-06-22 01:47:33 +03:00
dependabot[bot]
6b1f2b095a
⬆️ Bump fast-check from 2.25.0 to 3.0.0
Bumps [fast-check](https://github.com/dubzzz/fast-check) from 2.25.0 to 3.0.0.
- [Release notes](https://github.com/dubzzz/fast-check/releases)
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dubzzz/fast-check/compare/v2.25.0...v3.0.0)

---
updated-dependencies:
- dependency-name: fast-check
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 17:56:35 +00:00
dependabot[bot]
12a1c88ab4
⬆️ Bump typescript from 4.7.3 to 4.7.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.3 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v4.7.4)

---
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-20 17:43:29 +00:00
ba5f703d03 v0.2.11 2022-06-15 00:15:17 -04:00
1a98392c78 fix: Make lodash a dependency, rather than a dev dependency
I'm hoping this fixes my current error when using the
npm package.

Looking at the compiled outputs into js, the first line is:

import * as _ from "lodash";

But, because lodash is not a dependency, but rather a dev dependency,
this brings up an error when downloading and using from npm,
so the current npm package does not run

I am hoping that this simple fix will fix that.
2022-06-14 23:45:40 -04: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
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
dependabot[bot]
314cda31ac
Merge pull request #620 from quantified-uncertainty/dependabot/npm_and_yarn/gentype-4.4.0 2022-05-30 15:47:23 +00:00
dependabot[bot]
69d463f452
Merge pull request #618 from quantified-uncertainty/dependabot/npm_and_yarn/mathjs-10.6.0 2022-05-30 15:45:45 +00:00
dependabot[bot]
c85242a5ee
⬆️ Bump gentype from 4.3.0 to 4.4.0
Bumps [gentype](https://github.com/cristianoc/gentype) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/cristianoc/gentype/releases)
- [Changelog](https://github.com/rescript-association/genType/blob/master/Changes.md)
- [Commits](https://github.com/cristianoc/gentype/compare/v4.3.0...v4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:39:53 +00:00
dependabot[bot]
87332095e8
Merge pull request #610 from quantified-uncertainty/dependabot/npm_and_yarn/typescript-4.7.2 2022-05-30 15:38:56 +00:00
dependabot[bot]
f1756cd383
⬆️ Bump mathjs from 10.5.2 to 10.6.0
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.5.2 to 10.6.0.
- [Release notes](https://github.com/josdejong/mathjs/releases)
- [Changelog](https://github.com/josdejong/mathjs/blob/develop/HISTORY.md)
- [Commits](https://github.com/josdejong/mathjs/compare/v10.5.2...v10.6.0)

---
updated-dependencies:
- dependency-name: mathjs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:38:20 +00:00
dependabot[bot]
4ecf459bbb
⬆️ Bump typescript from 4.6.4 to 4.7.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.4...v4.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:32:55 +00:00
dependabot[bot]
38ce0ba08d
⬆️ Bump reanalyze from 2.19.0 to 2.22.0
Bumps [reanalyze](https://github.com/cristianoc/reanalyze) from 2.19.0 to 2.22.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.19.0...v2.22.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-05-30 15:26:47 +00:00
dependabot[bot]
65abbece9e
⬆️ Bump peggy from 1.2.0 to 2.0.0
Bumps [peggy](https://github.com/peggyjs/peggy) from 1.2.0 to 2.0.0.
- [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/v1.2.0...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:00:14 +00: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
Quinn Dougherty
ebcd228232 .gitignore, package.json, .prettierignore: #576
Value: [1e-7 to 1e-3]
2022-05-23 07:05:42 -04: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
7b5fd2b101 Merge branch 'develop' into reducer-dev 2022-05-19 01:28:37 +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
Ozzie Gooen
7216f8079f First attempt at adding bernoulli 2022-05-15 18:27:25 -04:00
Ozzie Gooen
4676026aa0 Ran formatter 2022-05-15 10:58:29 -04:00
Quinn Dougherty
fbb79b261d hotfix: increment package version 2022-05-13 13:41:26 -04:00