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

31810 Commits

Author SHA1 Message Date
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
Patrick Thomson
7fc6d08bf6 Implement Graph.Class for ScopeGraph 2020-01-08 16:58:38 -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
0c041b5fd8 Remove circular dependency
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:37:37 -05:00
joshvera
4ba5989776 Add a ToScopeGraph interface in semantic-python 2020-01-08 12:29:17 -05:00
Patrick Thomson
1eabf451e0 First haphazard attempt at doing scope graphing. 2020-01-07 13:10:58 -05:00
joshvera
eaeb5b6219 stub out a scope graph effect 2020-01-06 18:12:42 -05:00
joshvera
f5e919ed2b stub in scopegraph project 2020-01-06 17:49:43 -05:00
Timothy Clem
9cd8717cc2
Merge pull request #414 from github/more-precise-parsing
More precise parsing
2020-01-06 13:38:35 -08: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
03ae167523 This toggle with ts halt on error 2019-12-20 11:07:24 -08:00
Timothy Clem
250ede0eec Corpus test updates from changing assignment 2019-12-20 10:47:42 -08:00
Timothy Clem
4a6185eea0 Test all of the examples 2019-12-20 09:40:00 -08:00
Timothy Clem
c1cf16ed03 Handle a couple more function call cases 2019-12-20 09:39:38 -08:00
Timothy Clem
13c49ee0a4 Clean up language mode flags 2019-12-19 15:36:04 -08:00
Timothy Clem
b2ef8e9fe1 Add semantic-tsx 2019-12-19 15:34:39 -08:00
Timothy Clem
e4bf165276 Add semantic-typescript 2019-12-19 14:32:45 -08:00
Timothy Clem
d6311fc79b Put the other languages back in 2019-12-19 11:30:10 -08:00
Timothy Clem
06dcfbe86c Need to be able to skip dirs in go too 2019-12-19 11:15:48 -08:00
Timothy Clem
6797054142 Couple more things to ignore 2019-12-18 14:29:01 -08:00
Timothy Clem
a20e38fe1d Cleanup 2019-12-18 14:28:51 -08:00
Timothy Clem
859675ee84 ParenthesizedExpression allowed here 2019-12-18 14:28:48 -08:00
Rob Rix
570b2c2e47
Merge pull request #413 from github/generalize-fix-broken-cabal-store
Generalize script/fix-broken-cabal-store
2019-12-18 17:15:34 -05:00
Patrick Thomson
f2f6c8eb94
Merge pull request #412 from github/the-thin-read-line
Use fused-effects-readline package rather than a custom implementation.
2019-12-18 17:07:38 -05:00
Rob Rix
a921912ecf
Factor out the prefix. 2019-12-18 16:55:20 -05:00
Timothy Clem
39df10a4f4 Start to test out go 2019-12-18 13:52:56 -08:00
Timothy Clem
5d271a8f49 Fix augmented assignment in Go 2019-12-18 13:52:42 -08:00
Timothy Clem
80ab58bd7f Introduce semantic-go 2019-12-18 13:52:22 -08:00
Rob Rix
bc5796178e
Quote the paths. 2019-12-18 16:50:40 -05:00
Rob Rix
ba84757c41
Generalize the fix-broken-cabal-store script to arbitrary GHC versions. 2019-12-18 16:50:29 -05:00
Timothy Clem
0593436131 Use defaultLanguageModes 2019-12-18 12:43:13 -08:00
Timothy Clem
0392c43b45 Cleanup this script 2019-12-18 12:43:12 -08:00
Timothy Clem
d2e4713921
Merge pull request #396 from github/test-precise-parsing
Test precise parsing and compare precise vs. a la carte symbols output
2019-12-18 12:42:45 -08:00
Timothy Clem
4effc2b10b Try to bust these caches 2019-12-18 11:24:23 -08:00
Timothy Clem
1aea6200dd Merge remote-tracking branch 'origin/master' into test-precise-parsing 2019-12-18 11:09:05 -08:00
Timothy Clem
a26b0f69b3 Better comments 2019-12-18 11:08:31 -08:00
Rob Rix
5ac48ee676
Merge pull request #411 from github/ghcide-is-painless
Update script/repl & ghcide support for 8.8.1
2019-12-18 14:08:14 -05:00
Timothy Clem
83269b1440 Run both python and ruby parse-examples, cleanup 2019-12-18 11:04:10 -08:00
Timothy Clem
12428e4988 Try to always use tree-sitter 0.7.2 2019-12-18 10:59:52 -08:00
Timothy Clem
446da6b2fb Use the required newer tree-sitter packages 2019-12-18 10:26:32 -08:00
Timothy Clem
1393d691f7 ghc 8.8 fixes 2019-12-18 10:15:43 -08:00
Timothy Clem
b2f10d0d6a Merge remote-tracking branch 'origin/master' into test-precise-parsing 2019-12-18 08:35:57 -08:00