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

21093 Commits

Author SHA1 Message Date
Ayman Nadeem
b1c05d6755 Merge remote-tracking branch 'origin/master' into java-assignment 2018-05-01 10:57:21 -07:00
Ayman Nadeem
662e6b5bba bump tree-sitter-java 2018-05-01 10:45:20 -07:00
Ayman Nadeem
64620484e1 assigning generic and superclass 2018-05-01 10:44:15 -07:00
Rob Rix
7074756071 Merge pull request #1794 from github/break-the-loop
Evaluate closure bodies & imports via effects
2018-05-01 10:10:02 -04:00
Rob Rix
cc72724565 Note a TODO for the traceMs. 2018-05-01 09:29:32 -04:00
Rob Rix
4e15b94309 📝 the reason for the traceMs. 2018-05-01 09:28:44 -04:00
Rob Rix
490f11845d Merge branch 'master' into break-the-loop 2018-05-01 09:27:23 -04:00
Josh Vera
d35a58fc34 Merge pull request #1792 from github/ruby-self-class
Fix infinite loop when evaluating scoped environment lookups
2018-04-30 19:28:41 -04:00
Rob Rix
97f0bdf438 Haddock headers. 2018-04-30 18:25:43 -04:00
Rob Rix
ae7f180eb0 Correct a couple of hints. 2018-04-30 17:29:31 -04:00
Rob Rix
ce8258fe2c Merge branch 'master' into break-the-loop 2018-04-30 17:19:01 -04:00
Josh Vera
753f8b0367 Merge branch 'master' into ruby-self-class 2018-04-30 17:13:22 -04:00
Rob Rix
81a69905a4 Revert "Module table entries have to be non-empty."
This reverts commit 9a5e83caec105358018b05c75095743cbbe80905.
2018-04-30 17:13:03 -04:00
Rob Rix
7c9c975071 Module table entries have to be non-empty. 2018-04-30 17:11:34 -04:00
Rob Rix
405c12f574 Records can have lower bounds. 2018-04-30 17:07:18 -04:00
Rob Rix
890e6df098 Ranges and Spans have lower bounds. 2018-04-30 17:07:01 -04:00
Patrick Thomson
54544033e1 Merge pull request #1793 from github/array-indexing
Add support for array indexing.
2018-04-30 17:04:05 -04:00
Patrick Thomson
713b3ac290 Ensure we can typecheck tuple accesses. 2018-04-30 16:56:50 -04:00
Patrick Thomson
ed4ef49b70 Address Josh's comments. 2018-04-30 16:53:22 -04:00
Rob Rix
2885698962 🔥 throwLoadError. 2018-04-30 16:41:03 -04:00
Rob Rix
216b414995 LoadError doesn’t need a type parameter for the value. 2018-04-30 16:40:27 -04:00
Rob Rix
5e4745f412 Don’t export throwLoadError. 2018-04-30 16:35:50 -04:00
Rob Rix
b25c78c1a9 Weaken MonadEvaluatable to MonadEvaluator. 2018-04-30 16:32:48 -04:00
Rob Rix
b435188b2c Generalize isolate. 2018-04-30 16:32:04 -04:00
Rob Rix
e738e91fa8 🔥 redundant constraints. 2018-04-30 16:31:25 -04:00
Patrick Thomson
2067fb7459 lints 2018-04-30 16:29:39 -04:00
Rob Rix
668adb6ba1 Generalize the load & require signatures. 2018-04-30 16:25:19 -04:00
Rob Rix
38644242de Generalize the loadWith & requireWith signatures. 2018-04-30 16:23:43 -04:00
Rob Rix
e27541a7d8 Load & require use an EvalModule effect. 2018-04-30 16:20:54 -04:00
Patrick Thomson
25813e00e0 whitespace 2018-04-30 16:19:17 -04:00
Patrick Thomson
214045dd98 Add support for array indexing.
To test:

```ruby
x = [1,2,3]
x[2]
```

should yield 3.
2018-04-30 16:13:19 -04:00
joshvera
76499cd684 Remove redundant brackets 2018-04-30 15:56:38 -04:00
joshvera
dfd669a720 Merge remote-tracking branch 'origin/master' into ruby-self-class 2018-04-30 15:55:51 -04:00
Rob Rix
09ddbc1862 📝 EvalClosure. 2018-04-30 15:51:28 -04:00
Rob Rix
25eafb5c53 Rename Eval to EvalClosure. 2018-04-30 15:50:05 -04:00
joshvera
54d2b5a41e Factor out evaluateInScopedEnv 2018-04-30 15:48:49 -04:00
Rob Rix
103297c5e0 Break the dependency of Value’s MonadValue instance on MonadEvaluatable. 2018-04-30 15:45:12 -04:00
Rob Rix
74ddc8da2e Rename evaluateTerm to evaluateClosureBody. 2018-04-30 15:37:19 -04:00
joshvera
47bcf721ad Replace ScopedEnvironmentError with EnvironmentLookupError 2018-04-30 15:33:32 -04:00
Rob Rix
7e2d181e66 Decouple evaluation of closure bodies from Evaluatable. 2018-04-30 15:23:17 -04:00
Rob Rix
877b2ed06e Generalize analyzeTerm & analyzeModule to allow the outer effects to differ. 2018-04-30 15:12:19 -04:00
Rob Rix
93522f2ac3 Rename throwReturn to earlyReturn. 2018-04-30 14:52:10 -04:00
Rob Rix
57389da2c9 Add a test that we pass arguments correctly. 2018-04-30 14:50:16 -04:00
Rob Rix
fab6a80b61 🔥 throwException & catchException. 2018-04-30 14:25:26 -04:00
Rob Rix
49ec462e52 🔥 the Semigroup instance for EvaluatorState. 2018-04-30 14:23:37 -04:00
Rob Rix
013b5cb4b7 Merge branch 'master' into analyses-provide-and-handle-effects 2018-04-30 14:22:09 -04:00
Rob Rix
01d16b1542 Rename lower to lowerBound. 2018-04-30 14:11:16 -04:00
Rob Rix
545697c586 Merge pull request #1783 from github/caller-origin
Push origin when evaluating a closure
2018-04-30 13:34:18 -04:00
joshvera
3be662bf3c add docs 2018-04-30 12:25:45 -04:00
joshvera
0b4763643d haddock comment 2018-04-30 12:19:54 -04:00