1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 12:51:52 +03:00
Commit Graph

29160 Commits

Author SHA1 Message Date
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
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
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
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
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
Patrick Thomson
5a7c4f05eb
Merge pull request #232 from jongalloway/patch-1
Fix broken link in docs
2019-08-17 10:05:21 -04:00
Jon Galloway
ad8be64e4a
Fix broken link in docs 2019-08-16 22:20:14 -07:00
Timothy Clem
147604e59d Streamline manually language parsing 2019-08-16 14:06:49 -07:00
Timothy Clem
0aab5ebd55 Replace supportedExts 2019-08-15 15:48:17 -07:00
Timothy Clem
2510df0e23 Switch over to using lingo 2019-08-14 16:01:55 -07:00
Max Brunsfeld
5d62300ba5 Add comment about why JS and JSX are handled with the TSX parser 2019-08-14 10:17:57 -07:00
Max Brunsfeld
233a51cf62 Use TSX parser instead of Typescript parser for JavaScript and JSX 2019-08-14 10:08:25 -07:00
Patrick Thomson
a6c073895c
Merge pull request #225 from github/profiling-script
Add script to simplify profiling.
2019-08-14 11:22:11 -04:00
Patrick Thomson
e5d6a4a7c4
Merge branch 'master' into profiling-script 2019-08-12 15:33:54 -04:00
Patrick Thomson
fb1b145bd7 Add script to simplify profiling.
This script is useful in that it takes care of remembering past
results and imvoking profiteur/hp2pretty/etc. We had this back in the
day, but it didn't make the transition to the new repository.
2019-08-12 15:03:08 -04:00
Patrick Thomson
613d273699
Merge branch 'master' into property-test-scientific-parser 2019-08-12 12:56:44 -04:00
Rob Rix
cf76b3cc5f
Merge pull request #224 from gregberns/patch-1
Broken Links in Docs
2019-08-09 09:36:36 -04:00
Greg Berns
c8e2f6090d
Broken Links in Docs
Two links are broken. These seem to be the corrected ones.
2019-08-09 01:05:51 -07:00
Patrick Thomson
95b7d5e065 Add another Scientific generator and test with it. 2019-08-08 13:55:37 -04:00
Patrick Thomson
1dee6ae93c Some more tests and descriptions for Scientific generators. 2019-08-08 11:44:57 -04:00
Patrick Thomson
f9aa9923b7 Port hspec tests to tasty-hunit and institute simple property test. 2019-08-07 11:26:54 -04:00
Patrick Thomson
8a8c2baceb
Merge pull request #222 from github/source-coverage-guarantees
Source coverage “guarantees”
2019-08-07 10:47:30 -04:00
Rob Rix
768f642bd0
Merge branch 'master' into source-coverage-guarantees 2019-08-06 16:54:45 -04:00
Rob Rix
3106bd2ddd
Note a problem with coverage testing.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:50:45 -04:00
Rob Rix
668efbbd4c
Tidy up the imports.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:49:36 -04:00
Rob Rix
1b427b995b
Revert "Test the coverage of source values."
This reverts commit b658804193.
2019-08-06 16:46:33 -04:00
Rob Rix
7251c1c4b4
Generate empty source values 20% of the time.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:38:41 -04:00
Rob Rix
b658804193
Test the coverage of source values.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:38:27 -04:00
Rob Rix
0af81b1fef
Label using classify.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:29:01 -04:00
Rob Rix
3beda88f32
Move the label call into summarize.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:23:35 -04:00
Rob Rix
698497b1a0
Tidy up the sourceLineRanges tests using prop.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-08-06 16:22:38 -04:00
Rob Rix
becf320762
Merge pull request #219 from github/re-name
Rename User to Name
2019-08-06 15:18:50 -04:00
Rob Rix
fc2233feea
Merge branch 'master' into re-name 2019-08-06 15:12:32 -04:00
Patrick Thomson
f04a69af24
Merge pull request #211 from github/scope-graphs
Scope graphs
2019-08-06 15:12:16 -04:00
Rob Rix
d3726fa9e2
Merge branch 'scope-graphs' into re-name 2019-08-06 15:08:56 -04:00
Rob Rix
0515d7c11d
Let-bind the function extending each value in the cell. 2019-08-06 15:05:15 -04:00
Rob Rix
c30e5ff473
Merge branch 'master' into scope-graphs 2019-08-06 14:55:39 -04:00
Patrick Thomson
3f77dd6507
Merge pull request #209 from github/generalize-analyses-over-the-term-type
Generalize analyses over the term type
2019-08-06 14:48:35 -04:00
Rob Rix
8ad510d274
Merge branch 'master' into generalize-analyses-over-the-term-type 2019-08-06 14:38:30 -04:00
Patrick Thomson
5521d7da94
Merge pull request #208 from github/factor-annotations-out-of-core
Factor annotations out of Core
2019-08-06 14:31:59 -04:00