1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 04:11:48 +03:00
Commit Graph

31337 Commits

Author SHA1 Message Date
Ayman Nadeem
200fa85740
Merge pull request #351 from github/semantic-ast-errors
Semantic AST polish
2019-10-24 12:21:39 -04:00
Ayman Nadeem
6603ce73fc change color to noColor 2019-10-24 11:55:47 -04:00
Ayman Nadeem
b711f9ed48 tackle JSON output in separate PR 2019-10-24 11:51:20 -04:00
Ayman Nadeem
052ac05dc5 COMPOSITION WITH FISHIES 2019-10-24 11:51:09 -04:00
Ayman Nadeem
e2127cacf4 eta reduce 2019-10-24 11:46:05 -04:00
Ayman Nadeem
adfd3bda0d abstract over Format with display 2019-10-24 11:45:43 -04:00
Ayman Nadeem
b5fd84e1bb reformat Format sum type 2019-10-24 11:31:29 -04:00
Ayman Nadeem
8944b279dc refactor format and ast do block 2019-10-24 11:28:53 -04:00
Rob Rix
ff0a577393
🔥 Eq, Ord, & Show instances for all the syntax types. 2019-10-23 17:19:01 -04:00
Patrick Thomson
d17ca69065
Merge pull request #359 from github/you-already-know-too-much
🔥 concrete parsers
2019-10-23 17:14:43 -04:00
Rob Rix
6750a30761
Standardize. 2019-10-23 17:06:36 -04:00
Patrick Thomson
1c039b786b Kill unused function. 2019-10-23 16:05:57 -04:00
Patrick Thomson
bb9f56662f Merge branch 'yes-comment' into compile-string-literals 2019-10-23 15:31:44 -04:00
Patrick Thomson
bf1aebf1f3 Add comments to Core.
I went with the Haskell comment style (`--` for line comments, `{- -}`
for block comments, allowing nested multiline comments. This can be
changed pretty easily.
2019-10-23 15:27:13 -04:00
Patrick Thomson
fde167a236 Better prelude. 2019-10-23 15:10:54 -04:00
Rob Rix
d78adfc09d
🔥 a redundant import. 2019-10-23 15:03:30 -04:00
Rob Rix
d18d122beb
Import the parse effect. 2019-10-23 14:52:34 -04:00
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
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