Commit Graph

91 Commits

Author SHA1 Message Date
Mark 0d8917dc15 .pyw is a valid Python extension (#445)
I added `pyw` since it is a valid Python extension.
I can only find two references to this fact in the official python docs (search for "pyw" in these):
https://www.python.org/dev/peps/pep-0397/
https://www.python.org/download/releases/2.4.1/notes/
2020-02-12 18:07:02 +01:00
Erik Axel Nielsen e827e38dcf Added Gherkin (Cucumber) (#408) 2019-11-26 18:33:14 +01:00
Felix b1d3688cb7 Added Rusty Object Notation (#395)
* Added Rusty Object Notation

* added ron example file

* added stats
2019-11-08 09:03:56 +01:00
Scitoshi Nakayobro 1eedbdcab4 Add support for Odin (#402)
* Add support for Odin

* Add test data for Odin
2019-11-05 10:36:43 +01:00
Dante Falzone 591cb20393 Added support for HolyC (language of TempleOS) (#385) 2019-10-17 19:35:32 +02:00
Jakub Kądziołka 7cc6e01f59 Add Emojicode support (#384) 2019-10-15 17:06:19 +02:00
Marcin Puc ee3c7ff9c7 Add support for FlatBuffers (#362) 2019-10-09 18:14:11 +02:00
David Tolnay d8888438f8 Add thrift language (#358) 2019-08-29 10:01:03 +02:00
turbo baa2a65344 Add MoonScript to Languages (#351)
A language that compiles to Lua, ref: https://moonscript.org/. Does not have multi-line comments.
2019-07-23 08:28:52 +02:00
Jason Shirk b36284f9e1 Add PowerShell support (#346)
Resolves #339
2019-07-06 10:36:55 +02:00
Korny Sietsma afcaf0418f Added config so "/usr/bin/env ruby" works (#344) 2019-06-25 13:29:54 +02:00
Samuel Cormier-Iijima 354948df02 Add .cjsx as a CoffeeScript extension (#342)
See https://coffeescript.org/#jsx
2019-06-25 11:45:52 +02:00
Daniel Duan 4951c5dec8 Fix spelling for Xcode and Objective-C(++) (#340) 2019-06-23 22:45:08 +02:00
Erin Power 49a7e2df76 Remove whitespace 2019-06-01 19:53:56 +02:00
amesgen abd244d511 add .tpp extension to C++ (#321) 2019-06-01 19:50:44 +02:00
Erin d9bfe81174 Added ASN.1 Support 2019-05-19 16:16:14 +02:00
Aaron Power 7f14258941 Fixed duplicate definition 2019-04-30 10:12:01 +02:00
yjh b199b5b398 Add support for wasm, llvm ,postCSS, pest (#323)
* add support for wasm

* add test data for wasm

* add support for llvm

* add support for postCSS

* add support for pest

* refactor test data fmt

* rename wasm to webassembly

* update
2019-04-26 19:16:19 +02:00
alexmaco 06270d4254 add Pony support with test (#328) 2019-04-26 19:13:57 +02:00
evitalis b55653ba00 Add RPM specfile language (#327)
* Add RPM specfile language definition

* Correct syntax for hash inheritance

* Fix line count to avoid failed test
2019-04-14 17:54:54 +02:00
Jacob Pratt 8b16ce6cc6 Add PostCSS to languages (#325)
* Add PostCSS to languages

Resolves #314

* Add PostCSS test file
2019-04-03 09:36:02 +02:00
Akira13641 ca7195be28 languages.json tweak for improved Pascal accuracy (#319)
* languages.json tweak for improved Pascal accuracy

This patch:  
  
- adds the "pp" file extension, used heavily by Free Pascal in the set of libraries/packages distributed with it  
  
- removes the "mixed" `{` -> `*)` and `(*` -> `}` multiline comment styles, which are not actually valid in either of the two currently-widely used Pascal compilers (Free Pascal and Delphi)  
  
- adds the `//` single-line comment style, which is supported by both FPC and Delphi and quite commonly used in a lot of code

* Update languages.json

* No-op commit to test the CI again

* Add "nested":true

* Another no-op commit to see if it works now...
2019-04-02 09:59:54 +02:00
Jeff Smits e4f218cbb2 Add Stratego language, also known as Stratego/XT, strategoxt.org (#296) 2019-03-14 16:47:32 +01:00
Stefan Maric d46d511cd8 Add GraphQL support (#306)
* Add GraphQL support

* Fix line count on Graphql test file

* Add extra final new line to GraphQL test file

* Fix line counts on graphql test file

* Fix typo on graphql test file
2019-03-04 09:08:15 +01:00
Maximilian Goisser 41b120ad2d Add solidity support (#303) 2019-02-14 14:11:51 +01:00
Max Nordlund 28661e07bd Recongize ES modules as JavaScript (#294)
Node now supports ES modules natively using the .mjs extension.

https://nodejs.org/api/esm.html
2019-01-22 09:30:32 +01:00
Aaron Power 755070ee84 Implemented config files 2019-01-10 11:11:39 +01:00
Kammie d455a22ac0 Adding "vhdl" file extension for VHDL files (#287)
VHDL files could be named with ".vhdl" extension as well as ".vhd"
2019-01-10 10:14:22 +01:00
n0m1s 62e000dec8 Add SWIG support (#285) 2019-01-03 10:23:12 +00:00
Aaron Power d4998ecee3 Refactored counting code, added Unreal related languages 2018-10-16 00:18:04 +01:00
Alek Ratzloff 21f6fc0c11 Add language rules for Perl6 and its cousin Not Quite Perl (#274)
* Add Perl6 rule

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>

* Add Not Quite Perl rule

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>

* Add Perl6 test

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>

* Fix Perl6 test, oops

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>

* Add Not Quite Perl test

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2018-10-15 22:33:53 +01:00
Paulo Moura 9d8e28af51 Added support for Logtalk (#273) 2018-10-15 16:50:57 +01:00
Aaron Power e5893083c2 Refactor, and use buffered io for output 2018-10-08 16:55:47 +01:00
Ahmed El Gabri 6f84d85ae8 Add twig support (#265) 2018-09-22 19:21:41 +01:00
diaphore 0dd7ac28e6 Add ".glsl" suffix to GLSL (#264) 2018-09-15 11:20:12 +01:00
Tom Richards b55687462b Liquid template language support (#260)
* Add liquid and liquid test file

* Fix test file
2018-09-07 08:38:34 +01:00
Aaron Power b8f90c2e6d Moved language data to LanguageType, added language filters, and added benchmark script. 2018-08-24 16:46:42 +01:00
John Schmidt 82df93f866 Add support for edn (#239) 2018-07-16 11:34:51 +01:00
Brandon Boone e0ef907b0d Added support for XSLT (#235)
* Added support for XSLT

`.xslt` is another common extension for `.xsl` documents.

* Removed unnecessary test
2018-06-25 17:38:32 +01:00
Pieter-Jan Briers 20414bccb5 Adds Dream Maker support. (#236)
"Dream Maker" is the language used by the 2000-era engine "BYOND":
https://secure.byond.com/

It's about as awful as the name implies.
2018-06-16 15:46:52 +01:00
Brandon Boone 14814526be Added VBScript Support (#234)
https://en.wikipedia.org/wiki/VBScript
2018-06-09 13:21:10 +01:00
Igor Alpert 6ec6a363a7 Add BrightScript language and test (#233) 2018-06-08 19:37:04 +01:00
Brandon Boone a1ed92df28 Added VB6 Support (#232)
* Added VB6 Support

https://en.wikipedia.org/wiki/Visual_Basic

* Added tests and removed frx

Removed frx: .frx is a compainon binary file to .frm (vb6 forms). It contains binary artifacts like images, but its format is proprietary.
2018-06-08 19:33:59 +01:00
Richard McCormack fff02cac94 Add Forsyth-Edwards-Notation (FEN) support (#228) 2018-05-21 09:45:57 +01:00
Khalid Jebbari 349fe2b585 Add support for ClojureC + tests for all Clojure (#224)
* Add cljc lang + first pass for testing all Clojure

* Fix the special comment in tests + Small precision in CONTRIBUTING
2018-04-26 16:34:47 +01:00
Mark Keisler 26663ac1ee add HCL/Terraform support (#222)
* add HCL/Terraform support

* update README with HCL language listed
2018-04-26 14:54:35 +01:00
Sami Seikkula f585c4c87c Add Python identifiers for the env command (#212) 2018-04-23 13:39:18 +01:00
Cyprien Le Pannérer eade044d53 Add xsl support (#214)
* add xsl support

* add tests for xsl

* Fix grammar and spelling (#217)

* update README.md with how install output features (#216)

Informs the user that additional dependencies must be installed to use the output features.

* Updated dependencies

* Removed CONTRIBUTORS.md, use GitHub to see contributors

* Removed logo

* Updated CI

* Update .travis.yml

* Add Racket to the supported languages. (#219)

* Add Racket to the supported languages.

* Changed Racket test to count s-expr comments as code.

* Add ReasonML (#213)

https://reasonml.github.io/
https://github.com/github/linguist/blob/14fcd75773a49637b644ca60028ff245f617595f/lib/linguist/languages.yml#L3879

* Cleaned up unused var and made crate version clearer.
2018-04-23 13:38:27 +01:00
Kamil Chmielewski 4d8949c3a6 Add ReasonML (#213)
https://reasonml.github.io/
https://github.com/github/linguist/blob/14fcd75773a49637b644ca60028ff245f617595f/lib/linguist/languages.yml#L3879
2018-04-18 18:10:06 +01:00
Aaron Weiss e6617c1d78 Add Racket to the supported languages. (#219)
* Add Racket to the supported languages.

* Changed Racket test to count s-expr comments as code.
2018-04-18 18:08:01 +01:00