Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More supported languages #460

Open
ianlewis opened this issue Aug 29, 2023 · 3 comments
Open

More supported languages #460

ianlewis opened this issue Aug 29, 2023 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@ianlewis
Copy link
Owner

ianlewis commented Aug 29, 2023

languages.yml in the GitHub linguist project has a good list of languages but I'll need to look up and register how strings and comments are written in each language.

Maybe having a similar languages.yml file and then deriving the scanner configuration from that would be the best way to maintain it. Right now the code is just statically written which may be a bit cumbersome.

TIOBE Index

  1. Python
  2. C
  3. C++
  4. Java
  5. C#
  6. JavaScript
  7. Visual Basic (feat: Add Visual Basic support #1038)
  8. PHP
  9. SQL (feat: SQL support #310)
  10. Assembly language (feat: Assembly support #122)
  11. Go
  12. Scratch (Not a text based language)
  13. Delphi/Object Pascal (feat: Add Pascal support #1560)
  14. MATLAB (feat: Add MATLAB support #1537)
  15. Swift
  16. Fortran (feat: Fortran support #1490)
  17. R (feat: Add R support #332)
  18. Kotlin (feat: Add support for Kotlin #1209)
  19. Ruby
  20. Rust (feat: Rust support #116)
  21. Classic Visual Basic (feat: Add Visual Basic support #1038)
  22. SAS
  23. Ad
  24. COBOL
  25. Prolog
  26. Lua (feat: Add support for Lua #98)
  27. Perl
  28. Julia
  29. D
  30. (Visual) FoxPro
  31. Dart
  32. Haskell (feat: Haskell support #317)
  33. Objective-C
  34. Transact-SQL
  35. Lisp
  36. F#
  37. GAMS
  38. Scala
  39. VBScript (Deprecated)
  40. Logo
  41. PL/SQL
  42. Bash
  43. CFML
  44. PowerShell (feat: Add PowerShell support. #1543)
  45. Solidity
  46. Scheme
  47. ABAP
  48. X++
  49. TypeScript
  50. Awk

Top 250 languages on GitHub

This is based on the BigQuery public data table. Many important file formats are missing from this (e.g. YAML, TOML, etc). I think this is because while they are in many many repos the data only includes the languages that make up a large % of the repo contents and config files are using just a small part.

@ianlewis ianlewis added the enhancement New feature or request label Aug 29, 2023
@ianlewis ianlewis added this to the v1.0.0 milestone Sep 2, 2023
@ianlewis
Copy link
Owner Author

Leasot has a supported languages list: https://github.com/pgilad/leasot/blob/master/media/supported-languages.md

@ianlewis
Copy link
Owner Author

Need to rework languages so they each have their own parser to support idiosyncrasies in how some languages are parsed.

For example VimL uses quote characters (") for both strings and line comments. A parser would need to determine the difference between the two.

@ianlewis
Copy link
Owner Author

ianlewis commented Nov 9, 2023

Will close once there are a total of 50 supported languages.

ianlewis added a commit that referenced this issue Dec 5, 2023
Updates #460

Signed-off-by: Ian Lewis <ianmlewis@gmail.com>
@ianlewis ianlewis mentioned this issue May 17, 2024
7 tasks
This was referenced Aug 23, 2024
ianlewis added a commit that referenced this issue Aug 23, 2024
@ianlewis ianlewis mentioned this issue Sep 10, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant