Vyacheslav Matyukhin
8880b91c28
peggy: require instead of import, fixes tests
2022-06-26 12:13:38 +03:00
Vyacheslav Matyukhin
7cbece9212
optional location on NodeString (for record keys)
2022-06-26 11:42:33 +03: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
Sam Nolan
3b84c2892c
Fix typescript errors (start raw decoding early)
2022-06-24 10:53:53 +00:00
Umur Ozkul
e192fe5790
PR comments
2022-06-24 12:15:38 +02: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
07d5c6d8b3
Iev -> IEv Just more readable prefix
2022-06-23 20:38:07 +02:00
Umur Ozkul
24a9c52789
Merge branch 'develop' into reducer-typescript-wall
2022-06-23 20:07:05 +02:00
Sam Nolan
2b8545ad04
Fix 1 + distribution having reverse ordered points
...
Fixes #595
2022-06-23 03:40:40 +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
95d3bf6eaa
merge Reducer
2022-06-23 04:03:50 +02:00
Umur Ozkul
7b2c16d90f
fix typescript test
2022-06-23 04:03:14 +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
84a0d83efb
store location on RESyntaxError; export parse() function
2022-06-22 00:34:35 +03:00
Ozzie Gooen
8d311a099d
Added scaleMultiply
2022-06-17 06:44:06 -07:00
Ozzie Gooen
d4535df712
Merge pull request #696 from quantified-uncertainty/normalize-after-truncate
...
Normalize after truncate
2022-06-14 17:14:03 -07:00
Ozzie Gooen
6278dff818
Ran formatting
2022-06-14 17:00:09 -07:00
Ozzie Gooen
7ceae18611
Normalize after trunctae
2022-06-14 16:54:59 -07:00
Ozzie Gooen
62ed997de2
More progress on DistGeneric
2022-06-13 18:13:43 -07:00
Ozzie Gooen
6a4132c955
Ran format
2022-06-13 12:10:24 -07:00
Ozzie Gooen
2dc71315ef
Added key math variables, all lowercase
2022-06-13 11:43:26 -07:00
Ozzie Gooen
f01df95381
Merge branch 'develop' into documentation-refactor-June12-2022
...
* develop:
⬆️ Bump @storybook/builder-webpack5 from 6.5.7 to 6.5.8
⬆️ Bump @storybook/react from 6.5.7 to 6.5.8
⬆️ Bump @storybook/addon-essentials from 6.5.7 to 6.5.8
always merge stdlib
⬆️ Bump webpack-dev-server from 4.9.1 to 4.9.2
⬆️ Bump @types/node from 17.0.40 to 17.0.42
⬆️ Bump reanalyze from 2.22.0 to 2.23.0
⬆️ Bump @storybook/manager-webpack5 from 6.5.7 to 6.5.8
⬆️ Bump @storybook/addon-actions from 6.5.7 to 6.5.8
⬆️ Bump webpack-cli from 4.9.2 to 4.10.0
⬆️ Bump @storybook/addon-links from 6.5.7 to 6.5.8
⬆️ Bump @hookform/resolvers from 2.9.0 to 2.9.1
⬆️ Bump react-hook-form from 7.31.3 to 7.32.0
⬆️ Bump tailwindcss from 3.0.24 to 3.1.2
2022-06-13 11:04:21 -07: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
Ozzie Gooen
bb85869303
Lots of documentation tweaks
2022-06-12 21:19:28 -07: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
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