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
90d3f89c0a
Trying to fix things, but breaking a lot of tests.
2022-07-19 21:32:11 -07:00
Ozzie Gooen
f8d6db61c5
Moved list functions into FunctionRegistry
2022-07-19 10:35:31 -07:00
Ozzie Gooen
5891d23462
Merge pull request #845 from quantified-uncertainty/reducer-typecheck
...
Reducer typecheck
2022-07-18 22:25:40 -07:00
Ozzie Gooen
e6b402c7d8
Merge pull request #860 from quantified-uncertainty/sampleN
...
`mapSamplesN`
2022-07-18 21:17:38 -07:00
Sam Nolan
ffaf349e0a
Basic mapSampleN support
2022-07-19 11:33:11 +10:00
Umur Ozkul
4535041876
less test clutter
2022-07-18 22:52:19 +02:00
Umur Ozkul
15d63a6a96
type modifiers -> type contracts
2022-07-18 18:31:09 +02:00
Umur Ozkul
c1429e0907
simplified modules
2022-07-18 18:16:49 +02:00
Umur Ozkul
06134a6524
Merge branch 'reducer-parsermodules' into reducer-typecheck
2022-07-18 18:08:44 +02:00
Umur Ozkul
479f60df01
before math library
...
no module (tested)
fix parser and Math library
2022-07-18 18:04:47 +02:00
Umur Ozkul
6966c8d3e5
ternary validation
2022-07-18 15:17:41 +02:00
Umur Ozkul
8fb75d57fc
type check
2022-07-18 15:15:36 +02:00
Umur Ozkul
b65aeaf0d2
spell check
2022-07-16 17:09:39 +02:00
Umur Ozkul
4522b46900
basic type compiler
2022-07-16 16:13:39 +02:00
Umur Ozkul
532a878911
define function returning result
2022-07-11 17:46:50 +02:00
Umur Ozkul
d25e052b61
rename to Reducer_Module_test
2022-07-11 17:04:21 +02:00
Umur Ozkul
b3ac8848d2
comment
2022-07-05 15:27:56 +02:00
Umur Ozkul
e0b2632028
format
2022-07-05 06:20:57 +02:00
Umur Ozkul
746ca695af
fix test
2022-07-05 06:17:26 +02:00
Umur Ozkul
742fc10e0d
comment
2022-07-05 05:54:56 +02:00
Umur Ozkul
6edacc78e4
foo test
2022-07-05 05:16:00 +02:00
Umur Ozkul
38cc93bdec
Module.defineFFI
2022-07-02 14:53:33 +02:00
Umur Ozkul
e192fe5790
PR comments
2022-06-24 12:15:38 +02:00
Umur Ozkul
07d5c6d8b3
Iev -> IEv Just more readable prefix
2022-06-23 20:38:07 +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
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
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
Ozzie Gooen
6dc8b711bb
Lots of simple cleanup to api docs
2022-06-10 17:35:48 -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
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
Ozzie Gooen
b675b33dfe
Refactored reducerInterface files
2022-06-06 14:42:49 -07: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
Umur Ozkul
00d7304b4b
format
2022-05-29 17:56:37 +02:00
Umur Ozkul
ac3fa859c0
Replace $$_block__$$ with {}
...
More redable language tests
2022-05-29 17:55:01 +02:00
Umur Ozkul
ce5f12360a
fixed #597
2022-05-28 15:52:35 +02:00
Umur Ozkul
a386eee570
remove unit evaluation test
...
We provide no implementation
2022-05-23 18:18:30 +02:00
Umur Ozkul
08c73ac22f
Merge branch 'Umur-reducer-dev' into reducer-dev
...
packages/squiggle-lang/__tests__/Reducer/Reducer_Peggy/Reducer_Peggy_Parse_test.res
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.js
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.peggy
2022-05-23 18:07:50 +02:00
Umur Ozkul
107bce506f
generic unit support
2022-05-23 17:51:38 +02:00
Umur Ozkul
4628140069
numbers with units (tested)
2022-05-23 08:13:51 +02:00
Umur Ozkul
949b57c426
Error reporting if function arguments are defined
...
map(arr, toSample) now correctly reports
toSample not found
instead of
macro(Array,Symbol) not defined
2022-05-21 19:18:39 +02:00
Umur Ozkul
2265254531
Filter arguments passed to mathjs calls by type so that error messages are not too weird
2022-05-21 18:05:55 +02:00
Umur Ozkul
feb0284a89
format
2022-05-20 18:20:00 +02:00
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