1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00
Commit Graph

4440 Commits

Author SHA1 Message Date
Matt Diephouse
c8edf79abb Add a spec for test files 2016-02-16 16:38:31 -05:00
Matt Diephouse
5127376e68 diffFiles :: Parser -> Renderer T.Text b -> (Source Char, Source Char) -> IO b 2016-02-16 16:09:58 -05:00
Matt Diephouse
ac053940fe Add a spec for on-disk tests 2016-02-16 12:33:41 -05:00
Josh Vera
87ff0f0762 Merge pull request #426 from github/language-specific-mapping
Add language specific category mappings
2016-02-11 12:17:07 -08:00
Matt Diephouse
ed9eec883b Update documentation 2016-02-11 12:09:18 -08:00
Matt Diephouse
4c6c9b4f72 Centralize logic in parserForType 2016-02-10 15:07:27 -08:00
Matt Diephouse
fa5bb25cf2 Add language-specific mappings 2016-02-10 14:59:48 -08:00
Matt Diephouse
7b9ac9334f Rename to defaultCategoryForNodeName 2016-02-10 14:57:01 -08:00
Matt Diephouse
bc95b7c86c Add an inner category mapping function 2016-02-10 14:56:21 -08:00
Matt Diephouse
b3458e8ac6 Just call it grammar 2016-02-10 14:53:16 -08:00
Matt Diephouse
17e74cf691 Move these functions inside 2016-02-10 14:52:19 -08:00
Matt Diephouse
b7355bf7e6 Add a bunch more languages
Even though they don’t do anything
2016-02-10 14:35:08 -08:00
Matt Diephouse
f45fd562a1 Move languageForType to Language 2016-02-10 14:32:11 -08:00
Matt Diephouse
4a5c844f34 Move Language to a separate module 2016-02-10 14:30:14 -08:00
Matt Diephouse
76a115a77c Make Language a sum type of programming languages 2016-02-10 11:30:32 -08:00
Matt Diephouse
e35da995a2 Let's call this treeSitterParser 2016-02-10 11:02:51 -08:00
Matt Diephouse
219d47bc95 Don't pass preassembled Infos to Constructors 2016-02-10 11:00:26 -08:00
Rob Rix
d4cb5cc1a4 Merge pull request #421 from github/staticgories
Static Categories
2016-02-10 10:48:03 -08:00
Matt Diephouse
060f3b0a7d Our stylesheet uses an underscore 2016-02-09 16:43:45 -08:00
Matt Diephouse
110149673a Add staticgories to ArbitraryTerm.hs 2016-02-09 11:43:13 -08:00
Matt Diephouse
dce763e9f1 Update TreeSitter for staticgories 2016-02-09 11:34:23 -08:00
Matt Diephouse
f0e7d48786 Add new types to pattern matching 2016-02-09 09:42:49 -08:00
Matt Diephouse
73132d8a3a Standardize the decision of keyed vs. fixed vs. indexed nodes 2016-02-05 17:09:04 -05:00
Matt Diephouse
eb51a2b87e Add a binary operator category 2016-02-05 16:59:38 -05:00
Matt Diephouse
9e2ccc0924 Add a function call category 2016-02-05 16:54:08 -05:00
Matt Diephouse
2a69d342f8 Update split diff markup to use Category 2016-02-05 13:49:16 -05:00
Matt Diephouse
9601535555 By happy accident, we only need to delete this type 2016-02-05 13:48:30 -05:00
Matt Diephouse
611edbb783 Give Categorizables actual Categorys 2016-02-05 13:48:13 -05:00
Matt Diephouse
8bbda1884d Category should derive Ord 2016-02-04 16:47:33 -05:00
Matt Diephouse
8df205c10e Category should derive Show 2016-02-04 16:43:05 -05:00
Matt Diephouse
a13053c960 Add a Category type 2016-02-04 16:35:42 -05:00
Matt Diephouse
170b7c6e1e Rename Categorizable module to Category 2016-02-04 13:59:33 -05:00
Rob Rix
a42d4dbf01 Merge pull request #419 from github/patch-output
Document PatchOutput.hs
2016-02-03 18:01:55 -05:00
Matt Diephouse
4e9de9b94a Actually commit these changes 😳 2016-02-03 17:55:16 -05:00
Rob Rix
cc2c0b7883 Merge pull request #420 from github/the-final-documentation
The final documentation
2016-02-03 17:24:55 -05:00
Rob Rix
965ede0623 Merge pull request #414 from github/belly-of-the-beast
Document Split.hs and related files
2016-02-03 17:21:57 -05:00
Matt Diephouse
b351f5faca Document Parsers.hs 2016-02-03 13:25:30 -05:00
Matt Diephouse
4ff301b170 Document TreeSitter.hs 2016-02-03 13:24:17 -05:00
Matt Diephouse
bc71256631 Lines and lists 2016-02-03 13:10:50 -05:00
Matt Diephouse
ee1fe5db00 Document remaining functions 2016-02-03 13:04:39 -05:00
Matt Diephouse
3e5c5a3def Document PatchOutput.hs 2016-02-03 12:58:54 -05:00
Josh Vera
fdcad41234 Merge pull request #417 from github/algorithm-and-operation
Document Algorithm and Operation
2016-02-03 11:55:25 -05:00
Rob Rix
d29ec2dc05 Merge pull request #415 from github/orderedmap
Document OrderedMap
2016-02-03 10:47:25 -05:00
Matt Diephouse
82b07ccd8b Document Operation.hs 2016-02-03 10:28:50 -05:00
Matt Diephouse
0ee81bd20f Document Algorithm.hs 2016-02-03 10:28:44 -05:00
Matt Diephouse
8fbfb83f69 hunks is a Renderer 2016-02-02 16:53:48 -05:00
Matt Diephouse
e7fe0d6f97 Document OrderedMap.hs 2016-02-02 15:33:08 -05:00
Matt Diephouse
7d7ee80b20 notElem is a thing 2016-02-02 15:30:44 -05:00
Matt Diephouse
b5315ce571 Implement union in terms of difference 2016-02-02 15:30:36 -05:00
Matt Diephouse
9c7d3f97b6 Merge branch 'master' into belly-of-the-beast
# Conflicts:
#	app/Main.hs
2016-02-02 11:58:59 -05:00