1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 21:01:35 +03:00
Commit Graph

8294 Commits

Author SHA1 Message Date
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
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
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
Josh Vera
5934fbc2de Merge branch 'master' into remove-untitled 2016-08-15 17:26:06 -04:00
Rob Rix
d4022e0c43 Define getChild using >>. 2016-08-15 17:25:56 -04:00
Josh Vera
dee0537d5a Merge pull request #716 from github/how-many-cores-could-the-mongols-hoard-if-the-mongol-hordes-got-bored
Disqualify builds which only run on one core.
2016-08-15 17:25:48 -04:00
Rick Winfrey
a625cf07ee Remove scratchwork file 2016-08-15 16:21:48 -05:00
Rob Rix
3a87e5501d Evaluate sourceSpan eagerly too. 2016-08-15 17:17:03 -04:00
Rob Rix
8837f48d3d Bind range instead of assigning it. 2016-08-15 17:12:15 -04:00
Josh Vera
12b67bbd0c Merge branch 'master' into how-many-cores-could-the-mongols-hoard-if-the-mongol-hordes-got-bored 2016-08-15 17:09:29 -04:00
Rob Rix
47ece4f73b Merge branch 'master' into µ-to-you-too 2016-08-15 17:06:40 -04:00
Josh Vera
0593503207 Merge pull request #715 from github/add-javascript-syntaxes
Add test cases for remaining Javascript syntaxes
2016-08-15 17:05:23 -04:00
Rob Rix
5adb799b48 INLINE a bunch of stuff in documentToTerm. 2016-08-15 17:04:45 -04:00
Rob Rix
042b3b9c29 Bind sourceSpan instead of assigning it. 2016-08-15 17:04:38 -04:00
Rick Winfrey
a4aabd500c Merge branch 'master' into add-javascript-syntaxes 2016-08-15 15:31:32 -05:00
Rick Winfrey
44a375f1f9 Update expectedResults for JavaScript test cases per switch to RWS! 2016-08-15 15:30:37 -05:00
Rob Rix
d57ac9fb6b Merge branch 'master' into how-many-cores-could-the-mongols-hoard-if-the-mongol-hordes-got-bored 2016-08-15 16:23:14 -04:00
Rob Rix
ef5c627016 Merge pull request #713 from github/limit-assumptions-about-class-and-method-structure
Limit assumptions about class and method structure
2016-08-15 15:42:48 -04:00
Rick Winfrey
93521de3ec Merge branch 'master' into add-javascript-syntaxes 2016-08-15 14:42:15 -05:00
Josh Vera
4e8ff60da7 Merge branch 'master' into limit-assumptions-about-class-and-method-structure 2016-08-15 15:22:29 -04:00
Josh Vera
b06cb4695e Merge pull request #689 from github/unbiased-branch-diffs
Unbiased branch diffs
2016-08-15 15:21:06 -04:00
Rob Rix
07d91fb70a Merge branch 'master' into limit-assumptions-about-class-and-method-structure 2016-08-15 15:07:44 -04:00
Rob Rix
890b30df11 🔥 methodDefinitions. 2016-08-15 15:07:40 -04:00
Rob Rix
40fe66ac5e Subclasses include the method definitions directly. 2016-08-15 13:59:48 -04:00
Rob Rix
fab77e2c1a Classes include the method definitions directly. 2016-08-15 13:59:17 -04:00
Rob Rix
913532a762 🔥 expressionStatements. 2016-08-15 13:58:34 -04:00
Rob Rix
6792cfe1f9 Zero-argument methods include the expressions directly. 2016-08-15 13:58:23 -04:00
Rob Rix
eb1ad9fbbf Methods include the expressions directly. 2016-08-15 13:58:06 -04:00
Rob Rix
32b86879b2 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 13:09:48 -04:00
Rob Rix
dbd812d488 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 12:09:45 -04:00
Rob Rix
479501720f Merge pull request #706 from github/2016-08-15
Create 2016-08-15.md
2016-08-15 11:29:25 -04:00