Rob Rix
a8a3bca972
Fix some missed language extensions.
2019-10-30 13:16:17 -04:00
Rob Rix
7262484a57
Add language extensions to everything.
2019-10-30 12:49:23 -04:00
Rob Rix
559e2e0c59
Fix a missed rename.
2019-10-21 11:42:55 -04:00
Rob Rix
9e20fc889e
Merge branch 'master' into edit-these-patch
2019-10-18 18:06:57 -04:00
Rob Rix
cc2df9de19
Merge pull request #347 from github/join-these-blobs-with-this-one-weird-trick
...
Compute ToCs over precise ASTs
2019-10-18 18:05:25 -04:00
Patrick Thomson
8289e7eb22
Merge remote-tracking branch 'origin/master' into bump-lingo
2019-10-18 10:53:36 -04:00
Rob Rix
50c53c242f
🔥 the Listable1 instance for Both.
2019-10-18 10:46:41 -04:00
Rob Rix
209f8871a5
Rename Patch to Edit.
2019-10-17 22:48:19 -04:00
Rob Rix
7b37f3789f
Rename Data.Patch to Data.Edit.
2019-10-17 22:43:03 -04:00
Rob Rix
f8078518a0
There are four fields.
2019-10-17 13:44:25 -04:00
Rob Rix
e340b43500
Fix the Listable instances for ToC.
2019-10-17 03:45:29 -04:00
Patrick Thomson
ba122b2aae
Bump lingo to 0.3 and remove hack associated with #333 .
...
Now that lingo's language detection returns all possible results for a
given filename, we're able to abolish the workaround where we parsed
the string `"Hack"` into PHP. We have to check ourselves for spurious
results associated with Hack, TSX, and Markdown files, but that's
fitting and proper, rather than doing it behind the scenes in lingo.
2019-10-14 15:55:48 -04:00
Patrick Thomson
94caaab09e
Add test cases so this doesn't happen again.
2019-10-11 12:21:35 -04:00
Rick Winfrey
0c5dbadc05
Update Language spec
2019-10-09 14:23:30 -07:00
Rob Rix
fe349fc3f0
Merge branch 'master' into semantic-tags
2019-09-27 10:00:56 -04:00
Rob Rix
d0f0925c37
🔥 a redundant import.
2019-09-27 10:00:14 -04:00
Patrick Thomson
89b0b4ca45
Remove otiose Listable instances for App and AppMerge.
2019-09-25 16:59:45 -04:00
Patrick Thomson
a2a757c9f5
Convert Data.Semigroup.App.Spec to use Hedgehog.
2019-09-25 16:59:27 -04:00
Patrick Thomson
439d694200
CyclomaticComplexity doesn't need an instance either.
2019-09-24 17:28:35 -04:00
Patrick Thomson
936d67fc77
Nothing uses ListableF anymore.
2019-09-24 17:26:26 -04:00
Patrick Thomson
39e404451d
Remove instances for These and Gram.
2019-09-24 17:23:18 -04:00
Patrick Thomson
a4d42fbae6
Remove Free/FreeF and drop free dependency.
2019-09-24 17:21:45 -04:00
Patrick Thomson
67ed31e65f
Remove unused syntax Listable instances.
...
Orphan instances don't come for free: they slow down compilation both
directly and indirectly (in that modules that use orphans pay extra
costs for searching the instance space, according to SPJ).
2019-09-24 17:15:41 -04:00
Rob Rix
c86186a414
🔥 a redundant import.
2019-09-20 16:13:46 -04:00
Rob Rix
2ce8b515b6
🔥 Data.Source.Spec.
2019-09-20 16:11:54 -04:00
Patrick Thomson
7b599a6499
Use Source.Source instead of Data.Source.
2019-09-20 15:51:49 -04:00
Patrick Thomson
948deb489f
Fixup remaining test cases.
2019-09-20 15:47:08 -04:00
Rob Rix
f6e4864836
Move the span/range stuff into CMark.
2019-09-20 15:03:26 -04:00
Rob Rix
0f8e69c72f
Switch everything over to using Source.Loc.
2019-09-20 14:51:48 -04:00
Rob Rix
17c61c19d1
Switch everything over to using Source.Span.
2019-09-20 14:38:03 -04:00
Rob Rix
1d5e15010f
Switch everything over to using Source.Range.
2019-09-20 14:28:25 -04:00
Patrick Thomson
312cbcc269
Merge branch 'master' into property-test-scientific-parser
2019-09-03 13:46:06 -04:00
Timothy Clem
5763cfdfb6
Use tasty for testing instead
2019-08-19 10:34:55 -07:00
Timothy Clem
0aab5ebd55
Replace supportedExts
2019-08-15 15:48:17 -07:00
Patrick Thomson
95b7d5e065
Add another Scientific generator and test with it.
2019-08-08 13:55:37 -04:00
Patrick Thomson
1dee6ae93c
Some more tests and descriptions for Scientific generators.
2019-08-08 11:44:57 -04:00
Patrick Thomson
f9aa9923b7
Port hspec tests to tasty-hunit and institute simple property test.
2019-08-07 11:26:54 -04:00
Rob Rix
3106bd2ddd
Note a problem with coverage testing.
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:50:45 -04:00
Rob Rix
668efbbd4c
Tidy up the imports.
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:49:36 -04:00
Rob Rix
1b427b995b
Revert "Test the coverage of source values."
...
This reverts commit b658804193
.
2019-08-06 16:46:33 -04:00
Rob Rix
b658804193
Test the coverage of source values.
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:38:27 -04:00
Rob Rix
0af81b1fef
Label using classify.
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:29:01 -04:00
Rob Rix
3beda88f32
Move the label call into summarize.
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:23:35 -04:00
Rob Rix
698497b1a0
Tidy up the sourceLineRanges tests using prop.
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:22:38 -04:00
Patrick Thomson
d2d1869d08
No orphans in this file anymore!
2019-08-06 13:33:18 -04:00
Patrick Thomson
6fe27108a3
No need to pull in QC; Hedgehog's label
can do this.
2019-08-06 13:27:58 -04:00
Rob Rix
5ea3f651e0
Spacing.
2019-08-02 16:45:48 -04:00
Rob Rix
831a7d6f09
Label the exhaustiveness property.
2019-08-02 16:01:48 -04:00
Rob Rix
99b1287f2c
Decrease the frequency of newlines & carriage returns.
2019-08-02 15:59:53 -04:00
Rob Rix
e9eecddca5
Correct the sourceLineRanges test.
2019-08-02 15:56:25 -04:00