Commit Graph

298 Commits

Author SHA1 Message Date
Sam Nolan
38135f0c81 Merge branch 'develop' into mix-distributions 2022-04-13 11:22:43 +10:00
Quinn Dougherty
b17f638483 EBindings -> T.EBindings 2022-04-12 20:48:53 -04:00
Quinn Dougherty
4f95c019eb yarn format 2022-04-12 20:22:19 -04:00
Sam Nolan
e234951d62 Hotfix bundle failure 2022-04-13 10:14:11 +10:00
Sam Nolan
f2f885f269 Hotfix Typescript checker failing 2022-04-13 10:07:33 +10:00
Umur Ozkul
fea990de2d Sam's patch PR#226 2022-04-13 01:34:06 +02:00
Umur Ozkul
d1ea15e4f9 fix ts export 2022-04-12 17:12:19 +02:00
Umur Ozkul
1b4422bb90 revise lisp references - close umuro/squiggle#50 2022-04-12 16:26:55 +02:00
Umur Ozkul
a95cdfabe3 dont use short Desc - close umuro/squiggle#51 2022-04-12 16:19:50 +02:00
Umur Ozkul
05b5efce18 remove -> in switch cases. close umuro/squiggle#59
squiggle
2022-04-12 16:15:27 +02:00
Umur Ozkul
4fe72b8fb4 remove Reduce_Expression.rsi.
Too many changes. Hot target. Preventing development
2022-04-12 15:47:46 +02:00
Umur Ozkul
9c7f930549 Merge branch 'develop' into reducer-dev
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.resi
2022-04-12 15:46:48 +02:00
Sam Nolan
f102d70d80 Add mixture alias 2022-04-12 17:45:44 +10:00
Sam Nolan
60a345dd6d Implement mx for distributions 2022-04-12 17:39:38 +10:00
Sam Nolan
d316ad0a07 Merge branch 'develop' into reducer-playground 2022-04-12 16:45:14 +10:00
Sam Nolan
e5f8b6c7d3 Fix build errors for components and lang 2022-04-12 16:21:32 +10:00
Sam Nolan
440bfabffa Run prettier on monorepo + fix crashing playground 2022-04-12 15:41:36 +10:00
Quinn
8a69c54fd8
coverage:ci 2022-04-11 20:33:32 -04:00
Umur Ozkul
352cccaab8
Merge branch 'develop' into reducer-dev 2022-04-12 01:47:07 +02:00
Quinn Dougherty
c7908e85a8 prettier is proper now with yarn scripts 2022-04-11 19:15:09 -04:00
Quinn Dougherty
a498ed4611 branch names in *.yml 2022-04-11 17:41:40 -04:00
Umur Ozkul
f0008c1e20 offer reducer:format as an example 2022-04-11 16:51:44 +02:00
Umur Ozkul
87116d12d5 reformat 2022-04-11 16:51:15 +02:00
Umur Ozkul
3a8e6a8f60 Merge branch 'staging' into reducer-dev 2022-04-11 16:42:37 +02:00
Umur Ozkul
660c0c70ae variables and statements
format only reducer

reformat lint

multi-line test

spelling

multi-line semantic mapping

todo multi-line eval

multi-line tests todo

change context to bindings

simplify tests

rename exception test methods

bindings is an expression value

make bindings callable

reformat

Emphasize the nature of Lisp AST

Initial definition of macros

make functions private

fixed functionNode type casting

macro call skeleton

sort ReducerInterface

fix test

macros skeleton

bindings is not a value

assignment semantics

let semantics defined

format

reformat

reformat

TODO function calls and list hd variables are confused

reformat

tmp

works

reformat

reformat

add test

reformat

