Umur Ozkul
78f46daed8
Note infinite recursion
2022-05-03 00:18:23 +02:00
Umur Ozkul
d26eaa2523
Note infinite recursion
2022-05-03 00:16:29 +02:00
Umur Ozkul
11d4a3bc8b
do not export private modules from Reducer module
2022-05-02 23:42:11 +02:00
Umur Ozkul
490e4908e1
sam's monkeying
2022-05-02 23:18:36 +02:00
Umur Ozkul
6a3b35eb4a
fixed function f not bound
2022-05-02 23:12:57 +02:00
Umur Ozkul
5a0b436932
No 666
2022-05-02 18:00:47 +02:00
Umur Ozkul
f5d3da4c73
tests
2022-05-02 15:55:02 +02:00
Umur Ozkul
9e41f0399f
RENotAFunction
2022-05-02 15:55:02 +02:00
Umur Ozkul
ba104e4dfe
Catching unreduced values. This is not a lazy language
2022-05-02 15:55:02 +02:00
Umur Ozkul
c68138e5f6
arity error
2022-05-02 14:19:04 +02:00
Umur Ozkul
1e673e54c3
function tricks test defined (Sam's trials)
2022-05-02 12:27:07 +02:00
Umur Ozkul
087596ec43
function trics
2022-05-02 11:44:09 +02:00
Umur Ozkul
e262f76d98
spelling
2022-05-02 11:20:08 +02:00
Umur Ozkul
76b3adddc4
rename to exampleStatementY
2022-05-02 11:12:12 +02:00
Umur Ozkul
351381339c
bug fixed
...
logs removed
2022-04-29 18:19:52 +02:00
Umur Ozkul
8e318a8aa9
refactor reducer
...
removed some extra array references
rename Builder to ExpressionBuilder
Expression Builder
Trash Warning
remove parsePartial/Outer, add context to lambda
format
module Bindings
simplify types
module Macro
reduceValueList
do macro call
result map
bindings stop replacing on macro calls
Macro Test
doBindStatement
bind a statement
bindings tested. TODO bind shadowing in lambda
block tests defined
block tests defined
blocks tested
macro lambda test defined
2022-04-29 16:40:32 +02:00
Umur Ozkul
7b052ee3c3
format
2022-04-27 22:24:06 +02:00
Umur Ozkul
54f8b10a95
Reducer: Environment (Give environement to all function dispatches) - closes #169
2022-04-27 22:00:42 +02:00
Umur Ozkul
d00834bbe0
fix spelling - PR#366
2022-04-25 17:42:21 +02:00
Umur Ozkul
ac8827da28
ternary with bindings (failed)
2022-04-25 17:15:28 +02:00
Umur Ozkul
cbc2b73b20
Evaluate ternary operator (tested)
2022-04-25 16:19:56 +02:00
Umur Ozkul
c810c4576d
reducer semantics ternary (tested)
2022-04-25 15:30:27 +02:00
Umur Ozkul
4d801c0b10
ternary operator mathjs parse (tested)
2022-04-25 15:11:50 +02:00
Umur Ozkul
c7be293466
remove duplicate debug test case
2022-04-25 09:57:14 +02:00
Umur Ozkul
e3ef08839f
Function definition evaluated
2022-04-25 02:48:49 +02:00
Umur Ozkul
fe4e355fbe
format
2022-04-24 18:42:54 +02:00
Umur Ozkul
88b6d49ad3
function definition parse (tested)
2022-04-23 21:13:43 +02:00
Umur Ozkul
a915e68049
MathJs functionAssingmentNode parsed, comments passed (tested)
...
Just found out that comments were already done
2022-04-23 18:07:47 +02:00
Umur Ozkul
e456726e53
Merge branch 'reducer-dev-F-debugging' into Umur-reducer-dev
2022-04-23 15:21:11 +02:00
Umur Ozkul
875f0519ac
fixed - PR#333 kill W in evaluatePartialWBindings
...
renamed to evaluatePartialUsingExternalBindings
2022-04-22 22:19:59 +02:00
Umur Ozkul
2c7e6c750b
fix PR#333 - kill W in evalaluateWBindings
...
renamed to evaluateUsingExternalBindings
2022-04-22 22:15:06 +02:00
Umur Ozkul
b683e720f1
PR#333
2022-04-22 21:16:27 +02:00
Umur Ozkul
0ccbf607a2
ternary operator tests defined and skipped
2022-04-22 20:57:07 +02:00
Umur Ozkul
9ce5ed53d2
inspectPerformance (tested)
2022-04-22 16:18:00 +02:00
Umur Ozkul
417f0060b6
inspect and inspect with label (tested)
2022-04-22 15:43:37 +02:00
Umur Ozkul
b903863fe7
eval partial all tested
2022-04-22 00:07:34 +02:00
Umur Ozkul
2aa3a5ac48
format
2022-04-22 00:02:27 +02:00
Umur Ozkul
5038e2c691
eval partial tested
2022-04-21 23:55:23 +02:00
Umur Ozkul
a02bc27852
eval partial tested
2022-04-21 21:33:12 +02:00
Umur Ozkul
4826337a6a
eval with bindings tested
2022-04-21 19:41:18 +02:00
Umur Ozkul
46f3ee3d2c
parse partial tested
2022-04-21 19:16:09 +02:00
Umur Ozkul
52ac2e2ece
Binding tests imlemented and skipped
2022-04-17 20:36:04 +02:00
Umur Ozkul
e2015e1098
Outer and Partial: test helpers defined
2022-04-17 20:07:21 +02:00
Umur Ozkul
b1e2b27cee
partials compile. TODO tests
2022-04-17 19:24:39 +02:00
Umur Ozkul
7ab69a1708
issue 234
...
Define partial code
2022-04-15 14:48:58 +02:00
Umur Ozkul
3f95ca455b
imports #234
2022-04-15 08:56:48 +02:00
Quinn Dougherty
4f95c019eb
yarn format
2022-04-12 20:22:19 -04:00
Umur Ozkul
a95cdfabe3
dont use short Desc - close umuro/squiggle#51
2022-04-12 16:19:50 +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
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
Sam Nolan
6565d97f53
Rename eval to evaluate
...
eval is a JS keyword
2022-04-11 11:18:38 +10:00
Sam Nolan
d6e18b1c4f
Respond to Ozzie's PR comments
2022-04-08 16:51:38 +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
Umur Ozkul
a5bb390370
reformat
2022-04-05 20:56:20 +02:00
Umur Ozkul
4e6a2341f0
shorter tests
2022-04-05 19:36:19 +02:00
Umur Ozkul
bbcd7f2640
shorter tests
2022-04-05 19:18:10 +02:00
Umur Ozkul
74da6a0ae2
shorter tests
2022-04-05 19:09:29 +02:00
Umur Ozkul
17ca080ebb
PR#107 show -> toString
2022-03-30 12:53:36 +02:00
Umur Ozkul
158381dfbb
PR#107
2022-03-30 11:06:30 +02:00
Umur Ozkul
f74716922d
PR#107
2022-03-30 10:34:40 +02:00
Umur Ozkul
a9df64230e
fix module acronym
2022-03-30 10:03:30 +02:00
Umur Ozkul
06fff971f1
fix test module name
2022-03-29 11:53:49 +02:00
Umur Ozkul
2040ab52b1
format, rename, simplify
2022-03-29 11:09:59 +02:00
Umur Ozkul
ba4a974be9
fix on comments for pull request
2022-03-25 17:34:27 +01:00
Umur Ozkul
de428ef2e0
Reducer
2022-03-24 13:41:31 +01:00