1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 10:27:45 +03:00
Commit Graph

27011 Commits

Author SHA1 Message Date
joshvera
96badd080f fix this test
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 18:48:23 -05:00
joshvera
65a8949a06 Fix the shape of scope and heap outputs in testEvaluating
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 18:47:10 -05:00
joshvera
456efeca9d Change the order of ModuleResult 2018-11-28 17:27:42 -05:00
joshvera
49b4a1494f Remove currentFrame from Heap 2018-11-28 17:10:35 -05:00
joshvera
8dd5a7e295 WIP remove current scope and frame from Heap and ScopeGraph
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 13:31:40 -05:00
joshvera
d32019f726 docs
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 12:33:50 -05:00
joshvera
bd0adfc986 Move runAllocator and moduleInfo reader to evalModule from runInModule
So we can initialize scopes and frames for modules in evalModule

Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-11-28 12:19:15 -05:00
joshvera
a394be553e Revert "Surgery on evaluate (almost there!)"
This reverts commit c080f961dca8ffc535e6155005b1c50abda94478.
2018-11-28 12:04:20 -05:00
Rick Winfrey
dea848f1ea Surgery on evaluate (almost there!)
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:19:54 -08:00
Rick Winfrey
b96c32ae9c Add AbstractHole for scope and frame addresses
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:19:36 -08:00
Rick Winfrey
817aa6550b Run allocator effect globally
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:19:13 -08:00
Rick Winfrey
999ef65221 Add Reader effect
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:18:46 -08:00
Rick Winfrey
f4dd062f51 Update Ruby Syntax to take scope and frame addresses
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:18:36 -08:00
Rick Winfrey
9b93fcd69b No longer using bindAll or ScopeError
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:18:14 -08:00
Rick Winfrey
b7bd00b682 Update Go syntax to take scope and frame addresses
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:17:57 -08:00
Rick Winfrey
124c7593f4 Handle scope and frame edges
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:17:00 -08:00
Rick Winfrey
93b06f9a58 🔥 unnecessary constraint
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 17:16:08 -08:00
Rick Winfrey
68a5978c0a Fix up PHP evaluatable instances
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:49:08 -08:00
Rick Winfrey
92b5d82cfb Update Python QualifiedImport for scope / frames
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:42:07 -08:00
Rick Winfrey
f74b7810cd Handle RelativeQualifiedName Python imports for scopes / frames
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:37:38 -08:00
Rick Winfrey
c9d0c00b13 Set the correct scope when inserting import references
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:37:08 -08:00
Timothy Clem
74e3a7f499 Merge pull request #2271 from github/minor-symbols-improvements
Minor improvements to symbols output
2018-11-27 15:17:39 -08:00
Rick Winfrey
acafd59fed Use strict Map
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:12:25 -08:00
Rick Winfrey
4317960df3 Update TypeScript and JavaScript scope / frames for qualified imports
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:12:16 -08:00
Rick Winfrey
07c1b2202b Update scope graph and frame for Python imports with or without aliases
Co-Authored-By: Josh Vera <vera@github.com>
2018-11-27 15:11:46 -08:00
Rick Winfrey
0490f621b3 No longer need maybe 2018-11-27 14:14:10 -08:00
Rick Winfrey
356790b075 Add Data.Map 2018-11-27 14:13:58 -08:00
Rick Winfrey
3969261554 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-11-27 13:32:51 -08:00
Rob Rix
1d86bdb6ef Merge branch 'master' into minor-symbols-improvements 2018-11-27 15:17:05 -05:00
joshvera
b6e789fff7 Use a Reader for the scope address and frame address
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-27 14:16:27 -05:00
Rick Winfrey
d44169b6f6 Merge branch 'master' into heap-frames 2018-11-27 08:32:00 -08:00
joshvera
fd516f0573 Fix Delete test since JS delete deletes the slot 2018-11-27 11:14:21 -05:00
joshvera
2b11d7aa2a Fix up python test and function args 2018-11-26 20:07:37 -05:00
joshvera
57015e94cc Type apply value instead of address in currentFrame
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:57:19 -05:00
joshvera
c0567f50f3 Implement QualifiedImport to look things up in objects
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:56:56 -05:00
joshvera
121207965e QualifiedImport stores Strings not FilePaths
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:56:18 -05:00
joshvera
024da78987 Rename name to relPath
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:55:51 -05:00
joshvera
5084eece82 Pass prelude scope graph and heap to evalModule
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:55:29 -05:00
joshvera
87d2b68e4d Implement QualifiedImport for Go
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:55:12 -05:00
joshvera
ccb044ac6b Export scopeLookup
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:54:49 -05:00
joshvera
ff1543f434 Implement Method
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:54:37 -05:00
joshvera
e9a999b69e Eval params to names in Evaluatable Function
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:54:28 -05:00
joshvera
af0184a195 Store names as params in Closure
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-26 19:53:58 -05:00
Timothy Clem
f15851eed8 Demonstrate that we can pick out classes through ScopeResolution 2018-11-26 14:37:56 -08:00
Rob Rix
f94647cb62 Merge pull request #2270 from github/readable-integration-test-errors
Readable integration test errors
2018-11-26 16:58:11 -05:00
Timothy Clem
d90e9f0ca8 Rework to have symbolName as method 2018-11-26 13:56:43 -08:00
Timothy Clem
14600029fd Pick out delcarations for ScopeResolution and through Context better 2018-11-26 13:43:20 -08:00
Timothy Clem
e2ac46ae69 Better Show for Span 2018-11-26 13:41:55 -08:00
Rob Rix
51d5719632 Decode the bytes in Verbatim. 2018-11-26 15:19:12 -05:00
joshvera
0186178ce1 Add import across modules test back
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-11-26 13:33:28 -05:00