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

7805 Commits

Author SHA1 Message Date
Rob Rix
839c64b4a3 Rename Command.Files to Files. 2017-07-19 19:57:36 -04:00
Rob Rix
8d73a83cdf Bind instead of using do notation. 2017-07-19 17:41:06 -04:00
Rob Rix
71356ead42 Construct a single task. 2017-07-19 17:39:48 -04:00
Rob Rix
beb6c4788c WriteToOutput takes a handle or a path. 2017-07-19 17:29:38 -04:00
Rob Rix
766f71ba90 🔥 the obsolete getOutputPath logic. 2017-07-19 17:26:52 -04:00
Rob Rix
aad5e2d396 Correct the docs. 2017-07-19 17:24:06 -04:00
Rob Rix
1cb3541efe Construct a task in the options parser. 2017-07-19 17:22:10 -04:00
Rob Rix
a85aa1f8ff Carry the language in error declarations. 2017-07-19 17:17:39 -04:00
Rob Rix
c8416ee0fd Pass blobs to the declaration algebras. 2017-07-19 17:16:51 -04:00
Rob Rix
c0f894162e Derive an NFData instance for Language. 2017-07-19 17:15:44 -04:00
Rob Rix
4d5ffe7a11 🔥 ParseMode. 2017-07-19 15:46:49 -04:00
Rob Rix
fe21d792fe Define runParse by composition. 2017-07-19 15:46:31 -04:00
Rob Rix
17af42e21e Define runDiff by composition. 2017-07-19 15:46:27 -04:00
Rob Rix
2cce3dd671 Define a Task to write output. 2017-07-19 15:44:22 -04:00
Rob Rix
cbb6c885a4 Define Tasks to read blobs. 2017-07-19 15:41:40 -04:00
Rob Rix
8d43d19296 Construct Eithers for the input source(s). 2017-07-19 15:40:56 -04:00
Rob Rix
97a4f75ca8 Generalize readBlobPairs to lists of path/language pairs. 2017-07-19 15:37:01 -04:00
Rob Rix
6afe6a94a4 Define a high-level operation to read a pair of blobs 2017-07-19 15:28:26 -04:00
Rob Rix
90f4aa38a7 Define a high-level operation to read in blobs. 2017-07-19 15:24:55 -04:00
Rob Rix
ab7b39e771 Align the doc comments for AssignmentParser. 2017-07-19 15:17:02 -04:00
Rob Rix
abd0e5ab41 Correct the docs for readFile. 2017-07-19 15:14:21 -04:00
Rob Rix
446ee85894 Pass extant blobs’ paths to showPos. 2017-07-19 15:02:27 -04:00
Rob Rix
b11cf64103 Pass the blob to printError. 2017-07-19 14:59:42 -04:00
Rob Rix
4d62b8be3f Merge branch 'master' into task-input-output 2017-07-19 14:47:53 -04:00
Rob Rix
97c8b90c83 runParser takes a Blob. 2017-07-19 14:47:07 -04:00
Rob Rix
6dd56e5bd9 Parse tasks take blobs. 2017-07-19 14:42:02 -04:00
Rob Rix
5481883b9f 🔥 Command. 2017-07-19 14:14:07 -04:00
Rob Rix
1c51f23ef4 Import all the symbols from Command.Files instead of Command. 2017-07-19 14:13:22 -04:00
Rob Rix
b630a11b6e 🔥 Arguments. 2017-07-19 14:08:38 -04:00
Rob Rix
7aa8ea1150 Export the DiffMode/ParseMode constructors. 2017-07-19 14:08:32 -04:00
Rob Rix
be5de7acaf Move DiffMode into SemanticCmdLine. 2017-07-19 14:07:18 -04:00
Rob Rix
4df9192d02 Move ParseMode into SemanticCmdLine. 2017-07-19 14:05:23 -04:00
Rob Rix
2cd59243a0 🔥 DiffArguments. 2017-07-19 14:04:39 -04:00
Rob Rix
b74cc92213 🔥 ParseArguments. 2017-07-19 14:04:33 -04:00
Rob Rix
30d4c6a6e8 🔥 ProgramMode. 2017-07-19 14:04:17 -04:00
Rob Rix
5e13616358 🔥 Arguments. 2017-07-19 14:03:51 -04:00
Rob Rix
1a3708a462 Format the export list. 2017-07-19 14:02:22 -04:00
Rob Rix
e03ba6b0e4 Define diffing/parsing CLI parsers in terms of SomeRenderer and the action to be performed. 2017-07-19 14:00:30 -04:00
Rob Rix
5ea5b7fb05 Export SomeRenderer. 2017-07-19 13:59:20 -04:00
Rob Rix
0722f09626 Define a SomeRenderer type to abstract type indices away. 2017-07-19 13:54:48 -04:00
Rick Winfrey
9d1f4f19ca Update ErrorSummary to use MaybeLanguage 2017-07-18 17:18:09 -07:00
Rick Winfrey
c92157b988 🔥 Undetected constructor
- Representing as Maybe Language is helpful for blobs that are null.
2017-07-18 17:17:33 -07:00
Rick Winfrey
c7eb0dc482 🔥 language from Summaries; 🔥 language from JSONSummary
- We only care about the language when there's a parse error, so language is added to ErrorSummary only
2017-07-18 16:49:39 -07:00
Rick Winfrey
565445039e Add language to Summaries 2017-07-18 15:59:55 -07:00
Rick Winfrey
9d2119ffc8 Add language field to JSONSummary 2017-07-18 15:58:37 -07:00
Rick Winfrey
7fdc32b77c Add Undetected Language constructor 2017-07-18 15:52:18 -07:00
Timothy Clem
74d7bc9d36 Merge branch 'master' into constructor-name 2017-07-18 11:34:54 -07:00
Timothy Clem
28a3313d12 Rename constructorLabelWithSource => constructorNameAndConstantFields 2017-07-18 11:33:28 -07:00
Timothy Clem
31a2e6a08d Return a ConstructorLabel instead of a ByteString 2017-07-18 11:32:59 -07:00
Timothy Clem
b0e98bd6b5 Reduce language pragmas needed 2017-07-18 11:23:37 -07:00