-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
Pascal #288
Comments
It's not about popularity, it's about ease of porting. Pygments Delphi lexer is not a regex based lexer, so it's not possible to automatically translate it into Go. |
I mean yeah, but we could start somewhere. Keyword, string and comment highlighting would go a long way. |
For which language? Pygments covers Turbo Pascal, Borland Delphi, and Free Pascal. I don't know the difference, and other people that see this issue may neither. |
@Jos512 the one I care about is Free Pascal - but I can understand if people may be interested in the others |
+1 |
+1 I would even spare a few bucks to see this implemented in order to move Chroma/Gitea/Codeberg forward. |
+1 Would be happy to see this implemented. Codeberg relies on your library. https://codeberg.org/Codeberg/Community/issues/752 |
There is a beautiful objectpascal extension for VS Code (https://www.omnipascal.com) with all the syntax highlighting needed. |
I just tried to understand the workflow of editing/creating new lexers and styles and test them using the CLI tool. I wanted to start with an existing lexer/style and look at the output, then make adjustments and look at the results again. When I call the command with the lexer xml file, the resulting HTML file does not show the expected result. If I use the internal lexer, the results are as expected. Have I got this completely wrong or is this a bug? (I used the latest [2.10.0] release) |
Apologies, looks like there was a bug. That should be fixed in 2.11.1:
|
Thanks for the quick fix! |
#883 I created a pull request. Hopefully this issue can be closed soon... |
Can we close this, because Release v2.12.0 · alecthomas/chroma adds an ObjectPascal lexer? |
Yay! |
github.com support Pascal highlighting via
pas
:Top Pascal repo has 5,000 stars:
https://github.com/stascorp/rdpwrap
this is more than the top repos for Ada, D, R and Tcl, which are currently
supported:
The text was updated successfully, but these errors were encountered: