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

Bug report: missidentifying SAGE programming language #4909

Closed
hilder-vitor opened this issue Jul 1, 2020 · 5 comments
Closed

Bug report: missidentifying SAGE programming language #4909

hilder-vitor opened this issue Jul 1, 2020 · 5 comments

Comments

@hilder-vitor
Copy link

hilder-vitor commented Jul 1, 2020

Preliminary Steps

Please confirm you have...

Problem Description

Hello,
in my repository named sage_lattice_examples, all the scripts are written in SAGE (https://www.sagemath.org/), which is a programming language that mathematicians and cryptographers use a lot, however, GitHub is reporting that they are written in Python. The menu on the right shows "Languages: Python 100%".

URL of the affected repository:

https://github.com/hilder-vitor/sage_lattice_examples

Last modified on:

2020-06-13

Expected language:

Sage

Detected language:

Python

@lildude
Copy link
Member

lildude commented Jul 1, 2020

This is happening because Sage is grouped alongside Python:

https://github.com/github/linguist/blob/b24ff11d9cf60dd996156a718f83024c9436e5ea/lib/linguist/languages.yml#L4939-L4949

This has been the case since support was added for it over 9 years ago in #91 and to quote the original PR "Sage uses python for syntax" hence it has been grouped with Python.

@hilder-vitor
Copy link
Author

Hello,
thank you for answering!

So, is this a design choice and it means that Sage will continue being classified as Python? Or would you be interested in separating them?

@lildude
Copy link
Member

lildude commented Jul 2, 2020

I know absolutely nothing about Sage, but if there's a good reason to break it out, and there's support for it, I don't see why not. Feel free to add this to the discussion in #4291

@hilder-vitor
Copy link
Author

I have done so. I do not know what would be considered a "good reason", but I have at least talked a bit about the differences between them. (:

Thank you again!

@pchaigno
Copy link
Contributor

pchaigno commented Jul 5, 2020

Closing in favor of #4291.

@pchaigno pchaigno closed this as completed Jul 5, 2020
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants