Open ianlewis opened 1 year ago
Leasot has a supported languages list: https://github.com/pgilad/leasot/blob/master/media/supported-languages.md
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.
Will close once there are a total of 50 supported languages.
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
Scratch(Not a text based language)VBScript(Deprecated)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.
Jupyter Notebook(JSON that doesn't support comments)Arduino(C++)VimL(This is Vim Script)