pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/pygments/pygments/pull/2876

7b2.css" /> Add ES|QL lexer by styx0x6 · Pull Request #2876 · pygments/pygments · GitHub
Skip to content

Add ES|QL lexer#2876

Open
styx0x6 wants to merge 16 commits into
pygments:masterfrom
styx0x6:esql
Open

Add ES|QL lexer#2876
styx0x6 wants to merge 16 commits into
pygments:masterfrom
styx0x6:esql

Conversation

@styx0x6
Copy link
Copy Markdown
Contributor

@styx0x6 styx0x6 commented Mar 17, 2025

This pull request introduces a new lexer to support Elasticsearch Query Language (ES|QL), a piped language which allows to chain together multiple commands to query data in Kibana.

Based on Elasticsearch 8.17.

@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Mar 17, 2025

As I didn't know how to manage that, I let an empty placeholder to fill according to the version it will be integrated (2.20?).

esql.py => # TODO version_added = '' in the class properties.

I can commit an update if requested. Let me know.

@styx0x6 styx0x6 marked this pull request as ready for review March 17, 2025 20:11
@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Jul 8, 2025

Hello @Anteru, do you plan any merge within a 2.20 release? Else, when do you plan it? I already would like to update the lexer with Elastic 8.18 updates, so just to know if I wait the merge to work on it or if I can do it now.

@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Jul 19, 2025

As I see you are working on it @Anteru, I will submit a new PR when I'll have time to work on it with 8.x updates et 9 preview updates. Let's merge a first version based on 8.17.

@Anteru
Copy link
Copy Markdown
Collaborator

Anteru commented Jul 19, 2025

Well, we all try to work here best we can, but busy times sometimes means the project doesn't see much action.

@Anteru
Copy link
Copy Markdown
Collaborator

Anteru commented Jul 19, 2025

Overall, this looks pretty good, thanks for the contribution! Can you please address the check failures? Nothing major, but some cleanup is needed.

@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Jul 19, 2025

I'll take a look asap.

@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Jul 20, 2025

Hi @Anteru, I committed some fixes that should set issues. Could you please re-run the build checklist?

@Anteru
Copy link
Copy Markdown
Collaborator

Anteru commented Jul 20, 2025

Sure, let's give it a try. Note you can also run this locally using tox.

@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Jul 20, 2025

Sure, did it. Just missed to update mapfiles. It should be ok now, if think you can validate build tests again.

@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Jul 21, 2025

And the last one I hope :) There was a nomenclature issue in the module name underlining. Let's give the final try @Anteru ?

@styx0x6 styx0x6 mentioned this pull request Sep 24, 2025
4 tasks
@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Jan 28, 2026

Hi @Anteru ,

Do you think we might be able to go ahead with this merge?

@birkenfeld birkenfeld added the new lexer PRs with wholly new lexers label Feb 20, 2026
@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented Mar 28, 2026

Hi @Anteru and @birkenfeld ,

As I see you're back to work on 2.20 release, any chance to go ahead with this merge? Work seems to be done last time (summer 2025), the final CI Check/review has just to be run on your side.

Then I could also quickly go ahead on PR #2968 as it's based on this one.

Thank you in advance!

@styx0x6
Copy link
Copy Markdown
Contributor Author

styx0x6 commented May 4, 2026

Hi @Anteru and @birkenfeld ,

As I see you're directly working on the 2.21 release, any chance to be merged this time?

Then, as mentioned, I can go ahead on PR #2968 as it's based on this one.

Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new lexer PRs with wholly new lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy