Josh Vera
8fa6a723e6
Merge branch 'master' into identifierAlgebra
2017-12-12 15:50:56 -05:00
Timothy Clem
dce9ffa61c
Fix up expected JSON output in specs
2017-12-12 11:42:04 -08:00
Josh Vera
7f2f0d584a
Merge pull request #1451 from github/rws-minus-p-equals-rws
...
Don’t assign parent labels to grams summarizing subtrees
2017-12-12 14:41:13 -05:00
Josh Vera
927cd07ec7
Merge branch 'master' into rws-minus-p-equals-rws
2017-12-12 14:38:22 -05:00
Timothy Clem
5b7df2b3f2
Use new identifier decorator for json output
2017-12-12 11:34:02 -08:00
Timothy Clem
58ebcbfb00
Add IdentifierName decorator
2017-12-12 11:32:12 -08:00
Josh Vera
cd7864df54
Merge pull request #1455 from github/log-stack-version-in-bootstrap
...
Log stack --version in script/bootstrap
2017-12-12 13:37:26 -05:00
Josh Vera
3b51c592d9
Merge branch 'master' into rws-minus-p-equals-rws
2017-12-12 13:36:03 -05:00
Josh Vera
13d7b7aeea
Merge branch 'master' into log-stack-version-in-bootstrap
2017-12-12 13:35:27 -05:00
Rick Winfrey
a9dd9a2f31
Merge pull request #1404 from github/cyclomatic-complexity-decorator
...
Analysis.CyclomaticComplexity
2017-12-11 15:42:39 -08:00
Rick Winfrey
3028946612
Define a default method for the CustomHasCyclomaticComplexity typeclass
2017-12-11 15:39:41 -08:00
Rick Winfrey
01c30abc2d
Add single blob parser util function for convenience
2017-12-11 15:39:12 -08:00
Rick Winfrey
3610ec269b
Merge branch 'master' into cyclomatic-complexity-decorator
2017-12-11 14:36:08 -08:00
Rick Winfrey
cda1779d64
Update comment
2017-12-11 14:29:30 -08:00
Rick Winfrey
a9456c00f4
Merge pull request #1452 from github/switch-to-go-assignment
...
Turn on Go assignment
2017-12-11 14:23:25 -08:00
Rick Winfrey
750c4a6d3e
Contextualize specific syntax for function and method declarations
...
- These assignment rules are two of the only places in Go assignment where individual syntax rules are used. This wraps those syntax rules in `term`, so that they can be contextualized.
2017-12-02 12:44:28 -08:00
Rick Winfrey
7c1d381530
Turn on Go assignment
2017-12-01 14:45:37 -08:00
Rob Rix
10b8de93b3
Update the fixtures.
2017-12-01 17:13:24 -05:00
Rob Rix
d2cb077ddc
Don’t assign parent labels to grams.
2017-12-01 17:07:03 -05:00
Rob Rix
99f3633060
Generalize featureVectorDecorator to accept any Hashable label.
2017-12-01 17:00:40 -05:00
Rick Winfrey
d649a514af
Update tests
2017-12-01 13:36:38 -08:00
Rick Winfrey
21024a0506
🔥 unnecessary language extensions
2017-12-01 13:36:32 -08:00
Rick Winfrey
7ee4b04c1f
Update CyclomaticComplexity
2017-12-01 13:00:30 -08:00
Rick Winfrey
e7a5e88d5e
First pass updating CyclomaticComplexity
2017-12-01 11:39:04 -08:00
Rick Winfrey
df52854ef0
Merge branch 'master' into cyclomatic-complexity-decorator
2017-12-01 11:23:15 -08:00
Rob Rix
2c561be63f
Merge pull request #1450 from github/update-go-toc-rendering
...
Better isolate function name for function declarations vs function literals
2017-12-01 11:27:17 -05:00
Rob Rix
cffe4a757e
Merge branch 'master' into update-go-toc-rendering
2017-12-01 11:22:27 -05:00
Rob Rix
6b586f035e
Merge pull request #1449 from github/better-generic-show1-instances
...
Better generic Show1 instances
2017-12-01 11:20:21 -05:00
Rick Winfrey
e18ca5b9d0
Merge branch 'update-go-toc-rendering' of github.com:github/semantic-diff into update-go-toc-rendering
2017-11-30 16:55:40 -08:00
Rick Winfrey
be3d497f8c
Add interface test cases for method specs without return types
2017-11-30 16:55:38 -08:00
Rick Winfrey
57015bc8bd
Update methodSpec assignments to not require return type
2017-11-30 16:55:20 -08:00
Rick Winfrey
3bc8c4cff5
Merge branch 'master' into update-go-toc-rendering
2017-11-30 16:37:14 -08:00
Rick Winfrey
442824949d
Update tests
2017-11-30 16:28:04 -08:00
Rick Winfrey
35a83422f4
Do less work for more accuracy
2017-11-30 16:26:45 -08:00
Rick Winfrey
bafff20f3b
Tokenize the fun
keyword in function declarations
2017-11-30 16:02:16 -08:00
Rob Rix
8da948440e
Merge branch 'master' into better-generic-show1-instances
2017-11-30 17:10:03 -05:00
Rob Rix
44bdfbe8b6
Merge pull request #1447 from github/musical-modules
...
♩ Musical modules ♫
2017-11-30 17:09:08 -05:00
Rob Rix
d1da673a9f
More docs for F- & R-algebras.
...
cc @joshvera — I talked a little about open recursion as well.
2017-11-30 17:04:36 -05:00
Rob Rix
4ccf265c4e
Opt the tests into using record syntax.
2017-11-30 11:12:23 -05:00
Rob Rix
d843c9a328
Rename the option.
2017-11-30 11:10:22 -05:00
Rob Rix
6f30e47589
Omit selectors by default.
2017-11-30 11:09:41 -05:00
Rob Rix
663ffab1b4
Export defaultGShow1Options.
2017-11-30 11:07:15 -05:00
Rob Rix
7f0ecbef19
Simplify how the options are applied.
2017-11-30 11:06:48 -05:00
Rob Rix
41490a38f1
Define a helper to provide options when implementing liftShowsPrec generically.
2017-11-30 11:04:07 -05:00
Rob Rix
90fde64e9f
Add options to allow disabling record syntax.
2017-11-30 11:02:05 -05:00
Rob Rix
2bbd4e7a49
Test that derived & generic showsPrec agree for infix constructors.
2017-11-30 10:47:53 -05:00
Rob Rix
6ce7ba6b2a
Rename the record test.
2017-11-30 10:45:52 -05:00
Rob Rix
517843b603
Test that generic Show1 shows record selectors.
2017-11-30 10:44:32 -05:00
Rob Rix
4b928a6c4e
Test that derived & generic showsPrec agree.
2017-11-30 10:41:26 -05:00
Rob Rix
221a88f452
Test that derived & generic equality agree.
2017-11-30 10:38:46 -05:00