Commit Graph

796 Commits

Author SHA1 Message Date
Joshua Peek
7b6caa0f6c Rename samples subdirectories 2012-07-23 15:52:49 -05:00
Joshua Peek
314f0e4852 Use simple yaml dump for now 2012-07-23 15:05:08 -05:00
Joshua Peek
afedf2557d Store extnames in samples.yml 2012-07-23 15:00:42 -05:00
Joshua Peek
5cda67530d Seperate test file for samples 2012-07-23 13:55:30 -05:00
Joshua Peek
447aef2183 Don't set DATA const if samples db is missing 2012-07-23 13:51:46 -05:00
Joshua Peek
6842044b52 Store md5 in samples db 2012-07-23 13:50:35 -05:00
Joshua Peek
bf944f6d1a Make classify a function on the Classifier 2012-07-23 13:47:15 -05:00
Joshua Peek
b9779e805e Move outdated check to samples 2012-07-23 13:21:30 -05:00
Joshua Peek
80e8ee7ce6 Rename Sample -> Samples 2012-07-23 13:15:27 -05:00
Joshua Peek
0c9a947f39 Load classifer db into sample data hash 2012-07-23 13:13:52 -05:00
Joshua Peek
97ae7c1a11 Move classifer db to samples.yml 2012-07-23 13:05:08 -05:00
Joshua Peek
3172bf5b46 Remove gc for now 2012-07-23 12:23:20 -05:00
Joshua Peek
5b28336d56 Move db verification into tests 2012-07-23 12:21:26 -05:00
Joshua Peek
b7f58d96cb Compare md5s of dbs 2012-07-23 12:17:32 -05:00
Joshua Peek
d6fb95b06f Add nested md5 digest 2012-07-23 12:13:08 -05:00
Joshua Peek
db88e143ba Dump classifier as plain hash 2012-07-23 11:21:55 -05:00
Joshua Peek
817e3cb946 Clobber before generating classifier 2012-07-23 11:19:33 -05:00
Joshua Peek
95c0985952 Drop defaults in classifier hash 2012-07-23 10:46:54 -05:00
Joshua Peek
13dbd76e94 Merge branch 'jeanlouisboudart-easyant' 2012-07-21 09:40:46 -05:00
Joshua Peek
8ecf2ad322 Update classifier db 2012-07-21 09:40:37 -05:00
Joshua Peek
d23ab8dcda Revert "Add easyant files support to syntax highlighting .ant and .ivy files are both XML"
This reverts commit 0b98354638.
2012-07-21 09:39:51 -05:00
Jean-Louis Boudart
1027047bc7 Add easyant sample files 2012-07-21 14:21:16 +02:00
Jean-Louis Boudart
0b98354638 Add easyant files support to syntax highlighting .ant and .ivy files are both XML 2012-07-21 14:21:03 +02:00
Joshua Peek
36da52e383 Move specific filename samples into their own dir 2012-07-20 17:20:45 -05:00
Joshua Peek
5a5d334999 Use implied extensions from samples 2012-07-20 17:07:08 -05:00
Joshua Peek
144655f2c5 Require explicit primary_extension 2012-07-20 16:54:49 -05:00
Joshua Peek
a775b00d9d Load extensions from samples 2012-07-20 16:37:46 -05:00
Joshua Peek
eb2c07e511 Sample returns simple hash objects 2012-07-20 16:17:37 -05:00
Joshua Peek
ee0ffa0516 Fix sample training 2012-07-20 15:56:16 -05:00
Joshua Peek
f461150eea Fix classifier test task 2012-07-20 15:54:41 -05:00
Joshua Peek
7292bdc180 Change Classifier to accept language name Strings 2012-07-20 15:52:27 -05:00
Joshua Peek
bc84a98b54 Set unused var to _ 2012-07-20 15:43:23 -05:00
Joshua Peek
e58f268258 Associate .module with drupal php 2012-07-20 15:42:21 -05:00
Joshua Peek
bbc5225086 Pending samples work now 2012-07-20 15:36:48 -05:00
Joshua Peek
0867e7b69b Remove old language disambiguation functions 2012-07-20 15:30:53 -05:00
Joshua Peek
2637d8dc55 Add tokenize helper to Tokenize class 2012-07-20 15:14:58 -05:00
Joshua Peek
79be8b8c67 Set unused var to _ 2012-07-20 15:07:19 -05:00
Joshua Peek
3f391c8694 Update classifier db 2012-07-20 15:06:45 -05:00
Joshua Peek
175d4244c2 Extract single and multi line comment parser 2012-07-20 15:06:21 -05:00
Joshua Peek
d063089430 Add coq comments 2012-07-20 14:45:19 -05:00
Joshua Peek
0dcca7228d Merge branch 'seldridge-master' 2012-07-20 14:38:27 -05:00
Joshua Peek
cb01be8a4d Update classifier db 2012-07-20 14:38:09 -05:00
Joshua Peek
6a62ba7b28 Merge branch 'master' of https://github.com/seldridge/linguist into seldridge-master 2012-07-20 14:37:07 -05:00
Joshua Peek
c1181b1f93 Update classifier 2012-07-20 14:36:59 -05:00
Schuyler Eldridge
7363241531 New Verilog and Coq sample files added
New Verilog examples and Coq examples for additional training have
been added since linguist is currently failing Coq/Verilog recognition
tasks (see #201). In case it wasn't obvious, linguist will not
currently pass these new, added test cases.
2012-07-20 10:49:12 -04:00
Ted Nyman
1ac6e87b75 s/to/too in bin/linguist 2012-07-13 23:10:14 -07:00
Joshua Peek
138589e88c Merge pull request #196 from borgified/master
small typo
2012-07-13 13:44:36 -07:00
Fwiffo
41548405b1 small typo 2012-07-13 13:19:26 -07:00
Matthew McCullough
97399acb73 Merge pull request #187 from chochos/master
Add Ceylon to master language list
2012-07-05 10:12:34 -07:00
Enrique Zamudio
80e9639688 Add "text only" lexer to Ceylon 2012-07-05 10:53:38 -05:00