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

83 Commits

Author SHA1 Message Date
Ayman Nadeem
5bbf633909 bump tree-sitter to correct version 2019-10-15 17:19:21 -04:00
Ayman Nadeem
22a6a4f708 remove tree-sitter version altogether 2019-10-15 15:35:07 -04:00
Ayman Nadeem
c9219f71c3 Either makes this easier 2019-10-15 13:27:54 -04:00
Ayman Nadeem
be5f00ee50 express choice between either string or filepath options 2019-10-15 13:27:20 -04:00
Ayman Nadeem
d7ce6ef1d3 avoid the possibility of two Nothings 2019-10-15 13:23:00 -04:00
Ayman Nadeem
927a987f0d todos 2019-10-11 13:15:21 -04:00
Ayman Nadeem
e97daf47d5 I want to specify format first 2019-10-11 13:10:01 -04:00
Ayman Nadeem
7d6740224b move format in SemanticAST 2019-10-11 13:09:37 -04:00
Ayman Nadeem
0b6e3d5b3a parseAST handles this 2019-10-11 13:05:31 -04:00
Ayman Nadeem
7e358a8c2e parseAST handles this 2019-10-11 13:05:09 -04:00
Ayman Nadeem
08cbd88e71 will need to replace this with alternation above 2019-10-11 13:04:40 -04:00
Ayman Nadeem
db9e7da48f this has been subsumed by SemanticAST 2019-10-11 12:50:37 -04:00
Ayman Nadeem
cf609451ae lord forgive me for this nested case statement 2019-10-11 12:49:57 -04:00
Ayman Nadeem
5d4b34b39b downstream impact of changing datatype fields 2019-10-11 12:49:16 -04:00
Ayman Nadeem
9afcf11b83 this means sourceString now has to be an option 2019-10-11 12:48:53 -04:00
Ayman Nadeem
b2f2340c4c include both inputs in SemanticAST 2019-10-11 12:48:40 -04:00
Ayman Nadeem
a11decefcd remove flag for Normal/Verbose outputs 2019-10-10 15:02:21 -04:00
Ayman Nadeem
74d7802571 rename CLI to Main 2019-10-10 15:01:55 -04:00
Ayman Nadeem
c4a3217f8e add dependencies to executable part of cabal file 2019-10-10 15:00:19 -04:00
Ayman Nadeem
a8f4be8c72 Main squeeze 2019-10-10 14:59:56 -04:00
Ayman Nadeem
40565dd093 import CLI 2019-10-10 14:26:56 -04:00
Ayman Nadeem
e52b82ba5b import module with the right pack 2019-10-10 14:09:35 -04:00
Ayman Nadeem
e575b07fc4 typo 2019-10-10 14:09:24 -04:00
Ayman Nadeem
9098f1226a actually need the first element and to convert to bytestring 2019-10-10 14:08:59 -04:00
Ayman Nadeem
a589448ea2 add Read instances 2019-10-10 14:08:41 -04:00
Ayman Nadeem
5a707829d2 remove this library it's wrong 2019-10-10 13:17:27 -04:00
Ayman Nadeem
5b7b699415 remove unix 2019-10-10 13:14:59 -04:00
Ayman Nadeem
d9bfa588ce maybe I need bytestring not IO? 2019-10-10 13:14:24 -04:00
Ayman Nadeem
267ae4d46e reformat 2019-10-10 13:14:15 -04:00
Ayman Nadeem
b83e28b8de reformat Format 2019-10-10 13:13:51 -04:00
Ayman Nadeem
fc97a71b1e bye felicia 2019-10-10 13:13:35 -04:00
Ayman Nadeem
10eb0fe17f fix comment 2019-10-10 13:13:26 -04:00
Ayman Nadeem
29725e38d7 s p a c e 2019-10-03 18:56:58 -04:00
Ayman Nadeem
4a0faaad8a format is no longer a String 2019-10-03 18:56:34 -04:00
Ayman Nadeem
54d4cb9111 derive Read instance 2019-10-03 18:56:20 -04:00
Ayman Nadeem
7c221edcb7 this is no longer a string 2019-10-03 18:56:11 -04:00
Ayman Nadeem
6bd28316b3 need a datatype for input 2019-10-03 18:22:50 -04:00
Ayman Nadeem
572f4a555e move this 2019-10-03 18:12:16 -04:00
Ayman Nadeem
eaa38b3736 maybe introduce a separate datatype for formats? 2019-10-03 18:12:04 -04:00
Ayman Nadeem
40844a6c16 generateAST is responsible for parsing the bytestring 2019-10-03 18:11:44 -04:00
Ayman Nadeem
d8757e898c factor opts out of main 2019-10-03 18:11:28 -04:00
Ayman Nadeem
29e8048785 allow user to pass in a file or stdin 2019-10-03 17:57:21 -04:00
Ayman Nadeem
7570af708e define a way to pass in a file 2019-10-03 17:56:54 -04:00
Ayman Nadeem
ac5e0af406 define a way to pass in something from stdin 2019-10-03 17:56:38 -04:00
Ayman Nadeem
17f696fd49 change main to call generateAST 2019-10-02 15:25:11 -04:00
Ayman Nadeem
b4a0968406 move parseByteString into new generateAST function 2019-10-02 15:25:03 -04:00
Ayman Nadeem
ebdf8032e4 create a function to specify command line help text 2019-10-02 15:24:33 -04:00
Ayman Nadeem
edc214ce05 create semanticAST datatype 2019-10-02 15:24:17 -04:00
Ayman Nadeem
0abb65e4f4 let's try to use opt-parse applicative now 2019-10-02 14:34:58 -04:00
Ayman Nadeem
3e17a9b50d back to head 2019-10-02 14:34:41 -04:00