Lars Brinkhoff
2d940e72c2
Add F# and GLSL samples. Add Forth and GLSL extension .fs.
...
Add heuristic to disambiguate between F#, Forth, and GLSL.
2014-11-27 06:56:26 +01:00
Lars Brinkhoff
03c1e725ce
Add Forth extensions .f and .for; add heuristics for Forth and FORTRAN.
2014-11-18 20:21:19 +01:00
Arfon Smith
f4c7661cc6
Removing inconsistency of find_by_heuristics (was sometimes returning nil and sometimes returning and empty array)
2014-11-06 14:08:42 -06:00
Arfon Smith
0ab88919c9
Removing unused array of candidate languages.
2014-11-06 13:31:34 -06:00
Arfon Smith
9107d3c243
Reworking most heuristics to only return one match
2014-11-06 13:26:40 -06:00
Arfon Smith
0946791434
Merge branch 'master' into support-hack
...
Conflicts:
lib/linguist/heuristics.rb
2014-11-04 16:09:00 -06:00
Arfon Smith
9d8ab16a38
Merge branch 'master' into 1623-local
...
Conflicts:
lib/linguist/heuristics.rb
2014-11-02 20:11:49 -06:00
Arfon Smith
49c2793bf5
Syntax preference
2014-11-02 19:56:20 -06:00
Paul Chaignon
fd707ddf7e
Heuristic rules to distinguish .sc files between SuperCollider and Scala
2014-10-23 14:22:12 -04:00
Josh Watzman
9c044c5bd0
Add detection for Hack files with ".php" file extension
...
Based on top of PR#1447. Adds a simple heuristic check for Hack files vs PHP files (`<?hh` vs other `<?`).
Tested by verifying that the Hack example site was detected as 100% Hack and that Laravel was detected as 100% PHP. (Without the heuristic, Laravel gets detected as about 50% Hack, just by randomness in the classifier since PHP and Hack are very hard to distinguish unless you actually parse the file and look for specific language features.)
2014-10-21 16:17:58 -07:00
Paul Chaignon
f59cf24a82
Merge branch 'master' into pro
2014-09-25 10:23:21 -04:00
Arfon Smith
a38f77683b
Merge pull request #1552 from github/benchmarking
...
Benchmarking
2014-09-24 16:13:53 -05:00
Max Horn
54a7cf6785
Fix typos
2014-09-15 13:24:39 +02:00
Arfon Smith
98977c87db
Heuristics on for .cl
2014-09-12 16:34:51 -05:00
Arfon Smith
fae6dbfebd
Taking Heuristics for a spin.
2014-09-04 13:49:30 -05:00
Barry Walsh
bb2afbb03d
Disambiguate .r extension between Rebol and R
2014-03-27 16:54:24 +00:00
Paul Chaignon
2beb450df6
Support of the .pro file extension for Prolog.
2014-02-10 18:10:20 +01:00
Paul Chaignon
f78ce5389e
Support of the .ecl file extension for Prolog.
2014-02-01 15:47:51 +01:00
Lars Brinkhoff
39a9c768c8
Add heuristics for '.cl'.
2014-01-28 09:20:26 +01:00
ruben2020
40b2e19310
Fix for *.ts conflict between TypeScript and Qt Translation files
2014-01-04 21:32:16 +08:00
Arfon Smith
800d26cdad
Adding Perl heuristic (and fixing up Prolog)
2013-12-29 19:22:31 -08:00
Ted Nyman
f7b7a89709
Start towards pl heuristics
2013-12-28 18:06:04 -08:00
Arfon Smith
e4d381d81c
Merge branch 'master' into cpp_heuristic
...
Conflicts:
lib/linguist/samples.json
2013-12-22 19:25:01 -06:00
Ted Nyman
c8761d39d7
Narrow test and set ACTIVE flag for heuristics
2013-12-22 15:25:56 -08:00
Arfon Smith
b2a5c30a44
A C++ shibboleth?
2013-12-20 22:28:25 -06:00
Ted Nyman
89c8d1e64c
Docs
2013-12-15 20:30:55 -08:00
Ted Nyman
17d0b1e02f
More documentation
2013-12-15 20:17:30 -08:00
Ted Nyman
0626def699
Start with Objective-C
2013-12-15 20:15:19 -08:00
Ted Nyman
b3c6c85387
Start on basic heuristics tests
2013-12-15 20:06:59 -08:00
Ted Nyman
3bc17e822d
Start on basic heuristic approach
2013-12-14 23:33:21 -08:00