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

3805 Commits

Author SHA1 Message Date
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
Rob Rix
49fe2fc030 Stub in a function which builds a Constructor given sets of keyed & fixed production names & a source string. 2015-12-16 15:54:05 -05:00
Rob Rix
7c093e81da Qualify the import of Data.Set. 2015-12-16 15:49:46 -05:00
Rob Rix
326a4c9709 Constructors take Info instead of just the production name. 2015-12-16 15:45:30 -05:00
Rob Rix
c3d80962a1 Stub in the type of a constructor function. 2015-12-16 15:41:36 -05:00
Rob Rix
c034942a4c Don’t depend on trifecta. 2015-12-16 15:36:11 -05:00
Rob Rix
6270b4aa7e Remove the Haskell module. 2015-12-16 15:36:08 -05:00
Rob Rix
36e7e49f72 Don’t attempt to parse Haskell sources. 2015-12-16 15:35:57 -05:00
joshvera
fe38ebe548 Test unicode equivalent terms are replacements 2015-12-16 14:18:09 -05:00
joshvera
6de9bbd1a7 Move Comparable and interpret to the top 2015-12-16 13:33:05 -05:00
joshvera
c71c9fd4fd Write out code points in test 2015-12-16 13:09:07 -05:00
Rob Rix
db93c7813c Merge branch 'master' into haskell-parser 2015-12-16 12:57:12 -05:00