Charlie Somerville
|
a05b06dbde
|
Merge pull request #1650 from github/charliesome/ruby-locals
WIP: Implement local variable context in Ruby assignment
|
2018-04-16 17:53:43 +10:00 |
|
Charlie Somerville
|
08a6b0a2d6
|
appease hlint
|
2018-04-16 17:39:34 +10:00 |
|
Charlie Somerville
|
699e2642ff
|
allow comments in and around parameters
|
2018-04-16 17:16:14 +10:00 |
|
Charlie Somerville
|
584aa364b5
|
style cleanups
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
bdcd8fcbc3
|
ruby: implement more strict assignment for parameters
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
a81beeb125
|
ruby: register parameters as local identifier names
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
cdb5672b27
|
test: fix expected output for parse and diff cli tests
|
2018-04-16 16:19:23 +10:00 |
|
Timothy Clem
|
c6cdfc4958
|
Fix CLI specs
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
2d320fdba1
|
ruby: update test fixtures
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
c999557043
|
ruby: emit Send terms from vcallOrLocal rather than Call
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
d08c675318
|
ruby: make parameter assignment more strict in accepted symbols
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
c5be01e8a0
|
ruby: use methodSelector rather than plainIdentifier for def names
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
66720795cc
|
ruby: allow Setter symbols in methodSelector
|
2018-04-16 16:19:23 +10:00 |
|
Timothy Clem
|
024d1c362e
|
Allow ability to prioritize local identifiers for certain syntaxes
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
5ff04bebcc
|
ruby: add Assignment' type so we can remove type constraints
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
237ffea294
|
alternate with End in putRubyLocals
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
ccca1e5857
|
ruby: implement variable scoping around scoped constructs
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
437df993b5
|
ruby: pull out some duplication in block assignment
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
8dfaae81e1
|
ruby: define locals as they are encountered
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
ba99be7345
|
ruby: emit barewords that aren't defined locals as method calls
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
e6bf961c91
|
assignment: add special-cased ruby locals state
|
2018-04-16 16:19:23 +10:00 |
|
Timothy Clem
|
0b9d2e142c
|
In JavaScript, continue and break can also have trailing comments - assign them
|
2018-04-13 14:12:54 -07:00 |
|
Timothy Clem
|
224ad7297c
|
throwException if js resolution doesn't work
|
2018-04-13 14:12:31 -07:00 |
|
Timothy Clem
|
2d2d4fd38b
|
In JavaScript, continue and break can also have trailing comments - assign them
|
2018-04-13 14:12:04 -07:00 |
|
Timothy Clem
|
6e19109554
|
Make sure we properly classify .js files
|
2018-04-13 11:39:57 -07:00 |
|
Timothy Clem
|
40bf466dbb
|
Make sure we properly classify .js files
|
2018-04-13 10:58:25 -07:00 |
|
Timothy Clem
|
50f3dbae48
|
JavaScript returns can have comments even with no return expression
|
2018-04-13 10:54:30 -07:00 |
|
Timothy Clem
|
a9e5ff6a11
|
Assign HashBangLines in JavaScript/TypeScript
|
2018-04-13 10:54:22 -07:00 |
|
Timothy Clem
|
937c0df863
|
Assign out JavaScript require calls
|
2018-04-13 10:53:28 -07:00 |
|
Timothy Clem
|
47033ad9e8
|
Sort by name
|
2018-04-13 10:53:13 -07:00 |
|
Timothy Clem
|
25e70aa7a3
|
Let's eval javascript projects
|
2018-04-13 10:52:58 -07:00 |
|
Timothy Clem
|
ab0a6072b8
|
Some JavaScript analysis fixtures
|
2018-04-13 10:52:31 -07:00 |
|
Timothy Clem
|
dab7e2d304
|
Ignore all top level test files
|
2018-04-13 10:52:00 -07:00 |
|
Timothy Clem
|
c065344f3b
|
JavaScript returns can have comments even with no return expression
|
2018-04-13 10:49:48 -07:00 |
|
Timothy Clem
|
1cffcf0504
|
Assign HashBangLines in JavaScript/TypeScript
|
2018-04-13 10:49:16 -07:00 |
|
Timothy Clem
|
97a566e973
|
Allow allocation in assignment again
|
2018-04-12 15:19:27 -07:00 |
|
Timothy Clem
|
01d3e7d547
|
Merge pull request #1724 from github/graph-cli
Wire up graph analysis to the CLI
|
2018-04-12 15:09:05 -07:00 |
|
Timothy Clem
|
c230e58cbe
|
Merge branch 'master' into graph-cli
|
2018-04-12 11:00:46 -07:00 |
|
Timothy Clem
|
5c6535608e
|
Docs and formatting
|
2018-04-12 08:24:58 -07:00 |
|
Charlie Somerville
|
d45fafd5e2
|
Merge pull request #1736 from github/charliesome/fix-generate-example
Make script/generate-example more resilient around missing files
|
2018-04-12 11:42:01 +10:00 |
|
Timothy Clem
|
16a55d68a0
|
Linting
|
2018-04-11 16:02:03 -07:00 |
|
Timothy Clem
|
aedc6c1144
|
Remove extra imports
|
2018-04-11 15:55:12 -07:00 |
|
Timothy Clem
|
8dc79708be
|
Don't need these
|
2018-04-11 14:49:01 -07:00 |
|
Timothy Clem
|
13a0daea98
|
Handle evaluating preludes as part of import graph analysis
|
2018-04-11 14:48:30 -07:00 |
|
Timothy Clem
|
283fb8c7dc
|
Few util changes to eval Python
|
2018-04-11 14:47:40 -07:00 |
|
Charlie Somerville
|
63a10f210b
|
make script/generate-example more resilient around missing files
|
2018-04-11 15:49:57 +10:00 |
|
Timothy Clem
|
3a000ca7c0
|
Lost this formatting
|
2018-04-10 15:16:52 -07:00 |
|
Timothy Clem
|
e1160a19a9
|
Minor formatting
|
2018-04-10 15:12:55 -07:00 |
|
Timothy Clem
|
64744014fd
|
Formatting
|
2018-04-10 14:57:31 -07:00 |
|
Timothy Clem
|
2beb02387a
|
Merge remote-tracking branch 'origin/master' into graph-cli
|
2018-04-10 13:04:34 -07:00 |
|