1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

19330 Commits

Author SHA1 Message Date
Timothy Clem
740d092271 Whitespace 2018-03-13 10:59:06 -07:00
Timothy Clem
61edbb020a Don't clash unnecessarily with existing Language data type 2018-03-13 10:58:57 -07: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
Timothy Clem
68ec7adef3 Refine import spec imports 2018-03-13 10:32:25 -07:00
Rob Rix
3a6ed6ff0c Merge remote-tracking branch 'origin/while-evaluation' into evaluate-for-loops 2018-03-13 13:28:03 -04:00
Timothy Clem
1687c63d64 Reduce imports by relying on SpecHelpers (and Util) 2018-03-13 10:26:28 -07:00
Timothy Clem
b74ee2c12b SpecHelpers as a bit of a prologue for specs 2018-03-13 10:26:09 -07:00
Timothy Clem
a7ba614334 Clean up Util a bit 2018-03-13 10:25:34 -07:00
Timothy Clem
f1036d9365 Extra space 2018-03-13 10:25:22 -07:00
Timothy Clem
aaa008b5dd Move evaluteFiles to Util 2018-03-13 10:14:52 -07:00
Timothy Clem
9b576ac2c6 Can get away without exporting EvaluatingEffects 2018-03-13 10:14:15 -07:00
Timothy Clem
ae05ff7313 Not ready for this just yet 2018-03-13 10:13:56 -07:00
Timothy Clem
1b57a59ee5 This is Rab 2018-03-13 10:13:42 -07: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
Ayman Nadeem
e44e1028c8 Merge pull request #1554 from github/why-tree-sitter
Create why-tree-sitter.md
2018-03-13 08:23:19 -07:00
Rob Rix
c34d378759 Define a Semigroup for imperative contexts. 2018-03-13 11:22:59 -04:00