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

19611 Commits

Author SHA1 Message Date
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
Patrick Thomson
ac3a79ccbf change liftNumeric to be over Values 2018-03-13 11:21:05 -04:00
Patrick Thomson
807be3af29 Merge remote-tracking branch 'origin/master' into boolean-arithmetic-evaluation 2018-03-13 11:19:14 -04:00
Ayman Nadeem
c165d2ec2e Merge branch 'master' into why-tree-sitter 2018-03-13 08:16:41 -07:00
Patrick Thomson
a36ce7e4e3 change liftNumeric to be over Values 2018-03-13 11:16:07 -04:00
Rob Rix
d136112abe Use putGlobalEnv instead of modifyGlobalEnv with const. 2018-03-13 11:08:25 -04:00
Patrick Thomson
03fccbde97 Merge remote-tracking branch 'origin/master' into while-evaluation 2018-03-13 11:00:57 -04:00
Rob Rix
e92ff5225a Merge branch 'master' into garbage-collecting 2018-03-13 10:54:41 -04:00
Patrick Thomson
19aa6a7300 comparison operators 2018-03-13 10:54:26 -04:00
Rob Rix
6d40ceba39 Comment out extraRoots to silence a warning.
We’re going to need it eventually but I’m not diving all the way down this rabbit hole just yet.
2018-03-13 10:54:21 -04:00
Rob Rix
cdd7a3e6b3 Merge pull request #1553 from github/decompose-monad-evaluator
Decompose MonadEvaluator
2018-03-13 10:25:56 -04:00
Rob Rix
e1fabf863b Rename the type parameter. 2018-03-13 10:24:21 -04:00
Rob Rix
9662ac23fb Use LiveFor/CellFor to tighten up some signatures. 2018-03-13 10:23:58 -04:00
Rob Rix
93e9d04c2f ValueRoots assumes the location type from the value type. 2018-03-13 10:22:15 -04:00
Rob Rix
1c826b5d6f Define a LiveFor synonym. 2018-03-13 10:21:45 -04:00
Rob Rix
f7cb9e7098 🔥 the MonadGC interface. 2018-03-13 10:10:30 -04:00
Rob Rix
235f982c91 Define getConfiguration to use askRoots. 2018-03-13 10:06:50 -04:00
Rob Rix
55310af7a8 Fix up the MonadAnalysis instance’s constraints. 2018-03-13 10:03:09 -04:00
Rob Rix
935e213cf3 Derive the extra instances. 2018-03-13 10:03:00 -04:00
Rob Rix
fb3b76fe3c Re-enable askRoots. 2018-03-13 10:02:54 -04:00
Rob Rix
ebdeb11db0 Merge branch 'decompose-monad-evaluator' into garbage-collecting 2018-03-13 09:58:27 -04:00
Rob Rix
8f6128c6e4 Merge branch 'master' into decompose-monad-evaluator 2018-03-13 09:48:14 -04:00
Timothy Clem
69b2c5c64d Sort out spechelper again with new interfaces 2018-03-12 16:13:21 -07:00
Timothy Clem
af66a0c229 Merge remote-tracking branch 'origin/typescript-exports' into import-language-tour 2018-03-12 15:40:22 -07:00
Timothy Clem
cc4fd12428 Merge remote-tracking branch 'origin/more-typescript-imports' into typescript-exports 2018-03-12 15:37:12 -07:00
Timothy Clem
08c59a43d2 Merge remote-tracking branch 'origin/master' into typescript-exports 2018-03-12 15:30:28 -07:00
Timothy Clem
296fc5d4b5 Load up multiple files in the same package (Go) 2018-03-12 15:01:19 -07:00
Patrick Thomson
abd4e5f5ec Merge pull request #1551 from github/tuples-and-variable-declarations
Evaluatable instances for VariableDeclarations and tuple literals.
2018-03-12 17:06:50 -04:00
Patrick Thomson
ce1a3d1e78 Merge remote-tracking branch 'origin/master' into tuples-and-variable-declarations 2018-03-12 16:56:42 -04:00