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

14990 Commits

Author SHA1 Message Date
Rob Rix
84aaba64d9 Add a convenience to read a file and guess its language. 2017-08-25 12:25:18 -04:00
Rob Rix
c7b7d1516e Define a pretty-printing convenience. 2017-08-25 12:23:22 -04:00
Rob Rix
b318e31b2b Stub in a Semantic.Util module. 2017-08-25 12:22:22 -04:00
Rob Rix
9a370137df Define prettyBytes once for all syntax modules. 2017-08-25 12:20:17 -04:00
Rob Rix
ab397fd41e Merge branch 'master' into pretty-printing 2017-08-25 10:33:36 -04:00
Rob Rix
b7daadf4cb Merge pull request #1321 from github/remove-unused-fixtures
🔥 these un-needed fixtures that duplicate parse expectations
2017-08-24 16:39:11 -04:00
Timothy Clem
86f65b39ff 🔥 these un-needed fixtures that duplicate parse expectations 2017-08-24 12:59:08 -07:00
Rob Rix
3cf40a72e1 Fix the fix to Syntax’ Pretty1 instance. 2017-08-23 12:10:31 -04:00
Rob Rix
7c89e45c53 Add GAlign to the deriving clause. 2017-08-23 12:10:24 -04:00
Rob Rix
0d9b29f6b6 Fix Syntax’ Pretty1 instance. 2017-08-23 12:09:22 -04:00
Rob Rix
622a7b714a Give explicit (generic) definitions of liftPretty for all the syntax types. 2017-08-23 12:08:04 -04:00
Rob Rix
13df366dcd Define Patch’s Pretty1 instance generically. 2017-08-23 12:07:39 -04:00
Rob Rix
2c722a59c7 Define a Generic1 instance for Patch. 2017-08-23 12:07:26 -04:00
Rob Rix
562be941fe Fix up a few manual instances. 2017-08-23 11:52:00 -04:00
Rob Rix
fdd12d4718 Fix up all of the imports. 2017-08-23 11:49:43 -04:00
Rob Rix
9edec90492 Re-export the whole module. 2017-08-23 11:49:29 -04:00
Rob Rix
520212bc34 Give a generic implementation for liftPretty. 2017-08-23 11:48:12 -04:00
Rob Rix
cb2cc432ce Bump prettyprinter to export Pretty1 & Pretty2. 2017-08-23 11:47:36 -04:00
Rob Rix
994789eaaf Add generic implementations. 2017-08-23 11:42:54 -04:00
Rob Rix
e75c99772c Stub in a module for generic lifted pretty-printing. 2017-08-23 11:41:14 -04:00
Rob Rix
e1669b66c1 Bump prettyprinter. 2017-08-23 11:41:06 -04:00
Rob Rix
e44f43e689 🔥 Data.Functor.Classes.Pretty.Orphans. 2017-08-22 14:27:56 -04:00
Rob Rix
9a5f78a6c0 Define Pretty1 for literals without orphans. 2017-08-22 14:26:59 -04:00
Rob Rix
143bbe1908 Define Pretty1 for markup without orphans. 2017-08-22 14:20:56 -04:00
Rob Rix
507b2e02ef Define Pretty1 for comments without orphans. 2017-08-22 14:20:47 -04:00
Rob Rix
367c6a73c5 Define Pretty instances in Data.Syntax without orphans. 2017-08-22 14:20:32 -04:00
Rob Rix
7b10c9976b Derive a Pretty1 instance for Syntax. 2017-08-22 13:56:32 -04:00
Rob Rix
15adce1ec3 DerivePretty1 instances for the à la carte syntax types. 2017-08-22 13:55:49 -04:00
Rob Rix
f9974f7ec1 Define an orphan Pretty instance for SrcLoc. 2017-08-22 13:55:12 -04:00
Rob Rix
3554836034 Bump prettyprinter. 2017-08-22 13:55:02 -04:00
Rob Rix
cf1619b58f Define a Pretty instance for ByteString. 2017-08-22 13:45:09 -04:00
Rob Rix
3d4c52d22e Disable warnings on orphan instances. 2017-08-22 13:40:23 -04:00
Rob Rix
c2e6438bf5 Stub in a module for orphan instances of Pretty, Pretty1, etc. 2017-08-22 13:40:00 -04:00
Rob Rix
b9906df171 Bump prettyprinter for generically-derivable Pretty1. 2017-08-22 13:38:16 -04:00
Rob Rix
3f979ad58e Simplify the Pretty1 instance for Patch. 2017-08-22 13:30:42 -04:00
Rob Rix
768acdd1c8 Simplify the Pretty instance for Records. 2017-08-22 13:17:49 -04:00
Rob Rix
14335fd221 Define an orphan Pretty1 instance for Union. 2017-08-22 13:12:00 -04:00
Rob Rix
41e0ea41a4 Define a Pretty instance for Category. 2017-08-22 13:06:39 -04:00
Rob Rix
35cb3da717 Define Pretty instances for Pos & Span. 2017-08-22 13:05:52 -04:00
Rob Rix
01b197ccc8 Define a Pretty instance for Range. 2017-08-22 13:03:51 -04:00
Rob Rix
b5a833e631 Define Pretty instances for Records. 2017-08-22 13:03:07 -04:00
Rob Rix
d133d3a9e9 Define a Pretty instance for Patch. 2017-08-22 12:59:24 -04:00
Rob Rix
246b220349 Define a Pretty1 instance for Patch. 2017-08-22 12:59:00 -04:00
Rob Rix
75ae8f880f Define a Pretty instance for Free. 2017-08-22 12:53:41 -04:00
Rob Rix
68cc44f91b Define a Pretty1 instance for Free. 2017-08-22 12:53:19 -04:00
Rob Rix
2b278c1688 Define a Pretty instance for Term. 2017-08-22 12:52:09 -04:00
Rob Rix
fc62716003 Define a Pretty1 instance for Term. 2017-08-22 12:51:25 -04:00
Rob Rix
8348dbcf29 Add the prettyprinter libs to the cabal.project file. 2017-08-22 12:50:59 -04:00
Rob Rix
f21d28dab0 Bump prettyprinter to my lifted pretty classes branch. 2017-08-22 12:47:29 -04:00
Rob Rix
e496a41680 Link prettyprinter. 2017-08-22 12:44:27 -04:00