Rob Rix
|
cee2e78ee5
|
Merge branch 'master' into import-environments
|
2018-03-13 15:58:17 -04:00 |
|
Rob Rix
|
a968fa05ac
|
Tidy up bindEnv.
|
2018-03-13 15:57:57 -04:00 |
|
Patrick Thomson
|
eb364317cb
|
move logic out of eval and into a helper
|
2018-03-13 15:57:08 -04:00 |
|
Patrick Thomson
|
d72c1807a2
|
stylistic changes
|
2018-03-13 15:42:47 -04:00 |
|
Patrick Thomson
|
611f1a9a6f
|
Merge remote-tracking branch 'origin/evaluate-for-loops' into while-evaluation
Thanks to @robrix for the fixed eval instance.
|
2018-03-13 15:40:34 -04:00 |
|
Rob Rix
|
2ee1c7d472
|
Eval Module using [] to print the last value.
|
2018-03-13 15:36:02 -04:00 |
|
Rob Rix
|
e846675b5b
|
Eval using [] to print the last value.
|
2018-03-13 15:34:50 -04:00 |
|
Rob Rix
|
9448cb437f
|
Bind variables in for loops.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
|
2018-03-13 15:33:46 -04:00 |
|
Rob Rix
|
fb7946714c
|
Unify equal types.
|
2018-03-13 15:33:18 -04:00 |
|
Rob Rix
|
b40eda1551
|
liftComparison promotes its operands.
|
2018-03-13 15:32:46 -04:00 |
|
Rob Rix
|
a6b4e5490a
|
Eval using [] to print the last value.
|
2018-03-13 15:32:23 -04:00 |
|
Rob Rix
|
b8a31a21fb
|
Add a typechecking entry point for TypeScript.
|
2018-03-13 15:31:36 -04:00 |
|
Rob Rix
|
6c5650b950
|
Merge remote-tracking branch 'origin/while-evaluation' into evaluate-for-loops
|
2018-03-13 15:06:47 -04:00 |
|
Patrick Thomson
|
d84e5d2043
|
otiose comments
|
2018-03-13 13:41:29 -04:00 |
|
Patrick Thomson
|
dffab93724
|
add for loops too, why not
|
2018-03-13 13:37:27 -04:00 |
|
Rob Rix
|
3a6ed6ff0c
|
Merge remote-tracking branch 'origin/while-evaluation' into evaluate-for-loops
|
2018-03-13 13:28:03 -04:00 |
|
Patrick Thomson
|
76e22f79cc
|
unused import and pragma
|
2018-03-13 13:02:33 -04:00 |
|
Patrick Thomson
|
b6a0494d2f
|
Merge remote-tracking branch 'origin/master' into while-evaluation
|
2018-03-13 13:01:22 -04:00 |
|
Patrick Thomson
|
88a909690a
|
unused import
|
2018-03-13 13:00:48 -04:00 |
|
Patrick Thomson
|
0cdcba6778
|
for real this time
|
2018-03-13 12:59:45 -04:00 |
|
Ayman Nadeem
|
8adefeebb0
|
Merge pull request #1544 from github/grammar-guide
Grammar development guide for semantic code team
|
2018-03-13 09:54:44 -07:00 |
|
Patrick Thomson
|
837b59f763
|
fix Type's implementation of liftComparison
|
2018-03-13 12:50:11 -04:00 |
|
Ayman Nadeem
|
8371d88d69
|
Merge branch 'master' into grammar-guide
|
2018-03-13 09:47:24 -07:00 |
|
Rob Rix
|
77a51026cf
|
Define Evaluatable for TermF point-free.
|
2018-03-13 12:45:40 -04:00 |
|
Rob Rix
|
e1788b5ff1
|
📝 the use of foldMap1/nonEmpty.
|
2018-03-13 12:45:12 -04:00 |
|
Patrick Thomson
|
75215da112
|
document liftComparison
|
2018-03-13 12:44:24 -04:00 |
|
Rob Rix
|
40adaf2b3b
|
Move require/load from Data.Abstract.Evaluatable to Control.Abstract.Analysis.
|
2018-03-13 12:42:33 -04:00 |
|
Patrick Thomson
|
fb67b923f5
|
merge cruft and rework ordering -> int mapping
|
2018-03-13 12:41:40 -04:00 |
|
Rob Rix
|
0956d571b8
|
🔥 redundant MonadValue constraints on require/load.
|
2018-03-13 12:39:22 -04:00 |
|
Patrick Thomson
|
bbda9bdbbc
|
Merge remote-tracking branch 'origin/master' into while-evaluation
|
2018-03-13 12:33:20 -04:00 |
|
Rob Rix
|
6d6d49f9c1
|
🔥 interface/environment.
|
2018-03-13 12:30:22 -04:00 |
|
Rob Rix
|
0b96b5e987
|
Get the global environment instead of pulling it from the value type.
|
2018-03-13 12:30:17 -04:00 |
|
Patrick Thomson
|
1590210ae3
|
Merge remote-tracking branch 'origin/master' into while-evaluation
|
2018-03-13 12:30:10 -04:00 |
|
Patrick Thomson
|
9ff28c4434
|
Merge pull request #1547 from github/boolean-arithmetic-evaluation
Implement evaluation over Arithmetic and Boolean operations.
|
2018-03-13 12:29:34 -04:00 |
|
Rob Rix
|
ee65c191bd
|
Don’t modify the environment in the monad.
|
2018-03-13 12:29:17 -04:00 |
|
Patrick Thomson
|
2bcc40edc1
|
generalize while and dowhile
|
2018-03-13 12:25:57 -04:00 |
|
Rob Rix
|
1572445844
|
Use RequiredEffects to tidy up the type signatures of evaluate /evaluates .
|
2018-03-13 12:21:17 -04:00 |
|
Patrick Thomson
|
74f3eb249b
|
fix error printing
|
2018-03-13 12:19:26 -04:00 |
|
Patrick Thomson
|
53ff529822
|
Merge remote-tracking branch 'origin/master' into boolean-arithmetic-evaluation
|
2018-03-13 12:14:59 -04:00 |
|
Patrick Thomson
|
4d7b683f6c
|
rename au and kill evalToBool
|
2018-03-13 12:14:26 -04:00 |
|
Rob Rix
|
a93c75f8a2
|
Evaluate [] using Imperative & foldMap1.
|
2018-03-13 12:05:11 -04:00 |
|
Rob Rix
|
6f10d8aa83
|
Evaluate Module and Program using Imperative.
|
2018-03-13 12:04:48 -04:00 |
|
Patrick Thomson
|
3c5ab01f95
|
implement while and dowhile
|
2018-03-13 12:04:24 -04:00 |
|
Rob Rix
|
f709237e37
|
Depend on semigroupoids for Foldable1.
|
2018-03-13 11:58:54 -04:00 |
|
Rob Rix
|
2e0244c215
|
Extend the local environment, to retain parameters.
|
2018-03-13 11:50:50 -04:00 |
|
Rob Rix
|
030c23c7f8
|
foldMap makes this a lot easier to reason about.
|
2018-03-13 11:50:04 -04:00 |
|
Patrick Thomson
|
2a68fbdb17
|
implement the generalized comparison operator
|
2018-03-13 11:42:49 -04:00 |
|
Rob Rix
|
51514f1e52
|
Simplify bindEnv using the Reducer instance.
|
2018-03-13 11:34:30 -04:00 |
|
Rob Rix
|
3f18765cd5
|
Derive a Reducer instance for Environment.
|
2018-03-13 11:30:03 -04:00 |
|
Rob Rix
|
83376c7277
|
🔥 envUnion.
|
2018-03-13 11:27:46 -04:00 |
|