1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 20:31:55 +03:00
Commit Graph

32000 Commits

Author SHA1 Message Date
Changlin Li
46b9dfc9cf Minor style fix for all languages in CLI
Makes retrieving all languages insensitive to the ordering of languages
inside the `Language` datatype declaration and removes a couple of
unneeded function calls.
2019-12-10 11:24:03 -05:00
Patrick Thomson
48db5aa13a
Merge pull request #395 from github/re-writedown
Remove Control.Rewriting.
2019-12-10 10:47:38 -05:00
Timothy Clem
84a1a99cda Handle generating tags for ParenthesizedExpression in calls 2019-12-09 13:16:56 -08:00
Timothy Clem
ef7c8016ea Few more fixtures moving around 2019-12-09 12:47:26 -08:00
Timothy Clem
d4d43f9e83 Test all of the corpus 2019-12-09 12:47:19 -08:00
Timothy Clem
6f2679b145 Introduce AugmentedAssignment 2019-12-09 12:47:10 -08:00
Patrick Thomson
ff3389adfb Remove Control.Rewriting.
We no longer use this anywhere, nice though it is.
2019-12-09 15:18:00 -05:00
Timothy Clem
3c3c140cbb Handle directly nested calls 2019-12-09 11:28:45 -08:00
Timothy Clem
4d8c7d23b4 Handle built-in python functions 2019-12-09 11:28:37 -08:00
Timothy Clem
22a75af0dc Bring back these errors, parse up to 1000 2019-12-09 11:28:09 -08:00
Timothy Clem
d3763cbd69 Merge branch 'bump-haskell-tree-sitter' into test-precise-parsing 2019-12-09 11:27:51 -08:00
Timothy Clem
0930c7c7d9 One new pieces of syntax here 2019-12-09 09:57:05 -08:00
Timothy Clem
45147d910d Fix python assignment 2019-12-09 09:52:55 -08:00
Timothy Clem
285ba19b2b Bump to latest tree-sitters 2019-12-09 09:52:42 -08:00
Patrick Thomson
770268fbdb
Merge pull request #380 from github/failure-is-just-success-rounded-down
Remove MonadFail from Core compiler.
2019-12-06 16:25:27 -05:00
Patrick Thomson
7266ab0ce2 No LambdaCase here. 2019-12-06 15:09:47 -05:00
Patrick Thomson
d258677dd8 And the rest of them 2019-12-06 14:54:06 -05:00
Patrick Thomson
c2685b81c3 Revert whitespace changes. 2019-12-06 14:52:49 -05:00
Patrick Thomson
dd5cf213d6 Derive HFoldable instances for syntax types. 2019-12-06 14:51:09 -05:00
Patrick Thomson
cb0e0eae0c Make Unimplemented store a String. 2019-12-06 14:49:38 -05:00
Patrick Thomson
17d0b57f85 Preserve whitespace. 2019-12-06 14:05:20 -05:00
Patrick Thomson
1691304731 Track fused-syntax@master. 2019-12-06 14:04:23 -05:00
Patrick Thomson
bb72bb76d4 List all languages as a metavar in semantic graph.
Fixes #390.
2019-12-06 13:57:32 -05:00
Patrick Thomson
a9fbf1c335
Merge pull request #389 from RasmusWL/update-examples
Add --language to examples
2019-12-06 13:52:30 -05:00
Timothy Clem
cb0d0bee4d Better comparison 2019-12-06 18:05:09 +00:00
Rasmus Wriedt Larsen
9df8ece4b3 Add --language to examples
otherwise they don't work with current version of the code
2019-12-06 09:17:44 +00:00
Patrick Thomson
16aa229442 Lints. 2019-12-05 17:12:21 -05:00
Patrick Thomson
91d0d8e019 Work around missing MonadFail instance for Either String. 2019-12-05 15:49:01 -05:00
Patrick Thomson
923664b811 Forgot to insert this nice new type variable. 2019-12-05 15:46:10 -05:00
Patrick Thomson
7978318d6b Generalize eliminateFailures to MonadFail. 2019-12-05 15:15:15 -05:00
Patrick Thomson
615931890b Restore the original location of eliminateFailures. 2019-12-05 15:10:10 -05:00
Patrick Thomson
37f70c8e28 Express eliminateFailures with Syntax.Term.handle. 2019-12-05 15:07:32 -05:00
Patrick Thomson
1c735d46d0 Establish HTraversable instances for Core, Ann, and Failure. 2019-12-05 15:06:54 -05:00
Patrick Thomson
7484625a78 Bump to a fused-syntax with HTraversable. 2019-12-05 15:06:38 -05:00
Patrick Thomson
e938c56ff6 Merge remote-tracking branch 'origin/master' into failure-is-just-success-rounded-down 2019-12-05 10:36:42 -05:00
Timothy Clem
024313ccd7 Iterate on test example output and asserts 2019-12-04 18:58:00 +00:00
Timothy Clem
5f451450d6 Allow tagging of attributes in Python calls 2019-12-04 18:57:48 +00:00
Rob Rix
da11239ef3
Merge branch 'master' into analysis-effects 2019-12-02 12:20:16 -05:00
Timothy Clem
ad1fb29dac New tree-sitters! 2019-11-20 15:21:40 -08:00
Ayman Nadeem
9764d4f79d
Merge pull request #386 from github/warnings
warnings
2019-11-19 18:17:16 -05:00
Ayman Nadeem
09b49637bf get rid of redundant imports 2019-11-19 15:39:45 -05:00
Ayman Nadeem
0bc12df5a3 stop warning on unused top binds 2019-11-19 15:39:37 -05:00
Ayman Nadeem
0c7e8f232d add -Werror for semantic-ast package 2019-11-19 15:39:07 -05:00
Ayman Nadeem
94432be85f add warnings to semantic-ast.cabal 2019-11-19 15:38:55 -05:00
Patrick Thomson
609ddb989c Add eliminateFailures, even though it doesn't do what I want. 2019-11-14 15:26:04 -05:00
Patrick Thomson
99ae60a184 Remove all MonadFail occurrences from the Python compiler. 2019-11-13 14:34:18 -05:00
Patrick Thomson
14d7ba5b0b Add failure syntax. 2019-11-13 14:33:39 -05:00
Patrick Thomson
3e3f1da0a9 Merge remote-tracking branch 'origin/master' into fused-effects-one-dot-zero 2019-11-13 11:15:05 -05:00
Timothy Clem
cc71a28d32 Show full path in test name 2019-11-12 10:50:33 -08:00
Timothy Clem
c7ddd7fef1 Fix some lints 2019-11-12 10:50:26 -08:00