Timothy Clem
f5621a7ed0
Test parsing ruby numbers, strings, and symbols
2016-10-21 12:59:35 -07:00
Timothy Clem
caeeb79799
Regenerate ruby test corpus to get valid shas
2016-10-20 10:36:33 -07:00
Timothy Clem
00cb51b083
Fix multiline comment followed by comment bug
2016-10-20 10:07:15 -07:00
Timothy Clem
bab517ac06
Parser error nodes, comments, and program
2016-10-20 09:44:41 -07:00
Timothy Clem
e4bb574700
Catch integer literals and abbreviate in summaries
2016-10-19 11:02:02 -07:00
Timothy Clem
fc25ff9e86
Add ruby corpus as submodule
2016-10-19 10:36:56 -07:00
Timothy Clem
456bbb41ae
Handle basic assignment for ruby
2016-10-19 10:34:49 -07:00
Timothy Clem
c213e85e9c
Allow running integration tests only for one language
...
The --test-arguments can be passed like this:
stack build :integration-test --test-arguments "--language=ruby"
--language is naively parsed right now just to avoid getting in the way
of hspec's option parsing.
2016-10-19 10:15:58 -07:00
Timothy Clem
1280a96ac5
Updated tree-sitter and tree-sitter-ruby
2016-10-19 08:30:59 -07:00
Timothy Clem
4b42939bf3
Basics of Ruby termConstructor
2016-10-19 08:30:46 -07:00
Rick Winfrey
541edccd26
Merge pull request #885 from github/constraint-alias
...
Introduce DefaultFields Constraint alias
2016-10-18 10:56:41 -05:00
Rick Winfrey
469b76d82b
Remove redundant imports
2016-10-18 10:44:36 -05:00
Rick Winfrey
5149ff100f
Update Summary.hs to use DefaultFields
2016-10-18 10:43:05 -05:00
Rick Winfrey
9b9569b8a5
Update Diffing.hs to use DefaultFields
2016-10-18 10:41:58 -05:00
Rick Winfrey
87d3111bcc
Merge branch 'master' into constraint-alias
2016-10-18 10:37:31 -05:00
Rick Winfrey
2893e373f1
Merge pull request #887 from github/weekly
...
Add weekly notes
2016-10-14 18:19:17 -05:00
joshvera
d83efce2e0
add weekly
2016-10-14 17:46:41 -04:00
Rick Winfrey
6aa62cc8f9
Merge branch 'master' into constraint-alias
2016-10-14 12:01:31 -05:00
Rick Winfrey
56dfa479e8
Revert moves
2016-10-14 12:00:28 -05:00
Rick Winfrey
75a254175c
Use DefaultFields constraint alias
2016-10-14 11:53:47 -05:00
Rick Winfrey
014a6a21d7
Update comment, extract appendParentContexts function
2016-10-14 11:53:34 -05:00
Rick Winfrey
8960836bcb
Change order of functions, use DefaultFields constraint alias
2016-10-14 11:53:08 -05:00
Rick Winfrey
053393fdca
Move data declarations to top
2016-10-14 11:52:36 -05:00
Rick Winfrey
c1f6be7b7f
Add DefaultFields constraint alias
2016-10-14 11:51:17 -05:00
Josh Vera
4ac29b566a
Merge pull request #880 from github/improve-memory-usage
...
Improve memory usage
2016-10-14 12:37:03 -04:00
joshvera
1ec96efd63
bump tests
2016-10-14 12:19:31 -04:00
joshvera
3839a8605a
Bump tests
2016-10-14 12:12:38 -04:00
Rhett Garber
5b218de0a3
Merge pull request #883 from github/rhettg-jessie
...
Upload the same build for multiple distros
2016-10-13 16:17:05 -07:00
Rhett Garber
808f1a2093
Auto-merged master into rhettg-jessie on deployment
2016-10-13 16:05:26 -07:00
Rick Winfrey
9189556b31
Merge pull request #882 from github/improve-anonymous-funs
...
Improve anonymous funs
2016-10-13 18:00:30 -05:00
Rick Winfrey
0262cb0879
Merge branch 'master' into improve-anonymous-funs
2016-10-13 17:56:39 -05:00
Rhett Garber
656d8b06ae
Auto-merged master into rhettg-jessie on deployment
2016-10-13 15:48:16 -07:00
Rick Winfrey
13429a632d
Merge pull request #878 from github/if-else-if
...
Support else-if JavaScript clauses
2016-10-13 17:14:01 -05:00
joshvera
ca129b2449
bump tests
2016-10-13 18:02:14 -04:00
Rick Winfrey
383573aa3d
Merge branch 'master' into if-else-if
2016-10-13 17:01:23 -05:00
joshvera
dbf8fe2385
one line
2016-10-13 17:58:23 -04:00
joshvera
4f978b7586
No quotes around anonymous functions
2016-10-13 17:58:17 -04:00
Rick Winfrey
80ebddae5c
Bump tests
2016-10-13 16:44:36 -05:00
Rick Winfrey
5cc26fcc34
Remove BranchInfo for If Syntaxes
...
Although this allowed us to report a list of summary statements for
each if / else-if condition, we don’t append parent contexts to
Patches. Because we lose that parent context, it makes replacement
summary statements devoid of context. Taking a step back, @joshvera and
I decided to leave if summary statements as they are now, but revisit
this when we explore rollups. Although diff summary statements do not
include else-if clauses now in Syntax If accurately. So we have the
info, but as it stands, a long list of summary statements for each
else-if clause we determined to be less helpful, but will set us up for
success when we add rollups.
2016-10-13 16:42:49 -05:00
joshvera
98627b74b7
Merge remote-tracking branch 'origin/master' into improve-anonymous-funs
2016-10-13 17:39:42 -04:00
Rick Winfrey
59a2531889
Update toElseIf so we don't drop the elseClause for non If syntax clauses
2016-10-13 16:33:57 -05:00
Josh Vera
9f9dc4feab
Merge branch 'master' into improve-memory-usage
2016-10-13 16:21:11 -04:00
joshvera
63eca5f45b
use Label type synonym and unpack strict fields in RWS
2016-10-13 16:19:53 -04:00
joshvera
b5ff4178e9
scope to getLabel
2016-10-13 16:16:50 -04:00
Rick Winfrey
a80cb67b89
Extract toLeafInfo function
2016-10-13 12:36:18 -05:00
Rick Winfrey
62db2939f8
Clean and retain elseClause for If statements that are not If statements
2016-10-13 12:34:48 -05:00
joshvera
be1ca766c1
Quote anonymous and brace exports
2016-10-13 12:56:27 -04:00
joshvera
73b947f71b
Update tests
2016-10-13 12:08:44 -04:00
joshvera
5aff238787
Enclose export statements in braces
2016-10-13 12:08:33 -04:00
joshvera
2f6414097c
Enclose anonymous functions in quotes and add category back in toLeafInfos
2016-10-13 12:08:22 -04:00