1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
Commit Graph

31302 Commits

Author SHA1 Message Date
Patrick Thomson
edd83d466f Merge branch 'look-up-its-a-core' into compile-string-literals 2019-10-23 14:52:29 -04:00
Rob Rix
2e46d73324
📝 ModuleResult. 2019-10-23 14:35:10 -04:00
Rob Rix
7e9701e436
Merge pull request #350 from github/abstract-a-la-carte-terms
Abstract à la carte terms
2019-10-23 14:32:43 -04:00
Patrick Thomson
21dd102e61 Implement member lookup in a way that doesn't crash the scope graph 2019-10-23 14:30:45 -04:00
Rick Winfrey
21d5a4db38 Don't depend on local semantic-source package 2019-10-23 10:45:48 -07:00
Patrick Thomson
9b46692cbd Don't try to implement this yet. 2019-10-23 13:15:42 -04:00
Patrick Thomson
14c3faf750 the tests pass now 2019-10-23 13:09:26 -04:00
Rob Rix
71185d0fbb
Revert "Define a Bifunctor instance for Value."
This reverts commit aec82b3743.
2019-10-23 12:25:07 -04:00
Patrick Thomson
91558a7d65 Add generator for .? (this kills the crab^Wtests). 2019-10-23 12:24:35 -04:00
Rob Rix
93db4cfa45
Use the helpers anywhere we look up a parser. 2019-10-23 12:17:10 -04:00
Rob Rix
dc13bd05d3
Use the helpers in parseWith/parsePairWith. 2019-10-23 12:15:56 -04:00
Rob Rix
619cbd3b67
Define a helper to select a parser for a blob. 2019-10-23 12:12:59 -04:00
Rob Rix
2daaa1f571
Link the reference. 2019-10-23 12:12:49 -04:00
Rob Rix
c42ebf27e3
Define a helper to select a parser for the given language. 2019-10-23 12:11:50 -04:00
Rob Rix
31b325c101
Rename all the abstract parsers. 2019-10-23 12:09:17 -04:00
Rob Rix
a0b04fc1db
Rename jsonParserPrecise' to jsonParser'. 2019-10-23 12:07:26 -04:00
Rob Rix
a39dc6cbf6
🔥 all the concrete parsers. 2019-10-23 12:06:56 -04:00
Patrick Thomson
8f0790ced2 Add pretty-printing support. 2019-10-23 12:05:40 -04:00
Patrick Thomson
9b56f60132 Add parsing support. 2019-10-23 12:05:35 -04:00
Patrick Thomson
b58132ba0e Unused imports. 2019-10-23 12:05:28 -04:00
Rob Rix
0d17b9691f
Reuse the abstract parsers for Python. 2019-10-23 12:02:07 -04:00
Ayman Nadeem
4475629775 order where clause operations chronologically 2019-10-23 12:01:55 -04:00
Rob Rix
4c282911a1
Don’t export the concrete parsers. 2019-10-23 11:59:59 -04:00
Patrick Thomson
cb783e6646 Make this a boolean operator pending resolution of #358. 2019-10-23 11:59:23 -04:00
Ayman Nadeem
ed80f90faf visual separation ftw 2019-10-23 11:58:51 -04:00
Rob Rix
790e823a50
Select the Python parser abstractly. 2019-10-23 11:58:02 -04:00
Rob Rix
52b0d4c508
Select an abstract parser. 2019-10-23 11:48:01 -04:00
Rob Rix
d5cc356a8a
Map results to unit in evaluateProject. 2019-10-23 11:46:33 -04:00
Rob Rix
e9ca7cb1b8
Select an abstract parser. 2019-10-23 11:45:45 -04:00
Rob Rix
be51d3139f
Align. 2019-10-23 11:40:37 -04:00
Rob Rix
b8ff23f2c5
Inline the evaluators. 2019-10-23 11:40:23 -04:00
Rob Rix
46094f3e59
Fix which project we eval. 2019-10-23 11:39:50 -04:00
Rob Rix
9dcfbd8f2c
Spacing. 2019-10-23 11:39:30 -04:00
Rob Rix
d6d16c1c0d
Factor justEvaluating into evaluateProject. 2019-10-23 11:38:10 -04:00
Rob Rix
2dffafa12f
Type applications. 2019-10-23 11:36:59 -04:00
Rob Rix
97a31acc7a
Don’t require an NFData instance for the terms. 2019-10-23 11:36:36 -04:00
Rob Rix
a630778792
Merge branch 'abstract-a-la-carte-terms' into you-already-know-too-much 2019-10-23 11:29:44 -04:00
Rob Rix
11ce088331
Test tagging using abstract parsing. 2019-10-23 11:26:27 -04:00
Rob Rix
52af054614
Move parseTestFile into Tags.Spec. 2019-10-23 10:52:26 -04:00
Rob Rix
a237ca2266
Split out a helper to parse a Blob straight to a list of tags. 2019-10-23 10:48:38 -04:00
Rob Rix
47c6c4bc61
Pass the Blob to tags. 2019-10-23 10:45:19 -04:00
Rob Rix
d2569a8f59
Compose tagsToFile onto a new tagsForTerm function. 2019-10-23 10:42:13 -04:00
Rob Rix
52ada3cdae
Use the abstracted evaluateProject helper. 2019-10-23 10:34:36 -04:00
Rob Rix
35c429399c
Coerce straight to the desired term type. 2019-10-23 10:34:10 -04:00
Patrick Thomson
5d5113ff69 fix brokenness that crept in overnight (?) 2019-10-23 10:31:55 -04:00
Rob Rix
22f3440e0e
Rename TestEvaluatingResult to TestEvaluatingState and add an actual result synonym. 2019-10-23 10:27:38 -04:00
Rob Rix
6b6574eb56
Correct the term type. 2019-10-23 10:21:06 -04:00
Rob Rix
0651d21e63
Define a type synonym for evaluating results. 2019-10-23 10:16:46 -04:00
Rob Rix
fa02ff0a45
Revert "Only coerce the errors."
This reverts commit c9022d863c.
2019-10-23 10:02:33 -04:00
Rob Rix
73ddec60c1
Rename the import of Data.Sum. 2019-10-23 10:01:27 -04:00