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

Adding MIPS Lexer #2228

Merged
merged 12 commits into from
Sep 21, 2022
Merged

Adding MIPS Lexer #2228

merged 12 commits into from
Sep 21, 2022

Conversation

davisrichard437
Copy link
Contributor

Hello all! I'm hoping to add a MIPS Assembly lexer. I followed the documentation on creating a lexer to the best of my ability, but please let me know if anything needs to be changed.

make tests ran without issue; three were skipped and the rest passed.

pygments/lexers/mips.py Outdated Show resolved Hide resolved
pygments/lexers/mips.py Outdated Show resolved Hide resolved
pygments/lexers/mips.py Outdated Show resolved Hide resolved
pygments/lexers/mips.py Outdated Show resolved Hide resolved
pygments/lexers/mips.py Outdated Show resolved Hide resolved
pygments/lexers/mips.py Show resolved Hide resolved
@davisrichard437
Copy link
Contributor Author

Thank you for your feedback! I believe I have made all the changes you suggested, and I added the analyse_text function (I saw that one of the tests failed because of it).

pygments/lexers/mips.py Outdated Show resolved Hide resolved
@jeanas
Copy link
Contributor

jeanas commented Sep 16, 2022

LGTM, however you now need to rerun make mapfiles.

@jeanas jeanas merged commit 3fe62d2 into pygments:master Sep 21, 2022
@Anteru Anteru added this to the 2.14.0 milestone Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants