Patrick Thomson
|
1ba38e3e57
|
Merge remote-tracking branch 'origin/master' into term-rewriting-mk2
|
2018-09-17 18:31:44 -04:00 |
|
Rob Rix
|
e2bd55950d
|
Widen the heap.
|
2018-09-17 15:38:21 -04:00 |
|
Timothy Clem
|
edf66f9b98
|
Go has a new Identifier''
|
2018-09-17 11:22:18 -07:00 |
|
joshvera
|
82b6b7c52e
|
Don't construct new scopes for every local assignment
Only construct a new scope for a local assignment if its rhs has an associated scope.
|
2018-09-17 13:29:50 -04:00 |
|
joshvera
|
659c51305f
|
remove comment
|
2018-09-17 13:28:50 -04:00 |
|
joshvera
|
7e33afef4f
|
Remove comments
|
2018-09-17 13:15:20 -04:00 |
|
joshvera
|
2d071e5090
|
Remove Data.Abstract.Frame for now
|
2018-09-17 13:05:24 -04:00 |
|
Timothy Clem
|
883d4586c0
|
TypeScript fixes for more type identifiers
|
2018-09-17 09:48:47 -07:00 |
|
Timothy Clem
|
e8298a6e1e
|
TypeScript Identifier''
|
2018-09-17 09:30:13 -07:00 |
|
Timothy Clem
|
31f019cb65
|
Ruby assignment changes to support then
|
2018-09-17 09:29:37 -07:00 |
|
joshvera
|
5c96b3d6d7
|
Merge remote-tracking branch 'origin/master' into scopes-and-frames
|
2018-09-17 12:08:27 -04:00 |
|
Patrick Thomson
|
3c33b42031
|
fix lints, again
|
2018-09-17 11:33:48 -04:00 |
|
Patrick Thomson
|
d0d1350a42
|
add test code
|
2018-09-17 11:12:57 -04:00 |
|
joshvera
|
4e28c3aa0c
|
Cover all New cases
|
2018-09-14 18:50:22 -04:00 |
|
joshvera
|
7d287a8ca7
|
Remove declaration free variable
and clean up lints
|
2018-09-14 18:35:11 -04:00 |
|
joshvera
|
8bc8b196a2
|
docs
|
2018-09-14 18:25:24 -04:00 |
|
joshvera
|
8e1e9579da
|
lints
|
2018-09-14 18:16:54 -04:00 |
|
joshvera
|
a4f84f4371
|
Remove scratch Scope file
|
2018-09-14 18:14:34 -04:00 |
|
joshvera
|
b70dd31027
|
Fix Declarations1 MemberAccess instance
|
2018-09-14 18:14:02 -04:00 |
|
joshvera
|
eb71b512b3
|
Fix test type errors
|
2018-09-14 18:04:08 -04:00 |
|
joshvera
|
41881f3057
|
Add edges to superclasses
|
2018-09-14 17:06:26 -04:00 |
|
Timothy Clem
|
d2524e194d
|
Merge branch 'master' into assignment-timeout
|
2018-09-14 14:03:37 -07:00 |
|
Timothy Clem
|
aea6e81ad7
|
This can use our timeout effect now
|
2018-09-14 14:01:15 -07:00 |
|
Timothy Clem
|
d16c07dfc6
|
Refine our Duration api
|
2018-09-14 13:50:02 -07:00 |
|
joshvera
|
ce2263d5e5
|
Set a declaration's scope on assignment
|
2018-09-14 15:12:29 -04:00 |
|
Patrick Thomson
|
b8b8fe01c9
|
port over Control.Rewriting
|
2018-09-14 12:47:21 -04:00 |
|
joshvera
|
d19b861cbe
|
Eval instance for New
|
2018-09-14 11:35:43 -04:00 |
|
joshvera
|
c61c592ef6
|
Prefer import edges over parent edges
|
2018-09-13 18:27:19 -04:00 |
|
Timothy Clem
|
a6ce4f672f
|
Docs and sort out a common Duration datatype
|
2018-09-13 14:51:32 -07:00 |
|
joshvera
|
0cdbd1e51d
|
Run a statements children within its scope
|
2018-09-13 17:46:59 -04:00 |
|
joshvera
|
442fe39725
|
Run the class's children in its scope
|
2018-09-13 17:46:46 -04:00 |
|
joshvera
|
8d89393e49
|
Add Ord constraint
|
2018-09-13 17:46:25 -04:00 |
|
joshvera
|
423a82481d
|
Pass an action to create so we can pop child scopes off
|
2018-09-13 17:42:18 -04:00 |
|
joshvera
|
cc994b0af9
|
Make currentScope optional so we can have empty graphs
|
2018-09-13 17:41:58 -04:00 |
|
joshvera
|
f902cac04f
|
Use an empty graph when resuming a load error
|
2018-09-13 17:41:45 -04:00 |
|
Timothy Clem
|
8cd50358be
|
Align
|
2018-09-13 14:20:58 -07:00 |
|
Timothy Clem
|
7e1c7a1c84
|
Timeout effect
|
2018-09-13 14:20:42 -07:00 |
|
Timothy Clem
|
18249a0a19
|
Merge branch 'master' into array-initializer-children
|
2018-09-13 12:54:50 -07:00 |
|
Patrick Thomson
|
39d79fb882
|
remove boolean blindness
|
2018-09-13 15:18:24 -04:00 |
|
Timothy Clem
|
b78abb48da
|
Need to match children of ArrayInitializer
|
2018-09-13 10:45:27 -07:00 |
|
joshvera
|
82db9f805e
|
Emit Statements syntaxes for statementBlock in TypeScript
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-09-12 20:45:38 -04:00 |
|
joshvera
|
360a9b0317
|
Store the Span of last evaluated child term in a State
So we can declare a child term's range in the scope graph when a declaration occurs.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-09-12 19:56:02 -04:00 |
|
joshvera
|
d6e98cc08a
|
Add class declarations to the scope graph
|
2018-09-12 17:01:12 -04:00 |
|
joshvera
|
95ac3655cb
|
add helper functions
|
2018-09-12 16:28:39 -04:00 |
|
joshvera
|
d5926dfabf
|
don't specialize to Name
|
2018-09-12 16:22:23 -04:00 |
|
joshvera
|
daa64439f3
|
simplify
|
2018-09-12 16:19:26 -04:00 |
|
joshvera
|
0cdb6f9707
|
Add scope graph to ModuleResult
|
2018-09-12 12:48:58 -04:00 |
|
Patrick Thomson
|
34a5dc76a6
|
unused modules
|
2018-09-12 12:34:19 -04:00 |
|
Patrick Thomson
|
c15be1c39d
|
stylish-haskell
|
2018-09-12 12:33:02 -04:00 |
|
Patrick Thomson
|
fd4abae735
|
typos
|
2018-09-12 12:28:58 -04:00 |
|
Patrick Thomson
|
47f6c1beb1
|
Share helper functions between Ruby and Python pretty-printer.
|
2018-09-12 12:23:00 -04:00 |
|
Patrick Thomson
|
7129435dc8
|
Merge remote-tracking branch 'origin/master' into simplify-reprinter
also incorporates a number of changes. oops.
|
2018-09-12 12:14:01 -04:00 |
|
joshvera
|
ba3ae715fe
|
Store Spans in the scope graph
|
2018-09-12 11:51:17 -04:00 |
|
Patrick Thomson
|
a6b9b3624d
|
Rename the Fragment constructor to Run
|
2018-09-12 11:51:14 -04:00 |
|
Patrick Thomson
|
d6eaae9555
|
further cleanup and refinement of tests
|
2018-09-12 11:46:41 -04:00 |
|
Patrick Thomson
|
d95d2a453e
|
move compile
|
2018-09-12 11:22:09 -04:00 |
|
joshvera
|
a6f300813a
|
Allow creating scopes
|
2018-09-12 11:11:14 -04:00 |
|
joshvera
|
3d480ee358
|
brackets
|
2018-09-12 10:16:52 -04:00 |
|
joshvera
|
aa403de87a
|
Implement adding references to declarations
|
2018-09-11 20:01:51 -04:00 |
|
Patrick Thomson
|
a65b436775
|
Simplify contextualizing .
|
2018-09-11 19:00:05 -04:00 |
|
Patrick Thomson
|
0802e0a9f2
|
Use a deep embedding for Tokenize.
|
2018-09-11 18:54:37 -04:00 |
|
Timothy Clem
|
06029f2be6
|
Rename to source/target for consistently
|
2018-09-11 15:29:24 -07:00 |
|
joshvera
|
287a7e8b7f
|
Add declare to ScopeEnv
|
2018-09-11 18:24:23 -04:00 |
|
Timothy Clem
|
4dedb928b2
|
New command line flag json-graph
|
2018-09-11 15:20:19 -07:00 |
|
Timothy Clem
|
77d296c5f1
|
Call error here instead of undefined
|
2018-09-11 15:19:02 -07:00 |
|
Timothy Clem
|
177ce176e4
|
More extra imports
|
2018-09-11 11:33:59 -07:00 |
|
Timothy Clem
|
b9e2491d74
|
Extra space
|
2018-09-11 10:56:04 -07:00 |
|
Timothy Clem
|
0eff6f70ad
|
Remove these specialized diff functions
|
2018-09-11 10:49:56 -07:00 |
|
Timothy Clem
|
3bb5a8ea39
|
Remove extra import
|
2018-09-11 10:40:52 -07:00 |
|
Timothy Clem
|
2e48678e6b
|
Rework diff grpc api as well, enable for all supported langauges
|
2018-09-11 10:32:29 -07:00 |
|
Timothy Clem
|
f8f85d17f0
|
Fix warnings
|
2018-09-11 07:53:18 -07:00 |
|
Timothy Clem
|
2a0f69f225
|
Extra import
|
2018-09-11 07:30:23 -07:00 |
|
Timothy Clem
|
b985b15552
|
Always with the lints
|
2018-09-10 17:32:58 -07:00 |
|
Timothy Clem
|
8096bfc8f7
|
Annotations in adj list rep (grpc)
|
2018-09-10 17:28:42 -07:00 |
|
Timothy Clem
|
64ca4e2c67
|
Clean up the cleanup
|
2018-09-10 17:15:46 -07:00 |
|
joshvera
|
3fa0a07585
|
add a ScopeEnv effect
|
2018-09-10 18:50:51 -04:00 |
|
joshvera
|
1eac23ce2e
|
Don't parameterize scopes by name
|
2018-09-10 18:50:40 -04:00 |
|
Timothy Clem
|
6b3401eb96
|
Lints
|
2018-09-10 15:50:24 -07:00 |
|
Timothy Clem
|
2c9407757f
|
Turn on the rest of our langauges for grpc parse trees
|
2018-09-10 15:38:37 -07:00 |
|
joshvera
|
a1a2df1241
|
Implement scope graphs
|
2018-09-10 16:17:57 -04:00 |
|
Timothy Clem
|
c806be4cfc
|
Clean up, expand grpc support to larger language list
|
2018-09-10 11:43:42 -07:00 |
|
Timothy Clem
|
38e3cba57a
|
Messy, but working multi-lang grpc parsing
|
2018-09-10 11:15:52 -07:00 |
|
Timothy Clem
|
8d4eab66b9
|
Remove comment
|
2018-09-07 17:10:18 -07:00 |
|
joshvera
|
448d94aa8f
|
add deleting and heap sizes
|
2018-09-07 19:46:07 -04:00 |
|
joshvera
|
31040fa553
|
add frame insertion
|
2018-09-07 18:55:51 -04:00 |
|
Timothy Clem
|
636b393b80
|
Sort out inclusion of Java and Go in grpc
|
2018-09-07 15:12:47 -07:00 |
|
joshvera
|
6c9392514b
|
Look up the declaration one frame up
|
2018-09-07 18:01:07 -04:00 |
|
joshvera
|
7e56ae520d
|
Implement frames
|
2018-09-07 17:53:18 -04:00 |
|
Timothy Clem
|
3ff2861fe5
|
Record fields for syntaxes and needed PB deriving
|
2018-09-07 14:21:42 -07:00 |
|
Timothy Clem
|
88c90521be
|
Cleanup
|
2018-09-07 14:20:56 -07:00 |
|
Timothy Clem
|
7905b0e26d
|
Do not need these anymore
|
2018-09-07 14:20:44 -07:00 |
|
Timothy Clem
|
2c8df30476
|
Move specialized parsing around, implement more of grpc handler
|
2018-09-07 11:25:19 -07:00 |
|
Timothy Clem
|
2cca3875f6
|
First pass at working term adj graphs in grpc
|
2018-09-07 08:59:41 -07:00 |
|
Timothy Clem
|
a15155c4da
|
Basics of TermVertex in grpc
|
2018-09-06 17:27:13 -07:00 |
|
Timothy Clem
|
4bcd440c98
|
Dial in id vs description a bit, fix embedding of span
|
2018-09-06 16:46:27 -07:00 |
|
Timothy Clem
|
edc1b229db
|
Sort out Span and Pos Message instances
|
2018-09-06 16:29:55 -07:00 |
|
Timothy Clem
|
b29c3a57ae
|
Fix Message instances for Span and Position
|
2018-09-06 15:12:31 -07:00 |
|
Timothy Clem
|
f0d164f952
|
Rework control flow graph data types
|
2018-09-06 15:12:12 -07:00 |
|
Timothy Clem
|
e3f20f6903
|
Implement adj list diff tree JSON responses
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
|
2018-09-05 15:08:58 -07:00 |
|
Timothy Clem
|
18c0554864
|
Docs
|
2018-09-05 12:29:08 -07:00 |
|
Timothy Clem
|
7ccabb06ed
|
Use trees key to get error messages working for free
|
2018-09-05 12:29:04 -07:00 |
|
Timothy Clem
|
018f78bd42
|
Enable toEncoding as well
|
2018-09-05 12:28:44 -07:00 |
|
Timothy Clem
|
e788ed9baa
|
First pass at returning adjacency graphs (JSON) as an alternative to trees
|
2018-09-05 11:13:35 -07:00 |
|
joshvera
|
3ccdbdb692
|
Merge remote-tracking branch 'origin/master' into scopes-and-frames
|
2018-09-05 12:54:45 -04:00 |
|
joshvera
|
01af82bf53
|
WIP
|
2018-09-04 12:43:14 -04:00 |
|
Timothy Clem
|
18140cd1e6
|
Merge branch 'master' into partial-results
|
2018-08-30 13:12:53 -07:00 |
|
Timothy Clem
|
bec7e0ea88
|
Not needed
|
2018-08-30 11:45:24 -07:00 |
|
Timothy Clem
|
a96d8cad29
|
Include full SomeException and extend to other grp languge parsers
|
2018-08-30 10:18:25 -07:00 |
|
Timothy Clem
|
f792b93b89
|
Include more info in ParserTimedOut
|
2018-08-30 10:17:59 -07:00 |
|
Timothy Clem
|
d38e453a05
|
gRPC parse interface also returns partial results (ruby only)
|
2018-08-29 14:29:32 -07:00 |
|
Timothy Clem
|
28b45b71d8
|
WIP - Return partial results from json parse blobs
|
2018-08-29 13:41:47 -07:00 |
|
joshvera
|
3d412f7d9e
|
Add ScopeGraph
|
2018-08-29 13:47:44 -04:00 |
|
Timothy Clem
|
34648a263a
|
Merge branch 'master' into source-aware-reprinter
|
2018-08-28 11:34:53 -07:00 |
|
Timothy Clem
|
dea20b884f
|
Not using these vars
|
2018-08-28 10:38:51 -07:00 |
|
Timothy Clem
|
071d91f494
|
A typesetting that shows whitespace for help debugging
|
2018-08-28 10:32:43 -07:00 |
|
Timothy Clem
|
a923fb0938
|
Reworking space v tabs
|
2018-08-28 10:32:32 -07:00 |
|
Timothy Clem
|
0adb827343
|
Small docs fixes
|
2018-08-28 10:32:03 -07:00 |
|
Timothy Clem
|
0931fc81f2
|
Add a simple roundtrip spec for python printing
|
2018-08-28 10:31:54 -07:00 |
|
Timothy Clem
|
16f6728d65
|
Get the ~> all headed in the same direction
|
2018-08-28 09:47:31 -07:00 |
|
Timothy Clem
|
5da417d01c
|
Some basic pretty printing for mini Python
|
2018-08-28 09:14:48 -07:00 |
|
Timothy Clem
|
4d8050d450
|
Clean up MiniRuby assignment naming
|
2018-08-28 09:13:56 -07:00 |
|
Timothy Clem
|
2c71853c39
|
Fix minipython parser
|
2018-08-28 09:13:43 -07:00 |
|
Timothy Clem
|
2208860f08
|
Some new re-writing utils for python testing
|
2018-08-28 09:13:07 -07:00 |
|
Timothy Clem
|
8759225ac7
|
A mini-python
|
2018-08-28 09:12:29 -07:00 |
|
Timothy Clem
|
57f32c77bd
|
MiniRuby in its own module
|
2018-08-27 15:06:51 -07:00 |
|
Timothy Clem
|
a61a8c7f87
|
Remove commented out code
|
2018-08-27 14:53:55 -07:00 |
|
Timothy Clem
|
5a59847d64
|
Better docs
|
2018-08-27 14:53:45 -07:00 |
|
Timothy Clem
|
9c673e2fcb
|
s/TranslationException/TranslationError
|
2018-08-27 14:51:39 -07:00 |
|
joshvera
|
a275c9fabd
|
format
|
2018-08-27 13:34:56 -04:00 |
|
joshvera
|
9af54f9625
|
lints
|
2018-08-27 13:27:46 -04:00 |
|
joshvera
|
22694080ac
|
Cleanup parseModule
|
2018-08-27 13:20:19 -04:00 |
|
joshvera
|
1cb35c5f35
|
Integrate into call graph and import graph
|
2018-08-27 13:14:49 -04:00 |
|
joshvera
|
6b8c0c0f06
|
Merge remote-tracking branch 'origin/master' into entry-points
|
2018-08-27 12:49:47 -04:00 |
|
joshvera
|
bc6614aa12
|
Merge remote-tracking branch 'origin/master' into entry-points
|
2018-08-27 12:05:20 -04:00 |
|
Timothy Clem
|
2cb6479797
|
Merge branch 'master' into source-aware-reprinter
|
2018-08-27 08:10:42 -07:00 |
|
Timothy Clem
|
d697c17626
|
Just lining things up
|
2018-08-24 15:26:09 -07:00 |
|
Timothy Clem
|
9a347c9d27
|
Tokenize and print subtraction as well
|
2018-08-24 14:07:49 -07:00 |
|
Timothy Clem
|
c8d6cab47f
|
Dedicated datatype for symbols
|
2018-08-24 14:00:59 -07:00 |
|
Timothy Clem
|
c124a306a3
|
Lints
|
2018-08-24 11:18:45 -07:00 |
|
Timothy Clem
|
1bb0e3c149
|
Handle printing binary multiplication with precedence!
|
2018-08-24 10:59:09 -07:00 |
|
Timothy Clem
|
b1c4ceceb0
|
WIP - support reprinting of binaries
|
2018-08-24 10:36:27 -07:00 |
|
Timothy Clem
|
46ea14b856
|
Re-order
|
2018-08-24 10:36:03 -07:00 |
|
Timothy Clem
|
e9e8edbebe
|
Dedicated util for rewriting
|
2018-08-24 10:35:38 -07:00 |
|
Timothy Clem
|
f183a15094
|
Spacing
|
2018-08-24 10:35:25 -07:00 |
|
Rick Winfrey
|
63ed17bad8
|
Merge branch 'master' into set-timeout-as-env-var
|
2018-08-24 10:18:50 -07:00 |
|
Rob Rix
|
5684b2ee5b
|
Merge branch 'master' into boolean-value-effect
|
2018-08-24 09:15:56 -04:00 |
|
Timothy Clem
|
d2a4257f94
|
Get rid of the underscore names
|
2018-08-23 16:38:42 -07:00 |
|
Timothy Clem
|
3f0b1e678f
|
New names ftw
|
2018-08-23 16:10:32 -07:00 |
|
Timothy Clem
|
91210dbc42
|
s/runOnce/stepMatcher
|
2018-08-23 15:53:43 -07:00 |
|
Timothy Clem
|
17fbceb17a
|
Remove need for lens
|
2018-08-23 15:53:43 -07:00 |
|