add test
2022-04-11 16:31:10 +02:00
Quinn Dougherty
af3cab01bc added .resi files to lint checker 2022-04-11 09:35:25 -04:00
Sam Nolan
26433c5289 Fix failing tests based on new toString 2022-04-11 16:31:54 +10:00
Sam Nolan
cb07f5f68a A playground based on reducer 2022-04-11 16:16:29 +10:00
Quinn Dougherty
16258c2538 install dependencies in lint job 2022-04-11 01:27:21 -04:00
Quinn Dougherty
9f97213ec5 added deeper path in lint.sh 2022-04-11 01:24:56 -04:00
Quinn Dougherty
3f2cd652d4 path to rescript executable in lint.sh 2022-04-11 01:23:09 -04:00
Quinn Dougherty
3689caa1fc finally nailed the triggers! (I hope) 2022-04-11 01:08:54 -04:00
Quinn Dougherty
d4b00b15c1 debugging triggers again 2022-04-11 01:05:47 -04:00
Quinn Dougherty
19d5fa109b rescript format on DistPlus.res 2022-04-11 00:59:47 -04:00
Quinn Dougherty
518f082c53 (rebase): A rescript linter! 2022-04-11 00:24:12 -04:00
Quinn Dougherty
00e98766cb a rescript linter! 2022-04-11 00:23:15 -04:00
Quinn Dougherty
e4e8e4b847 ran rescript format on ProgramEvaluator.res 2022-04-11 00:23:15 -04:00
Sam Nolan
61b589d0bd Change typescript interface to reducer 2022-04-11 13:16:31 +10:00
Sam Nolan
6565d97f53 Rename eval to evaluate
eval is a JS keyword
2022-04-11 11:18:38 +10:00
Sam Nolan
d6c541036f Run prettier + add missing pointWiseAdd signature 2022-04-11 11:08:34 +10:00
Sam Nolan
8f49b64083 Fix failing lang tests due to rename 2022-04-11 11:06:13 +10:00
Sam Nolan
e5baf23950 Run prettier in squiggle-lang 2022-04-11 10:51:43 +10:00
Sam Nolan
1825b1f250 Type the lang typescript interface 2022-04-11 10:48:45 +10:00
Ozzie Gooen
eecd501d04 Merged with master 2022-04-10 13:22:57 -04:00
Ozzie Gooen
c94a70b93a Fixed tests 2022-04-09 21:56:05 -04:00
Ozzie Gooen
ec5dc4667f Samples_test -> SampleSetDist_test 2022-04-09 21:39:10 -04:00
Ozzie Gooen
5b0efbb3a8 Bandwidth -> SampleSetDist_Bandwidth 2022-04-09 21:31:34 -04:00
Ozzie Gooen
4338f482ef Added genType to SampleSetDist to make pass tests, other minor fixes 2022-04-09 21:24:44 -04:00
Ozzie Gooen
9ad73fe69b Power should be ** to be consistent 2022-04-09 20:36:33 -04:00
Ozzie Gooen
db104694fd Cleaned up resultStringToResultError 2022-04-09 20:34:21 -04:00
Ozzie Gooen
f17a842c52 Cleanup from previous refactor 2022-04-09 20:27:03 -04:00
Ozzie Gooen
fa3d874a4e Start of refactor for toPointSetDist 2022-04-09 20:21:02 -04:00
Ozzie Gooen
61aaca3e2f Gave SampleSetDist a private type 2022-04-09 18:10:06 -04:00
Ozzie Gooen
9430653b7a Namechange: Exponential -> Power 2022-04-09 12:37:26 -04:00
Ozzie Gooen
54b6b18d3a Cleanup and commenting for PR 2022-04-08 22:55:06 -04:00
Ozzie Gooen
2dc57bedc5 Added more tests to JS__Test.ts, and added SampleN functionality to SampleSetDist 2022-04-08 21:31:08 -04:00
Ozzie Gooen
0af0c9e274 Added tests for index.js and fixed some corresponding functionality 2022-04-08 19:48:53 -04:00
Ozzie Gooen
d62ccc27bd Minor refactor of DistributionOperation Constructors 2022-04-08 16:09:00 -04:00
Ozzie Gooen
4c99a50d89 Fix from CR 2022-04-08 15:57:18 -04:00
Ozzie Gooen
e065a57a66 Added to index.ts 2022-04-08 15:55:04 -04:00
Ozzie Gooen
57196c568b Added a bunch of manual functions for DistributionOperation 2022-04-08 14:42:14 -04:00
dependabot[bot]
fbce9e4e40
Bump mathjs from 10.4.2 to 10.4.3
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.4.2 to 10.4.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.4.2...v10.4.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-04-08 14:35:38 +00:00
Ozzie Gooen
6634718ba9 Cleanup from merge 2022-04-08 09:32:48 -04:00
Ozzie Gooen
4b103cb128 Merged with staging 2022-04-08 09:19:03 -04:00
Ozzie Gooen
937a8482fd Added sparkline and toString to ReducerInterface 2022-04-08 09:08:49 -04:00
Ozzie Gooen
837088a9c6 Refactored tests to use GenericOperation 2022-04-08 08:53:37 -04:00
Ozzie Gooen
0fa954ae63 Improves sparklines by integrating them more deeply to the codebase 2022-04-08 08:44:04 -04:00
Umur Ozkul
1d550353c9 Merge branch 'staging' into reducer-dev 2022-04-08 11:09:46 +02:00
Sam Nolan
b8d07bd8a4 Add explaining comment to diff 2022-04-08 16:59:15 +10:00
Sam Nolan
d6e18b1c4f Respond to Ozzie's PR comments 2022-04-08 16:51:38 +10:00
Sam Nolan
5a2c4c8aec Fix build error in test (rangeFloat) 2022-04-08 11:17:56 +10:00
Sam Nolan
a99290ea43 Rename rangeByFloat to rangeFloat 2022-04-08 11:09:31 +10:00
Sam Nolan
bf2f85a8ab Respond to sparkline PR change requests 2022-04-08 11:02:41 +10:00
Sam Nolan
53f4e56529 Implement generic sparklines with tests 2022-04-08 10:17:01 +10:00
Quinn Dougherty
9764a4cab8 one last CR comment 2022-04-07 20:13:08 -04:00
Quinn Dougherty
72be08a516 CR comments from #192 2022-04-07 18:38:49 -04:00
Quinn Dougherty
d582e29e8b CR comment #1 2022-04-07 14:33:49 -04:00
Quinn Dougherty
72cfbf14c2 test cases for lognormal uniform mixture 2022-04-07 13:50:11 -04:00
Quinn Dougherty
94db348db5 calling it a night on 192 (pending CR) 2022-04-07 13:33:12 -04:00
Quinn Dougherty
db05541a7b up to 186 tests 2022-04-07 10:55:51 -04:00
dependabot[bot]
509af80b36
Bump webpack from 5.71.0 to 5.72.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.71.0 to 5.72.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.71.0...v5.72.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-04-07 14:52:15 +00:00
Quinn Dougherty
a00772ef5c tiny cleanup 2022-04-07 10:21:48 -04:00
Quinn Dougherty
c50f8a3273 backed out of rescript-fast-check 2022-04-07 08:55:52 -04:00
Quinn Dougherty
e89042406b some cleanup of files 2022-04-06 23:01:17 -04:00
Quinn Dougherty
45c6eec7da some fun with testAll. 2022-04-06 22:24:00 -04:00
Quinn Dougherty
6b15698d4e replaced *__Test.res with *_test.res 2022-04-06 19:38:54 -04:00
Quinn Dougherty
0a5a8a5198 property test framework installed but not used; describe(means) section of unit tests filled out 2022-04-06 18:57:51 -04:00
Quinn Dougherty
e42ac0b58d renamed t to T 2022-04-06 16:02:32 -04:00
Quinn Dougherty
3bed89b558 coverage 2022-04-06 15:19:27 -04:00
Sam Nolan
663d3e213a Merge branch 'staging' into components-cleanup 2022-04-06 11:29:30 +10:00
Umur Ozkul
63a765a4fe mathjs parse assignment 2022-04-05 23:03:32 +02:00
Umur Ozkul
cd7a4b748e assignment test 2022-04-05 22:03:03 +02:00
Umur Ozkul
84f3420369 parse assignment 2022-04-05 22:02:06 +02:00
Ozzie Gooen
c0118af315 Changed warning comment 2022-04-05 15:34:19 -04:00
Ozzie Gooen
d77f984af6 utility -> Utility 2022-04-05 15:32:06 -04:00
Ozzie Gooen
6c282b0c70 Added genType to XYShape to fix tests 2022-04-05 15:23:39 -04:00
Ozzie Gooen
9b494462d4 Removed oldInterpreter 2022-04-05 15:13:45 -04:00
Ozzie Gooen
6b69a94a1a Added OldInterpreter files 2022-04-05 15:09:47 -04:00
Umur Ozkul
a5bb390370 reformat 2022-04-05 20:56:20 +02:00
Umur Ozkul
05e8540b31 rescript:format 2022-04-05 20:51:54 +02:00