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

414 Commits

Author SHA1 Message Date
Rob Rix
243fb331fc Fix stale references to inj in the tests. 2018-05-02 15:55:10 -04:00
Rob Rix
152fe6a6a8 Fix the ambiguity around Sum. 2018-05-02 13:14:51 -04:00
Rob Rix
ebc8e01cc4 Use our own local definition of Sum. 2018-05-02 12:00:15 -04:00
Timothy Clem
95b7fd5888 Resolve module import paths that walk up directory structure (e.g. ../) 2018-04-17 14:13:01 -07:00
Patrick Thomson
c36256e943 Standardize and fix floating-point parsing.
The existence of #1705 showed me that it's time to remove the bandaid
of a fix that was `normalizeFloatString` in #1537. This patch
introduces a proper Attoparsec parser for Scientific values that
handles the vaguaries of cross-language floating-point syntax. We
already depended on Attoparsec indirectly, so adding it as an explicit
dependency is fine.

A unit test is included, with examples taken from the tree-sitter corpora.
2018-04-03 17:02:56 -04:00
joshvera
fdfca338f5 unused constraint 2018-03-22 13:07:32 -04:00
Patrick Thomson
da2a3fc7a8 Initial pass fixing errors raised by weeder.
This fixes a lot of unnecessary exports in the specs, removes a couple
otiose imports (comonads and semigroups are provided by base, I beleive),
and removes a duplicated function.
2018-03-09 12:07:34 -05:00
Timothy Clem
24a470ba7a FreeVariable Name as NonEmpty List 2018-03-08 09:34:09 -08:00
Timothy Clem
835e8f5980 Major updates to identifiers: free variables can be qualified names
(break all the tests too 😁)
2018-03-07 17:01:47 -08:00
Rob Rix
a112fca6f3 Merge branch 'master' into 🔥-monolithic-syntax 2017-12-18 15:07:00 -05:00
Rick Winfrey
d649a514af Update tests 2017-12-01 13:36:38 -08:00
Rick Winfrey
df52854ef0 Merge branch 'master' into cyclomatic-complexity-decorator 2017-12-01 11:23:15 -08:00
Rob Rix
ecfd121575 Merge branch 'master' into 🔥-monolithic-syntax 2017-12-01 12:28:19 -05:00
Rob Rix
4ccf265c4e Opt the tests into using record syntax. 2017-11-30 11:12:23 -05:00
Rob Rix
2bbd4e7a49 Test that derived & generic showsPrec agree for infix constructors. 2017-11-30 10:47:53 -05:00
Rob Rix
6ce7ba6b2a Rename the record test. 2017-11-30 10:45:52 -05:00
Rob Rix
517843b603 Test that generic Show1 shows record selectors. 2017-11-30 10:44:32 -05:00
Rob Rix
4b928a6c4e Test that derived & generic showsPrec agree. 2017-11-30 10:41:26 -05:00
Rob Rix
221a88f452 Test that derived & generic equality agree. 2017-11-30 10:38:46 -05:00
Rob Rix
67f251e223 Combine the generic Eq1, Ord1, & Show1 implementations into a single module. 2017-11-30 10:24:48 -05:00
Rob Rix
f1c4b58797 Merge branch 'musical-modules' into 🔥-monolithic-syntax 2017-11-28 11:59:38 -05:00
Rob Rix
41020b7eae Extract the Declaration algebras into a new module. 2017-11-28 09:17:41 -05:00
Rob Rix
87d533cc2b Rename Language to Data.Language. 2017-11-27 14:17:48 -05:00
Rob Rix
a442bfeea1 Rename the Term spec. 2017-11-27 14:02:03 -05:00
Rob Rix
80fce5b41e Rename the Diff spec. 2017-11-27 13:59:44 -05:00
Rob Rix
f4960b0a0d Rename the Source spec. 2017-11-27 13:49:52 -05:00
Rob Rix
266bd1199a Rename the RWS spec. 2017-11-27 13:48:43 -05:00
Rob Rix
a8e8489fcb Rename the assignment spec. 2017-11-27 13:47:04 -05:00
Rob Rix
3ebb972bd8 Move the Node datatype & AST synonym into Data.AST. 2017-11-27 13:45:37 -05:00
Rob Rix
fd31babd62 Rename Decorator to Decorating.Decorator. 2017-11-27 13:36:00 -05:00
Rob Rix
3a3ed72f96 Rename Renderer to Rendering.Renderer. 2017-11-27 13:30:38 -05:00
Rob Rix
9bfd64905d Rename Data.Syntax.Assignment to Assigning.Assignment. 2017-11-27 13:19:20 -05:00
Rob Rix
bb21a24a93 Rename RWS to Diffing.Algorithm.RWS. 2017-11-27 11:51:39 -05:00
Rob Rix
cdefcdb33d Rename Interpreter to Diffing.Interpreter. 2017-11-27 11:45:08 -05:00
Rob Rix
cfd27ec20c Rename Algorithm -> Diffing.Algorithm. 2017-11-27 11:42:57 -05:00
Rob Rix
3a06686361 Rename Data.Syntax.Algebra to Decorator. 2017-11-22 17:21:22 -05:00
Rob Rix
99c7b5ac6e Merge branch 'master' into 🔥-monolithic-syntax 2017-11-21 12:37:45 -05:00
Rob Rix
7b291087cc Merge branch 'master' into 🔥-monolithic-syntax 2017-11-15 10:52:30 -05:00
Timothy Clem
772762ecef Merge remote-tracking branch 'origin/master' into generate-tags-with-context 2017-11-08 13:16:07 -08:00
Timothy Clem
1c701f9775 Merge remote-tracking branch 'origin/master' into generate-tags-with-context 2017-10-27 11:33:09 -07:00
Timothy Clem
957448518d Pass language around for easy use later 2017-10-27 11:16:05 -07:00
Timothy Clem
6ad5700116 Refactor renderToTags to not go through JSONSummary 2017-10-27 10:18:21 -07:00
Rob Rix
d50731552c 🔥 the test of dimensionality. 2017-10-26 19:45:23 -04:00
Rob Rix
9c1dce7ab9 🔥 the Context/Empty Listable instances. 2017-10-23 11:53:42 -04:00
Rob Rix
c0d833f361 🔥 the Context/Empty tests of the Mergeable laws. 2017-10-23 11:53:36 -04:00
Rob Rix
6a0321c401 Test the Mergeable laws against a Union. 2017-10-23 10:40:33 -04:00
Rob Rix
8245e337ce Define a Listable instance for Union. 2017-10-23 10:36:53 -04:00
Rob Rix
395678bcb3 Test the Mergeable laws against Context & Empty. 2017-10-23 10:32:48 -04:00
Rob Rix
0184f57713 Define Listable instances for Context & Empty. 2017-10-23 10:32:32 -04:00
joshvera
2f26a09905 fix tests 2017-10-19 21:32:27 -04:00