1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 13:21:59 +03:00
Commit Graph

19341 Commits

Author SHA1 Message Date
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
6f9a6cb6b8 Evaluatable instance for symbols.
Deferring the decision on whether to intern symbols to some later date
when we really get into the weeds re. Ruby semantics.
2018-03-13 14:45:20 -04:00
Timothy Clem
6a8cee384e Organize SpecHelper, remove unused imports 2018-03-13 11:18:05 -07:00
Timothy Clem
579a447961 Test out go import evaling 2018-03-13 11:14:55 -07:00
Timothy Clem
bbff8d45ed More spec import cleanup 2018-03-13 11:10:50 -07:00
Timothy Clem
993ae92a75 Clean up IntegrationSpec imports 2018-03-13 11:04:58 -07:00
Timothy Clem
1b79ed205e TOCSpec import cleanup 2018-03-13 10:59:20 -07:00
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