github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.11k stars 4.2k forks source link

Lex and Yacc C++-style extensions not supported #4771

Closed TheOnlyMrCat closed 4 years ago

TheOnlyMrCat commented 4 years ago

Problem Description

Linguist supports Lex and Yacc, which typically have the .l and .y extensions. This is fine when using them normally, but when paired with Automake, C++ lexers and parsers require C++-style extensions, such as .ll, .lpp, .lxx, or l++ for Lex, and likewise for Yacc

In languages.yml, Yacc already allows .yy, and .ll is LLVM. None of the other extensions are present.

URL of the affected repository:

https://github.com/TheOnlyMrCat/lok

This is my repository I noticed the issue on. Countless others are likely to suffer from the same issue

Last modified on:

2020-01-17

Expected language:

Lex, Yacc

Detected language:

[Not classified]

lildude commented 4 years ago

As linguist is community developed, support isn't going to arrive until someone familiar with the languages submits a PR. If you're familiar with these languages, please review CONTRIBUTING.md and feel free to submit a PR if the usage requirements are met.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had activity in a long time. If this issue is still relevant and should remain open, please reply with a short explanation (e.g. "I have checked the code and this issue is still relevant because ___."). Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically closed because it has not had activity in a long time. Please feel free to reopen it or create a new issue.