1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

13837 Commits

Author SHA1 Message Date
Rob Rix
844b8d0dc3 Run tasks in the spec. 2017-07-19 17:23:44 -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
e5f09b38fc Merge pull request #1227 from github/language-toc-error-summary
Add language to JSON Error Summaries
2017-07-19 14:46:43 -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
1fa7b11cc5 🔥 the obsolete import of Arguments. 2017-07-19 14:09:19 -04:00
Rob Rix
0b32ff0a3b 🔥 DiffFixture. 2017-07-19 14:09:11 -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
9d4737048d Correct the specs. 2017-07-19 14:01:56 -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
6fc07e18ce Add language field to errors test 2017-07-19 10:44:38 -07:00
Rick Winfrey
607392ded1 Add language to ToC spec tests 2017-07-19 10:34:48 -07: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
Rob Rix
e0013c3a23 Merge pull request #1226 from github/constructor-name
Syntax constructor labels
2017-07-18 15:30:50 -04: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