1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
Commit Graph

9549 Commits

Author SHA1 Message Date
Timothy Clem
bde540cd61 Other form of lambda works too 2016-12-06 08:22:02 -08:00
Timothy Clem
bcfac758b6 Update lambda statements to single production 2016-12-06 08:20:27 -08:00
Timothy Clem
4cc250e6cd If statements work again 2016-12-06 08:19:54 -08:00
Timothy Clem
a99724bacd Ruby when/else parsing also works 2016-12-06 08:15:26 -08:00
Timothy Clem
d7317e7360 Fix up Ruby case/when parsing 2016-12-06 08:14:23 -08:00
Rick Winfrey
2faa62936b Merge pull request #915 from github/javascript-improvements
JavaScript improvements (and updates tree-sitter across all languages)
2016-12-05 18:16:12 -06:00
Rick Winfrey
171544de29 Merge branch 'master' into javascript-improvements 2016-12-05 18:07:51 -06:00
Timothy Clem
e16055d71b Bit Ruby TODO list 2016-12-05 15:58:20 -08:00
Timothy Clem
cbb9664d32 Rename a bunch of Ruby productions 2016-12-05 15:58:11 -08:00
Timothy Clem
37098cf5c1 Fix up JavaScript return summaries due to new shape 2016-12-05 15:57:20 -08:00
Timothy Clem
2ee93b4525 New shape for yield statements 2016-12-05 15:56:18 -08:00
Timothy Clem
47402c7c8a New shape for return statements 2016-12-05 15:54:59 -08:00
Timothy Clem
8bd7463dc2 Remove new_go.json 2016-12-05 14:53:24 -08:00
Timothy Clem
e7775aa7ff Fix up go tests (sort of) 2016-12-05 14:52:11 -08:00
Timothy Clem
38a045d5a5 Try re-generating go parser.c and bumping tree-sitter-parsers 2016-12-05 14:05:13 -08:00
Timothy Clem
a3b87fbe84 Remove stack clean call in build 2016-12-05 13:19:52 -08:00
Timothy Clem
fdf3c5d276 Fix up crazy span numbers in javascript tests 2016-12-05 13:02:46 -08:00
Timothy Clem
eb323f9865 Bump tree-sitter-parsers again 2016-12-05 12:36:07 -08:00
Rick Winfrey
a60e7aa268 Merge pull request #914 from github/formatting
Make function formatting consistent in Renderer.JSON.hs
2016-12-05 10:18:48 -08:00
Rick Winfrey
cb366214da Bump tree-sitter 2016-12-01 06:13:13 -06:00
Rick Winfrey
f9c726a34f Bump tree-sitter-parsers 2016-11-30 18:52:52 -06:00
Rick Winfrey
c71590ab86 Update tree-sitter-parsers 2016-11-30 18:46:35 -06:00
Rick Winfrey
465bc2e963 Bump tree-sitter dependencies 2016-11-30 18:24:37 -06:00
Rick Winfrey
c23afa4682 Remove new_javascript.json generator file 2016-11-30 18:20:03 -06:00
Rick Winfrey
df5bb88c9e Update tests to include continue, yield and break statements 2016-11-30 18:19:10 -06:00
Rick Winfrey
a0fb4e75a7 Add Yield term constructor support for JavaScript 2016-11-30 15:56:57 -06:00
Rick Winfrey
859820cfb2 Added support for Continue statements in JavaScript 2016-11-30 15:40:06 -06:00
Rick Winfrey
9d65261669 Add Break support to DiffSummaries 2016-11-30 15:31:05 -06:00
Rick Winfrey
1329d6c763 Add Break Syntax constructor 2016-11-30 15:30:51 -06:00
Rick Winfrey
d32e94bab1 Add break to renderers 2016-11-30 15:30:39 -06:00
Rick Winfrey
215163767e Construct Break terms 2016-11-30 15:30:22 -06:00
Rick Winfrey
7a1d80e914 Add missing Break category 2016-11-30 15:30:11 -06:00
Rick Winfrey
b90bb8913b Add trailing statement support for new tree-sitter trailing productions 2016-11-30 15:27:43 -06:00
Josh Vera
80ca5d2068 Merge branch 'master' into formatting 2016-11-29 19:12:50 -05:00
Josh Vera
016b905753 Merge pull request #912 from github/parser-option
Add --parse option
2016-11-29 19:12:36 -05:00
Rick Winfrey
758b631ea7 Make function formatting consistent in Renderer.JSON.hs 2016-11-23 15:13:45 -06:00
Rick Winfrey
69bb2d4c15 Merge branch 'master' into parser-option 2016-11-23 13:49:04 -06:00
Rick Winfrey
f9d2d2b71f Clean up HasField constraint to apply only to the SourceText TermDecorator 2016-11-23 13:43:37 -06:00
Rick Winfrey
ce70771084 Remove redundant import 2016-11-23 13:42:44 -06:00
Rick Winfrey
b86edc3a54 Add writeToOutput function (prints to standard out by default, or a file if specified) 2016-11-23 13:33:01 -06:00
Rick Winfrey
421da39ce7 Rewrite algebra as TermF -> ParseJSON 2016-11-23 13:32:25 -06:00
Rick Winfrey
32b323c892 🔥 dead code 2016-11-23 13:31:59 -06:00
Rick Winfrey
800f1b4c13 Use zipWithM (because Monad zippers are the best zippers) 2016-11-23 13:31:27 -06:00
Rick Winfrey
eb88b46d6f Formatting of ParseJSON data type 2016-11-23 13:30:15 -06:00
Rick Winfrey
a7e21d1ebb Don't encodePretty when constructing new Terms 2016-11-22 18:50:57 -06:00
Rick Winfrey
81079b1241 Remove functor from ParseJSON 2016-11-22 18:50:39 -06:00
Rick Winfrey
bbfed7cf34 ++ tree-sitter-parsers 2016-11-22 16:42:28 -06:00
Rick Winfrey
bab0debf6d Merge branch 'master' into parser-option 2016-11-22 15:19:30 -06:00
Josh Vera
14fe319ade Merge pull request #910 from github/go-parser
Go parser
2016-11-22 15:17:24 -05:00
joshvera
f71c35d617 Handle every case by pattern matching on name in termConstructor instead of (name, children) 2016-11-22 15:10:10 -05:00