1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

29515 Commits

Author SHA1 Message Date
Patrick Thomson
dade361ae8 Bump tree-sitter-php to 0.1.0.1.
This fixes associativity bugs in the PHP grammar.
2019-09-10 11:56:13 -04:00
Patrick Thomson
d9f73b668b
Merge pull request #227 from github/python-test-programs
Institute semantic-python test suite/address milestone 1
2019-09-09 12:52:19 -04:00
Patrick Thomson
33b06d8962
Merge branch 'master' into python-test-programs 2019-09-09 12:20:08 -04:00
Patrick Thomson
b31ce368f0 Kill the haskell-tree-sitter submodule for real. 2019-09-09 11:52:33 -04:00
Patrick Thomson
7f833f08f5 Bump tree-sitter versions. 2019-09-09 11:39:29 -04:00
Patrick Thomson
639bb0a3ab Kill tree-sitter-python submodule. 2019-09-08 15:49:21 -04:00
Rob Rix
a9365c667c
Merge pull request #238 from github/fix-try-catch-error
Assignment error in Java try/catch blocks (#235)
2019-09-06 14:24:52 -04:00
Patrick Thomson
6fc97fce21
Update src/Language/Java/Assignment.hs
Parens are not necessary here.

Co-Authored-By: Rob Rix <robrix@github.com>
2019-09-06 13:36:43 -04:00
Patrick Thomson
c623d2906b Assignment error in Java try/catch blocks (#235)
As @tclem pointed out, the TryStatement token was being consumed too
early. We also ran into errors within the `catches` clause where we
required a block but were asking for an expression.
2019-09-06 12:23:55 -04:00
Patrick Thomson
245e5055f3 Forgot a liftToEncoding. 2019-09-04 23:10:54 -04:00
Patrick Thomson
a9328c3671 Derive JSON instances for the Core trees. 2019-09-04 23:10:54 -04:00
Rob Rix
cd62b20e3a
Merge branch 'master' into python-test-programs 2019-09-04 12:07:56 -04:00
Rob Rix
6507e6f147
Merge pull request #223 from github/property-test-scientific-parser
Property test scientific parser
2019-09-03 19:39:16 -04:00
Patrick Thomson
312cbcc269
Merge branch 'master' into property-test-scientific-parser 2019-09-03 13:46:06 -04:00
Patrick Thomson
c490d3d623 Merge remote-tracking branch 'origin/python-test-programs' into python-test-programs 2019-09-03 13:42:53 -04:00
Patrick Thomson
5bae778b14 Move warnings into shared haskell component. 2019-09-03 13:35:33 -04:00
Patrick Thomson
922e4f28fd Be less specific about builds. 2019-09-03 13:34:08 -04:00
Patrick Thomson
a7bbd173d0 Formatting/includes. 2019-09-03 13:34:00 -04:00
Patrick Thomson
8369298101 Remove globally-specified default-extensions. 2019-09-03 13:33:45 -04:00
Patrick Thomson
f2711afacf Bump haskell-tree-sitter. 2019-09-03 13:33:15 -04:00
Patrick Thomson
2790f59882
Merge branch 'master' into python-test-programs 2019-08-30 09:34:09 -04:00
Patrick Thomson
25be284ad2 fix warnings 2019-08-29 09:32:39 -04:00
Patrick Thomson
efa949d402 better naming 2019-08-29 09:30:58 -04:00
Patrick Thomson
973490b5d4 Decomplect this whole thing by lifting it into IO. 2019-08-29 09:20:13 -04:00
Patrick Thomson
31fbc386e9 Enable multiple directives. 2019-08-29 08:52:38 -04:00
Patrick Thomson
ee16b8a706
Merge pull request #234 from github/don't-load-pretty-by-default
Don't load pretty-show/hscolour by default. (#226)
2019-08-27 14:10:29 -04:00
Patrick Thomson
968a060159
Merge branch 'master' into don't-load-pretty-by-default 2019-08-27 11:45:15 -04:00
Patrick Thomson
1472fc87e7 kill ugly MonadFail hack 2019-08-27 11:34:24 -04:00
Patrick Thomson
a1b7eb9d5d remove otiose boolean check 2019-08-27 11:29:12 -04:00
Patrick Thomson
1c5ac83791 Corral orphan instances. 2019-08-27 11:27:53 -04:00
Patrick Thomson
80df9c1f1d pass the scope graph explicitly 2019-08-27 10:47:45 -04:00
Patrick Thomson
3fb0cc890c Fix redundant pattern match. 2019-08-27 10:35:47 -04:00
Patrick Thomson
7ddbee0006 Remove tests for future milestones for now to keep diffs small. 2019-08-27 10:33:53 -04:00
Patrick Thomson
102ba23513 Reformat comment so it's easier to read in diffs. 2019-08-27 10:25:21 -04:00
Patrick Thomson
8a44e901c7 More comprehensive error handling for uncompilable assignments. 2019-08-27 10:24:59 -04:00
Patrick Thomson
e1556cb16b Divest from RecordWildCards. 2019-08-27 10:20:10 -04:00
Timothy Clem
c1486db42d
Merge pull request #230 from github/lingo
Switch over to using lingo for language detection
2019-08-26 11:05:18 -07:00
Patrick Thomson
ecfd9ad8fb
Merge branch 'master' into don't-load-pretty-by-default 2019-08-26 10:17:46 -04:00
Patrick Thomson
f10e89184e Naming. 2019-08-26 09:13:50 -04:00
Patrick Thomson
5413a82272 Kill stray comment. 2019-08-22 16:14:12 +02:00
Patrick Thomson
24205c8d4c Fix Travis build 2019-08-22 16:02:47 +02:00
Patrick Thomson
bfc2017255 Merge remote-tracking branch 'origin/master' into python-test-programs 2019-08-22 15:59:36 +02:00
Patrick Thomson
0d78391678
Merge branch 'master' into lingo 2019-08-22 15:18:23 +02:00
Max Brunsfeld
b7a52b4524
Merge pull request #229 from github/use-tsx-for-js-and-flow
Use TSX parser instead of Typescript parser for JavaScript and JSX
2019-08-21 11:44:24 -07:00
Max Brunsfeld
73909f7ee5
Merge branch 'master' into use-tsx-for-js-and-flow 2019-08-21 11:37:21 -07:00
Max Brunsfeld
5491001cf7 Regenerate jsx corpus files 2019-08-21 10:49:27 -07:00
Max Brunsfeld
07ccbb8966 Handle JSX elements with type arguments
Also, add a unit test for JSX in JavaScript.

Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
2019-08-21 10:31:32 -07:00
Timothy Clem
691f1fd3e9 Switch over to lingo on hackage 2019-08-19 11:37:15 -07:00
Timothy Clem
5763cfdfb6 Use tasty for testing instead 2019-08-19 10:34:55 -07:00
Patrick Thomson
752c923a94 Don't load pretty-show/hscolour by default. (#16)
As @mpickering pointed out, this breaks `new-repl` if you have
multiple versions of `pretty-show` in your package store.
2019-08-19 14:20:34 +02:00