1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
Commit Graph

148 Commits

Author SHA1 Message Date
Patrick Thomson
af1d62a75b Depend on newer tree-sitter. 2019-12-11 15:04:18 -05:00
Timothy Clem
ec19540425
++tree-sitter 0.7
Also bumps parsers that changed
2019-12-10 16:34:26 -05:00
Rob Rix
a461c72ae4
Bump a few tree-sitter-* versions. 2019-12-10 15:10:25 -05:00
Ayman Nadeem
09b49637bf get rid of redundant imports 2019-11-19 15:39:45 -05:00
Ayman Nadeem
0bc12df5a3 stop warning on unused top binds 2019-11-19 15:39:37 -05:00
Ayman Nadeem
94432be85f add warnings to semantic-ast.cabal 2019-11-19 15:38:55 -05:00
Ayman Nadeem
200fa85740
Merge pull request #351 from github/semantic-ast-errors
Semantic AST polish
2019-10-24 12:21:39 -04:00
Ayman Nadeem
6603ce73fc change color to noColor 2019-10-24 11:55:47 -04:00
Ayman Nadeem
b711f9ed48 tackle JSON output in separate PR 2019-10-24 11:51:20 -04:00
Ayman Nadeem
052ac05dc5 COMPOSITION WITH FISHIES 2019-10-24 11:51:09 -04:00
Ayman Nadeem
e2127cacf4 eta reduce 2019-10-24 11:46:05 -04:00
Ayman Nadeem
adfd3bda0d abstract over Format with display 2019-10-24 11:45:43 -04:00
Ayman Nadeem
b5fd84e1bb reformat Format sum type 2019-10-24 11:31:29 -04:00
Ayman Nadeem
8944b279dc refactor format and ast do block 2019-10-24 11:28:53 -04:00
Ayman Nadeem
4475629775 order where clause operations chronologically 2019-10-23 12:01:55 -04:00
Ayman Nadeem
ed80f90faf visual separation ftw 2019-10-23 11:58:51 -04:00
Ayman Nadeem
a2cd91579f need traverse_ from Data.Foldable 2019-10-22 15:29:23 -04:00
Ayman Nadeem
79d971c432 express do block as composition 2019-10-22 15:28:27 -04:00
Ayman Nadeem
090ebfeffc extract lambda into a named function in where clause 2019-10-22 13:53:09 -04:00
Ayman Nadeem
a9f6068a7b color can only have if pretty 2019-10-22 13:41:13 -04:00
Ayman Nadeem
f876c0b5e0 redundant do blocks 2019-10-22 13:40:48 -04:00
Ayman Nadeem
0bee5c5d25 clean up usage docs 2019-10-22 13:40:35 -04:00
Ayman Nadeem
9b17db51b1 add qualified import 2019-10-22 13:40:27 -04:00
Ayman Nadeem
4c0de190ec use qualified imports to clean stuff up 2019-10-22 13:09:13 -04:00
Ayman Nadeem
45abf90917 indent case statements because lexical scoping 2019-10-22 12:33:19 -04:00
Ayman Nadeem
3e754c35b1 use for_ 2019-10-22 12:33:05 -04:00
Ayman Nadeem
1761656d27 jk use for_ so we don't ignore results 2019-10-22 12:28:23 -04:00
Ayman Nadeem
c67dc33184 let's support multiple formats 2019-10-22 10:50:58 -04:00
Ayman Nadeem
cf30f7672f tracked this by accident 2019-10-22 10:50:48 -04:00
Ayman Nadeem
659dae0bc8 use for because for_ discards the results 2019-10-21 13:56:03 -04:00
Rob Rix
d4fe4cedff
Add a tested-with field to semantic-ast. 2019-10-21 13:30:57 -04:00
Ayman Nadeem
3a778342f8 no longer provide --flag 2019-10-21 12:57:31 -04:00
Ayman Nadeem
90be70f045 specify usage pattern 2019-10-21 12:57:16 -04:00
Ayman Nadeem
86aa2be662 need for_ 2019-10-20 11:51:12 -04:00
Ayman Nadeem
e67ee6ee7b take multiple filepaths 2019-10-20 11:51:02 -04:00
Ayman Nadeem
ca30fe6c15 eliminate source into [ByteString] 2019-10-20 11:50:43 -04:00
Ayman Nadeem
19a0594fd1 bytestrings are now a list 2019-10-20 11:50:15 -04:00
Ayman Nadeem
83e0278119 discard thinking comments 2019-10-18 17:21:04 -04:00
Ayman Nadeem
7dcec7538b if option is specified, print no-color 2019-10-18 17:20:31 -04:00
Ayman Nadeem
bd7a16a52f add color to generateAST 2019-10-18 17:20:06 -04:00
Ayman Nadeem
d5be5ba582 make default color and option no-color 2019-10-18 17:19:52 -04:00
Ayman Nadeem
718dd27e4a need to use pPrintNoColor for no color option 2019-10-18 17:19:11 -04:00
Ayman Nadeem
51ce6dd303 create a boolean option to print with color 2019-10-18 13:43:54 -04:00
Ayman Nadeem
67760145e8 case over Format 2019-10-18 11:23:37 -04:00
Ayman Nadeem
1537f43fde add Pretty constructor to Format 2019-10-18 11:23:23 -04:00
Ayman Nadeem
fb5132d43f pull pretty-simple into semantic-ast 2019-10-18 11:23:01 -04:00
Ayman Nadeem
b0fb726d4d case over format 2019-10-18 11:14:56 -04:00
Ayman Nadeem
e0c60bf166 utf8-string is irrelevant now 2019-10-17 17:31:39 -04:00
Ayman Nadeem
a4ddeb45a4 go back to pack 2019-10-17 17:31:04 -04:00
Ayman Nadeem
4caeefe849 depend on utf8-string 2019-10-17 13:41:38 -04:00