1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00
Commit Graph

42 Commits

Author SHA1 Message Date
Rob Rix
cf8b344efc
Handle all the unimplemented cases with a helper. 2019-06-19 10:37:11 -04:00
Rob Rix
1164c87b01
Compile function definitions.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-06-17 12:01:55 -04:00
Rob Rix
d64e12d868
Compile identifiers.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-06-17 11:18:08 -04:00
Rob Rix
31d396ee91
Merge branch 'master' into semantic-python 2019-06-17 10:54:55 -04:00
Rob Rix
f2a9ebef39
Qualify the import of TreeSitter.Python.AST. 2019-06-12 10:23:42 -04:00
Rob Rix
b1a89c0d0e
🔥 redundant parens. 2019-06-11 17:10:19 -04:00
Rob Rix
6dd5010059
🔥 the orphan instances. 2019-06-11 17:10:09 -04:00
Rob Rix
9088708c7b
Compile boolean literals. 2019-06-11 13:10:41 -04:00
Rob Rix
eb7244236f
Split out instances for PrimaryExpression. 2019-06-11 13:09:14 -04:00
Rob Rix
c15bbcb00b
Not via. 2019-06-11 13:05:48 -04:00
Rob Rix
1a6812ed06
Split out instances for Expression. 2019-06-11 13:03:17 -04:00
Rob Rix
236771702b
Derive the Either instance. 2019-06-11 13:01:05 -04:00
Rob Rix
bd9aaa541e
Really really. 2019-06-11 13:00:04 -04:00
Rob Rix
4e24a1ee9e
No, really alphabetize. 2019-06-11 12:59:27 -04:00
Rob Rix
ead494ad3f
These are incurred by IfStatement. 2019-06-11 12:57:27 -04:00
Rob Rix
c8d1de416d
Alphabetize. 2019-06-11 12:56:37 -04:00
Rob Rix
5b539e8d4d
Add a FIXME re: the orphan instances. 2019-06-11 12:55:46 -04:00
Rob Rix
3728f06267
Split out the SimpleStatement cases. 2019-06-11 12:54:25 -04:00
Rob Rix
3b7a2f17b0
DerivingVia. 2019-06-11 12:51:47 -04:00
Rob Rix
602494f605
Define generic compilation of sum types. 2019-06-11 12:43:20 -04:00
Rob Rix
c4351553cb
Compile IfStatement. 2019-06-11 12:29:09 -04:00
Rob Rix
c3184f0354
Extract the default definition. 2019-06-11 12:13:21 -04:00
Rob Rix
0a329ae55b
Stub in compilation of statements. 2019-06-11 12:12:28 -04:00
Rob Rix
135b8b11c3
Give a default definition for Compile which just fails. 2019-06-11 12:12:04 -04:00
Rob Rix
07fa5567e5
Move the Either instance up. 2019-06-11 12:09:38 -04:00
Rob Rix
f09b3614d6
Define compilation of Either. 2019-06-11 12:08:52 -04:00
Rob Rix
37cab16c95
Rephrase Compile as a typeclass. 2019-06-11 12:06:11 -04:00
Rob Rix
23e18ade2e
Note a FIXME. 2019-06-11 12:05:06 -04:00
Rob Rix
41afbd6a91
Rename compileModule to compile. 2019-06-11 12:04:12 -04:00
Rob Rix
7da6b959f1
Error messages are good, actually. 2019-06-11 12:03:48 -04:00
Rob Rix
598000c3ab
Stub in compilation to Core. 2019-06-11 11:59:29 -04:00
Rob Rix
fb5b89817c
Qualify Python stuff if we need to. 2019-06-11 11:54:39 -04:00
Rob Rix
dd0831962b
Stub in a function to compile a Python module. 2019-06-11 11:47:48 -04:00
Rob Rix
04762dcbc4
Add an export list. 2019-06-11 11:45:46 -04:00
Rob Rix
5a2a9f4532
Turn on warnings. 2019-06-11 11:44:43 -04:00
Rob Rix
d09ab401c0
Add stability fields to core & python. 2019-06-11 11:25:20 -04:00
Rob Rix
40e9999b02
Add bug-reports fields. 2019-06-11 11:23:38 -04:00
Rob Rix
6894a756b1
Stub in a Language.Python.Core module. 2019-06-11 11:22:10 -04:00
Rob Rix
5563bc19a0
Depend on tree-sitter-python. 2019-06-11 11:20:58 -04:00
Rob Rix
52fa1a1c4a
Cabal complains if this file isn’t here. 2019-06-11 11:13:26 -04:00
Rob Rix
ebc025b600
Add some dependencies. 2019-06-11 11:12:12 -04:00
Rob Rix
4a9255a76c
Stub in a semantic-python package. 2019-06-11 11:06:11 -04:00