1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

363 Commits

Author SHA1 Message Date
Patrick Thomson
760c52e04f Clean up some instances 2020-01-14 15:28:04 -05:00
Patrick Thomson
ae4ca650e8 Persist todo entries. 2020-01-14 15:18:56 -05:00
Patrick Thomson
d6326dfe90 Neither are these 2020-01-14 15:14:39 -05:00
Patrick Thomson
b127320b05 these files aren't anything 2020-01-14 15:12:57 -05:00
Patrick Thomson
0048017d03 Run this on CI. 2020-01-14 15:04:18 -05:00
Patrick Thomson
b38631c7b5 add version bounds 2020-01-14 15:03:06 -05:00
Patrick Thomson
f94e6c5431 get our first test cases up 2020-01-14 14:53:10 -05:00
Patrick Thomson
c8989c323a move this to an actual unit test 2020-01-14 14:48:58 -05:00
Patrick Thomson
90ca2c8b3f it works! 2020-01-14 14:44:08 -05:00
Patrick Thomson
e9247ab8a8 Make declare actually do something… in theory. 2020-01-14 14:19:57 -05:00
Patrick Thomson
56145869a4 make semantic-python build 2020-01-14 11:48:39 -05:00
Patrick Thomson
96a5bf11c6 start moving ScopeGraph to its own project 2020-01-14 11:13:00 -05:00
Patrick Thomson
f10cd258cb figured out how to share the SingleIdentifier pattern synonym. 2020-01-13 16:46:46 -05:00
Patrick Thomson
694306c106 it helps to parse the right file 🤦 2020-01-13 15:06:15 -05:00
Patrick Thomson
b8d2dcb30d fix merge fallout 2020-01-13 14:41:26 -05:00
Patrick Thomson
711d240a61 pull in some pattern synonyms 2020-01-13 14:40:17 -05:00
Patrick Thomson
3d9be6a5d2 stop relying on side effects 2020-01-13 14:40:17 -05:00
joshvera
3e80585199 add assignment instances 2020-01-13 14:35:36 -05:00
Patrick Thomson
f1bdfcd86e Move ToScopeGraph into its own module to break a cycle. 2020-01-13 14:05:31 -05:00
Patrick Thomson
1f93cc02ff okay, now we just need to define Assignment 2020-01-13 12:43:57 -05:00
Patrick Thomson
92aa4bbd0b even more instances 2020-01-13 12:36:42 -05:00
Patrick Thomson
cc37a0c460 even more instances, and build onChildren helper 2020-01-13 12:26:02 -05:00
Patrick Thomson
79def2cb04 even more instances 2020-01-13 11:37:56 -05:00
Patrick Thomson
f7c27f8857 start defining some instances 2020-01-13 10:48:49 -05:00
Patrick Thomson
24053a1477 Sample definition for module stuff. Now to write some Generics code. 2020-01-13 10:33:29 -05:00
Patrick Thomson
bb01a368fb This reverts commit e7df755bb6. 2020-01-13 10:08:07 -05:00
Patrick Thomson
524fbba3ad move the Sketch effect into semantic-scope-graph 2020-01-10 18:48:40 -05:00
Patrick Thomson
4ac7d184f4 extract this function 2020-01-10 18:40:07 -05:00
Patrick Thomson
61f8f2e8ba This is nicer with proper use of Monoid and Semigroup. 2020-01-10 18:31:38 -05:00
Patrick Thomson
f9aadbb895 Scope graphing DSL works. 2020-01-10 17:46:37 -05:00
Patrick Thomson
da58e5c69c start creating sketch effect 2020-01-10 15:14:05 -05:00
Patrick Thomson
1906e7b1bb build a DSL for constructing graphs 2020-01-10 12:22:13 -05:00
joshvera
1a94c25d32 Print out a scope graph
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:25:43 -05:00
joshvera
6ff8abbe41 spit out a python tree
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:13:48 -05:00
joshvera
2ec9dc5595 Replace Graph with unlabeled graph
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:02:53 -05:00
joshvera
d9a51bef2d Add a semantic-python stub executable
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:51:37 -05:00
joshvera
3ec51a53f5 Simplify typeclasses
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:51:25 -05:00
joshvera
4ba5989776 Add a ToScopeGraph interface in semantic-python 2020-01-08 12:29:17 -05:00
Timothy Clem
52b24e55ec Use vertical style pragmas 2020-01-06 09:30:36 -08:00
Timothy Clem
87954ae399 Some record puns 2020-01-06 09:23:19 -08:00
Timothy Clem
12428e4988 Try to always use tree-sitter 0.7.2 2019-12-18 10:59:52 -08:00
Timothy Clem
b2f10d0d6a Merge remote-tracking branch 'origin/master' into test-precise-parsing 2019-12-18 08:35:57 -08:00
Patrick Thomson
266a720fa9 Use PVP operator. 2019-12-16 12:20:05 -05:00
Patrick Thomson
9817b686e5 Merge remote-tracking branch 'origin/master' into glorious-ghc-upgrade-8.8 2019-12-16 12:14:47 -05:00
Rob Rix
ae6b2849f2
Merge pull request #404 from github/none-is-the-loneliest-umber
Compile Python None expressions.
2019-12-16 09:34:05 -05:00
Timothy Clem
7e0c6b5417 Give this a signature 2019-12-13 13:43:59 -08:00
Patrick Thomson
da3dbdf148 Merge remote-tracking branch 'origin/master' into glorious-ghc-upgrade-8.8 2019-12-13 16:41:18 -05:00
Patrick Thomson
053306fbbd Forgot to bind None and NoneType in the prelude exports. 2019-12-13 16:21:02 -05:00
Timothy Clem
8ade6db251 Merge remote-tracking branch 'origin/master' into test-precise-parsing 2019-12-13 13:13:54 -08:00
Patrick Thomson
6bebd84deb Officially require GHC 8.8. 2019-12-13 15:48:49 -05:00