1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
Commit Graph

8322 Commits

Author SHA1 Message Date
joshvera
c09887b8df update semantic-diff tests 2016-08-17 11:24:12 -04:00
joshvera
d90653aaff remove unused params 2016-08-17 11:23:53 -04:00
joshvera
c16effb699 Add comma operator to Split 2016-08-17 11:00:17 -04:00
joshvera
5615da1bc0 Change methodParams to be a list of args 2016-08-17 10:42:05 -04:00
Rick Winfrey
1d79153f01 Merge pull request #727 from github/comma-summaries
Comma summaries
2016-08-17 08:19:56 -05:00
joshvera
3a4a19b9ab s/f/cs 2016-08-16 22:04:36 -04:00
joshvera
b24d12d869 Add missing cases to toSeries and toText 2016-08-16 22:03:48 -04:00
joshvera
59997566bb No need to unwrap rest 2016-08-16 22:03:34 -04:00
joshvera
8bcf292ba0 Merge remote-tracking branch 'origin/master' into comma-summaries 2016-08-16 19:34:30 -04:00
Rob Rix
04c146d805 Merge pull request #719 from github/more-detail-more-problems
Better handle parsing of comment syntax
2016-08-16 17:34:35 -04:00
joshvera
b14234f0aa bind toLeafInfos 2016-08-16 17:24:22 -04:00
joshvera
b4133bdcac Map comma operators to flattened indexed nodes 2016-08-16 17:24:06 -04:00
Rick Winfrey
5f23992143 Merge branch 'master' into more-detail-more-problems 2016-08-16 16:10:04 -05:00
Rick Winfrey
cb3a709540 Add missing Comment Category to Split styles 2016-08-16 15:36:36 -05:00
joshvera
7785cbf498 Add comma operator mapping 2016-08-16 16:18:02 -04:00
joshvera
329c050811 Merge remote-tracking branch 'origin/master' into comma-summaries 2016-08-16 15:44:09 -04:00
joshvera
a9c3bfa671 Add CommaOperator 2016-08-16 15:44:02 -04:00
Josh Vera
70d6bfec91 Merge pull request #725 from github/fix-parsing-get-and-set-in-javascript
Fix parsing get and set in javascript
2016-08-16 15:37:23 -04:00
Rob Rix
538961285a Merge branch 'master' into parse-jquery 2016-08-16 15:12:10 -04:00
Rob Rix
a37b3b63c3 Fix the parsing of get/set as identifiers in JS sources. 2016-08-16 15:12:07 -04:00
Rick Winfrey
2b196ade35 Add explanation about the intent of the preserveSyntax Set 2016-08-16 13:24:36 -05:00
Rick Winfrey
30b94f822c Add Set for Category constructors that should not be made into Indexed leaves 2016-08-16 13:22:41 -05:00
Rick Winfrey
43e58dcee3 Merge branch 'more-detail-more-problems' of github.com:github/semantic-diff into more-detail-more-problems 2016-08-16 13:11:09 -05:00
Rick Winfrey
1f1b0a9b3f Specifically handle Comment nodes instead of breaking them down by words (the default behavior for Leaf syntaxes that are not Regex) 2016-08-16 13:10:26 -05:00
Rick Winfrey
e29651ce07 Create Comment Category instances from TreeSitter productions 2016-08-16 13:09:43 -05:00
Rick Winfrey
e9240b5b6e Disambiguate between Syntax Comment and Category Comment 2016-08-16 13:09:12 -05:00
Rick Winfrey
60d10c483e Disambiguate between Syntax Comment and Category Comment 2016-08-16 13:08:55 -05:00
Rick Winfrey
7fd0b52a91 Add Comment constructor to Category
Previously all comments were being caught by the Other constructor. Now
that we specifically handle Category Syntax, it seems appropriate to
promote Comment as a first class Category, too.
2016-08-16 13:08:23 -05:00
Josh Vera
b60a63221f Merge pull request #720 from github/µ-to-you-too
µoptimizations to term importing
2016-08-16 13:23:01 -04:00
Rob Rix
617ab29df6 📝 termConstructor’s parameters & return value. 2016-08-16 11:42:48 -04:00
Rob Rix
25e6fc6ea2 Reformat termConstructor’s signature for haddock. 2016-08-16 11:40:56 -04:00
Rob Rix
1312e384b4 Specialize this to IO.
This avoids some overhead of passing a dictionary around.
2016-08-16 11:39:49 -04:00
Rob Rix
62c5eb758f Apply fromIntegral strictly. 2016-08-16 11:35:12 -04:00
Rob Rix
32809f036c Correct the 📝 for termConstructor. 2016-08-16 11:16:00 -04:00
Rob Rix
fba230319b Be very explicit about evaluating the SourceSpan eagerly. 2016-08-16 11:04:52 -04:00
Rob Rix
1666c536f8 Take the SourceSpan in the monad. 2016-08-16 10:59:10 -04:00
Rob Rix
4190abe065 Generalize termConstructor to return its argument in a Monad. 2016-08-16 09:50:50 -04:00
Rob Rix
38d5f96b5c 🔥 more redundant parens. 2016-08-16 09:47:29 -04:00
Rob Rix
b94e4960da Merge branch 'master' into µ-to-you-too 2016-08-16 09:43:22 -04:00
Josh Vera
8d56a6fcfd Merge pull request #717 from github/remove-untitled
Remove scratchwork file
2016-08-15 18:26:36 -04:00
Rob Rix
c59a6d8471 Merge branch 'master' into more-detail-more-problems 2016-08-15 18:17:35 -04:00
Rob Rix
97e5ee5aa2 🔥 redundant parens. 2016-08-15 17:46:43 -04:00
Rob Rix
5a979aaf5b Document why sourceSpan isn’t evaluated eagerly any more. 2016-08-15 17:41:13 -04:00
Rob Rix
fddb9dd90a Merge branch 'master' into µ-to-you-too 2016-08-15 17:40:12 -04:00
Rob Rix
f1c1d85ec8 Don’t evaluate the sourceSpan strictly, i.e. only compute it when there are actually errors (but then use it eagerly). 2016-08-15 17:40:07 -04:00
Rob Rix
a1aa65c15f Use the errorWith combinator to construct errors. 2016-08-15 17:39:47 -04:00
Rob Rix
2281b68b91 Extract a function to construct an error node with strict evaluation of the sourceSpan. 2016-08-15 17:37:22 -04:00
Rob Rix
eb99b40a15 Don’t inline toTerm after all.
It’s recursive and we want to see how its performance breaks down a
little better.
2016-08-15 17:28:17 -04:00
joshvera
5893c2d2ae Merge remote-tracking branch 'origin/master' into comma-summaries 2016-08-15 17:27:08 -04:00
Josh Vera
5934fbc2de Merge branch 'master' into remove-untitled 2016-08-15 17:26:06 -04:00