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

Add Tact lexer #2571

Closed
wants to merge 5 commits into from
Closed

Add Tact lexer #2571

wants to merge 5 commits into from

Conversation

aSpite
Copy link

@aSpite aSpite commented Nov 6, 2023

Tact is a new programming language for the TON blockchain that is focused on efficiency and simplicity. Pygments already has lexers for fift, func, which are also languages for writing smart contracts in the TON blockchain.

More:

Copy link
Contributor

@jeanas jeanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick comments because I don't have the time to review this fully right now.

pygments/lexers/tact.py Show resolved Hide resolved
pygments/lexers/tact.py Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
@aSpite aSpite requested a review from jeanas November 8, 2023 09:46
@aSpite
Copy link
Author

aSpite commented Nov 11, 2023

@jeanas, can you check again?

@jeanas
Copy link
Contributor

jeanas commented Nov 11, 2023

There are many PRs on this repo. We do our best to review them in reasonable delays, but please allow some time.

Copy link
Contributor

@jeanas jeanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to contribute.

This is a bit hard to review right now due to the many states; I think it will be much simpler after flattening it a bit.

pygments/lexers/tact.py Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
pygments/lexers/tact.py Outdated Show resolved Hide resolved
@aSpite aSpite requested a review from jeanas November 16, 2023 06:16
@jeanas
Copy link
Contributor

jeanas commented Nov 21, 2023

Thanks for the updates. There were regex linting failures in the CI, and I can't push the fixes to your PR branch because you opened the PR from the master branch of your fork, so I've pushed the combined changes to master directly as commit b23b4d8.

@aSpite
Copy link
Author

aSpite commented Nov 22, 2023

Thanks for the review and help in improving the lexer.

@Anteru Anteru added the A-lexing area: changes to individual lexers label Apr 28, 2024
@Anteru Anteru added this to the 2.18.0 milestone Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lexing area: changes to individual lexers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants