1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

3416 Commits

Author SHA1 Message Date
Josh Vera
433090f30b Merge pull request #345 from github/abstract-the-selection-of-syntax-constructor-for-productions
Abstract the selection of syntax constructor for productions
2015-12-17 11:06:13 -05:00
Josh Vera
cb17cd1567 Merge pull request #270 from github/readme-redux
How and why semantic-diff works
2015-12-17 11:04:57 -05:00
Josh Vera
f37af542b2 Merge pull request #321 from github/split-styling-adjustments
Split styling adjustments
2015-12-17 11:04:27 -05:00
Rob Rix
37b52e4d6e Assign the correct width to columns. 2015-12-17 10:05:06 -05:00
Rob Rix
796748386c Compute the column width on the max number directly. 2015-12-17 10:03:37 -05:00
Rob Rix
37c95f446d Compute the size for a column. 2015-12-17 10:02:50 -05:00
Rob Rix
6c6e94e4d8 Count the digits in an integer. 2015-12-17 10:01:47 -05:00
Rob Rix
68775ef33f Compute the maximum line number. 2015-12-17 09:59:59 -05:00
Rob Rix
705e6047fa Bind the numbered rows. 2015-12-17 09:59:45 -05:00
Rob Rix
cf7e69b32d Fix indentation. 2015-12-17 09:59:38 -05:00
Rob Rix
32986a4fd4 More indentation stuff. 2015-12-16 23:27:36 -05:00
Rob Rix
b4bfac45ce Correct the tests. 2015-12-16 23:27:00 -05:00
Rob Rix
a19ce7ee25 Mark up replacement cells. 2015-12-16 23:19:41 -05:00
Rob Rix
61673f9bab Normalize the indentation. 2015-12-16 23:19:23 -05:00
Rob Rix
e5af22ca19 Add all four columns correctly. 2015-12-16 23:08:27 -05:00
Rob Rix
30c1f97e1e Construct changed tds directly. 2015-12-16 23:06:54 -05:00
Rob Rix
3427bcd300 Defer toMarkup to the piecewise instance. 2015-12-16 23:05:37 -05:00
Rob Rix
2874627a7a Mark up the numbers of changed lines as being changed. 2015-12-16 23:01:02 -05:00
Rob Rix
d36408921a Add a ToMarkup instance for number/line pairs. 2015-12-16 23:00:46 -05:00
Rob Rix
d699d8b0cf Mark up lines that contain changes as being replacements. 2015-12-16 22:54:20 -05:00
Rob Rix
c91b61552f Add a parameter indicating whether or not a line contains changes. 2015-12-16 22:54:01 -05:00
Rob Rix
3bfdbea671 Spacing. 2015-12-16 22:44:26 -05:00
Rob Rix
6dfa7550d8 Add a LineChange type. 2015-12-16 18:39:08 -05:00
Rob Rix
c146494c98 Merge branch 'master' into split-styling-adjustments 2015-12-16 18:33:14 -05:00
Rob Rix
555e020c86 Merge branch 'master' into split-styling-adjustments 2015-12-16 18:30:55 -05:00
Rob Rix
6298563e44 Merge pull request #342 from github/fix-unicode
Test equivalent precomposed/decomposed unicode is not equal
2015-12-16 18:28:58 -05:00
Rob Rix
14ff426dd4 Merge branch 'master' into abstract-the-selection-of-syntax-constructor-for-productions 2015-12-16 18:22:32 -05:00
Rob Rix
be2d4f5d76 Denote a bunch of C productions as being fixed. 2015-12-16 18:22:25 -05:00
Rob Rix
5755c314fb Bind the C language in the where clause. 2015-12-16 18:11:23 -05:00
Rob Rix
2ca8e7ca11 Reformat. 2015-12-16 18:10:39 -05:00
Rob Rix
136399bd66 Move fixedProductions into the language selection. 2015-12-16 18:10:13 -05:00
Rob Rix
4544d25974 Deparenthesize. 2015-12-16 18:09:32 -05:00
Rob Rix
86dfd83935 Swap the order of the language & constructor. 2015-12-16 18:08:51 -05:00
Rob Rix
a886a849f4 Move keyedProductions into the language selection. 2015-12-16 18:07:39 -05:00
Rob Rix
4898163d50 Move constructorForProductions into the library. 2015-12-16 16:27:03 -05:00
Rob Rix
3652773729 Move the Constructor type into the library. 2015-12-16 16:24:58 -05:00
Rob Rix
e47d3d4d3c Move the Parser type back into the library. 2015-12-16 16:24:23 -05:00
Rob Rix
1504a985de Rename Parser to Parsers. 2015-12-16 16:21:49 -05:00
Josh Vera
721d701287 Merge pull request #343 from github/haskell-parser
Maintain modularity of parsing
2015-12-16 16:19:59 -05:00
Rob Rix
c6eb5f9722 Use the Constructor to build the terms. 2015-12-16 16:08:10 -05:00
Rob Rix
4c34d43691 Construct the Info inline. 2015-12-16 16:06:55 -05:00
Rob Rix
c2f37529b3 Pass the Constructor to documentToTerm. 2015-12-16 16:06:06 -05:00
Rob Rix
53046e4b0d Select a Language for a given file name extension. 2015-12-16 16:05:24 -05:00
Rob Rix
0769c00d1d Abstract a Language type. 2015-12-16 16:03:15 -05:00
Rob Rix
ec674a572a Construct keyed nodes when appropriate. 2015-12-16 16:02:59 -05:00
Rob Rix
829e443af8 Use fixed nodes when appropriate. 2015-12-16 16:01:43 -05:00
Rob Rix
82c96e18eb Default to indexed nodes. 2015-12-16 16:01:36 -05:00
Rob Rix
ffaa893b43 Rephrase constructorForProductions using a where clause. 2015-12-16 16:01:26 -05:00
Rob Rix
42850ef44e Constructors take a list of production name/child pairs. 2015-12-16 15:59:07 -05:00
Rob Rix
8ace751fcf Move the source string to Constructor. 2015-12-16 15:55:12 -05:00