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

26620 Commits

Author SHA1 Message Date
joshvera
6af58e5f92 Rename LookupError/LookupPathError to LookupAddressError/LookupLinkError 2018-11-08 12:54:25 -05:00
Josh Vera
0edad11aef Merge branch 'master' into streamline-toc-summaries 2018-11-08 11:59:56 -05:00
Josh Vera
e1c4babe14 Merge pull request #2255 from github/playbook-updates
Update docs, no longer on breadsticks
2018-11-08 11:59:46 -05:00
Josh Vera
b8dd829d7d Merge branch 'master' into playbook-updates 2018-11-08 11:54:34 -05:00
Josh Vera
66529eff7c Merge pull request #2230 from github/add-explicit-assignment-timeout
Add SEMANTIC_ASSIGNMENT_TIMEOUT environment variable.
2018-11-08 11:54:02 -05:00
Timothy Clem
57f284f847 Streamline the declarations for toc summaries 2018-11-08 08:33:26 -08:00
joshvera
7ef7732f9d Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-11-08 11:18:25 -05:00
Josh Vera
ebb380f427 Merge branch 'master' into add-explicit-assignment-timeout 2018-11-08 11:18:02 -05:00
Timothy Clem
d722e04550 Merge pull request #2249 from github/docstrings-round2
New approach to generating tags/symbols output
2018-11-08 07:55:02 -08:00
Rick Winfrey
1cfd61ca0a Fixup a few more tests 2018-11-07 16:29:33 -08:00
Rick Winfrey
ca0508c471 Export lookupDeclaration 2018-11-07 16:29:11 -08:00
Rick Winfrey
05c85c30e2 Add lookupDeclaration in Data.Abstract.Heap
This allows us to retrieve a frame address and position with which we can inspect slot values accordingly
2018-11-07 16:23:06 -08:00
joshvera
0c35a8a95c Start fixing up tests
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 18:27:56 -05:00
Rick Winfrey
6e934d83d9 Merge branch 'master' into add-explicit-assignment-timeout 2018-11-07 13:49:02 -08:00
joshvera
a49b7f5440 Add lookupFrameAddress to Heap
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 15:56:20 -05:00
Timothy Clem
8c0dd6d3b5 Just return the first line if function defs span multiple lines 2018-11-07 11:48:50 -08:00
joshvera
f51d3a90a8 Run ScopeGraph and Heap in tests
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 14:09:18 -05:00
joshvera
1a6d7e77f3 Remove EnvironmentError from Evaluator/Spec
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 14:09:01 -05:00
joshvera
79186be933 reassociate 8 Eithers
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 14:08:45 -05:00
joshvera
cbf2280211 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-11-07 12:20:20 -05:00
Rick Winfrey
0530153780 No need for top level heap
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-06 17:12:27 -08:00
Rick Winfrey
6500f4de53 Keep Heap state around rather than discarding it
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-06 17:11:28 -08:00
Rick Winfrey
657b2db1fd Parameterize ModuleResult by Heap
We think it'll be helpful to keep the Heap around when we evaluate a Module

Co-Authored-By: Josh Vera <vera@github.com>
2018-11-06 17:06:08 -08:00
Rick Winfrey
1d7b6502ff Fix warning
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-06 16:38:42 -08:00
Rick Winfrey
f8380e2583 Add show for debugging
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-06 16:37:55 -08:00
Timothy Clem
24544863f7 Handle comments inside of selectorExpressions in Go 2018-11-06 13:36:24 -08:00
Rick Winfrey
7eddec8521 Merge branch 'master' into heap-frames 2018-11-06 11:26:39 -08:00
joshvera
2958d2578e Return currentFrame in Maybe
and throw CurrentFrameError and CurrentScopeError in terms that require a current scope and frame

Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-06 13:43:14 -05:00
joshvera
e561bf1da7 Add declaration to LookupPathError
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-06 13:05:10 -05:00
joshvera
fdad4295a0 Don't define a prelude of TypeScript atm
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-06 13:04:49 -05:00
Timothy Clem
343289f1c5 Merge remote-tracking branch 'origin/master' into docstrings-round2 2018-11-06 09:17:49 -08:00
Patrick Thomson
221bfd89bc Merge pull request #2251 from github/revisit-matching
Give Control.Matching API better ergonomics.
2018-11-06 11:26:14 -05:00
joshvera
e6cf810822 Merge remote-tracking branch 'origin/master' into heap-frames 2018-11-06 11:26:11 -05:00
Timothy Clem
a297d15f47 Fix for comments in expressions with python assignment changes 2018-11-06 08:01:33 -08:00
joshvera
1818a74060 Return ValueRef everywhere 2018-11-05 19:43:14 -05:00
joshvera
11a64f043e return value refs 2018-11-05 17:25:51 -05:00
joshvera
7ed1521ad6 use raiseHandler for runState calls 2018-11-05 17:08:37 -05:00
joshvera
0d9fc6a24a Remove Span constraints 2018-11-05 17:08:26 -05:00
joshvera
f6ffb8904f move type signatures from effects to sig 2018-11-05 17:07:59 -05:00
Patrick Thomson
bdc5db555b rename and prune 2018-11-05 16:56:49 -05:00
Timothy Clem
e14f59b165 Re-generate test with addition of statements in python assignment 2018-11-05 13:12:50 -08:00
joshvera
2a90f1d13f fix type param 2018-11-05 16:11:51 -05:00
joshvera
5186b394e8 run scope graph and heap effects in evaluate 2018-11-05 16:11:45 -05:00
joshvera
28dff57ddb return ScopeGraph from doRequire 2018-11-05 16:11:28 -05:00
joshvera
1020f6dc61 use withLexicalScopeAndFrame in Statements 2018-11-05 16:11:16 -05:00
joshvera
f2754368cb If evaluatable instance returns a ValueRef 2018-11-05 16:11:04 -05:00
joshvera
63aa9da7f6 return undefined from Class instance 2018-11-05 16:10:42 -05:00
joshvera
fc426a9793 fix type constraints 2018-11-05 16:10:31 -05:00
joshvera
c9501897a1 Construct frame from Closure scope in Abstract.Call 2018-11-05 16:10:21 -05:00
joshvera
faffb3098e add heap semantics to BuiltIn 2018-11-05 16:10:04 -05:00