Skip to content

Improve number regex and add lexer guess for carbon syntax#2370

Merged
jeanas merged 1 commit intopygments:masterfrom
AmrDeveloper:carbon_guess_lexer
Mar 7, 2023
Merged

Improve number regex and add lexer guess for carbon syntax#2370
jeanas merged 1 commit intopygments:masterfrom
AmrDeveloper:carbon_guess_lexer

Conversation

@AmrDeveloper
Copy link
Contributor

@AmrDeveloper AmrDeveloper commented Mar 6, 2023

  • Improve number regex and add hex support
  • Add lexer guess for carbon syntax

Source for hex:

https://github.com/carbon-language/carbon-lang/blob/trunk/toolchain/lexer/numeric_literal_test.cpp

@jeanas jeanas merged commit fce7d0a into pygments:master Mar 7, 2023
@Anteru Anteru added this to the 2.15.0 milestone Apr 10, 2023
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