summaryrefslogtreecommitdiff
path: root/pygments/lexers/smithy.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023.Matthäus G. Chajdas2023-03-291-1/+1
|
* Improve the Smithy metadata matcher.Matthäus G. Chajdas2022-12-311-2/+3
| | | | | | Previously, metadata foo bar baz = 23 was accepted, but according to the definition https://smithy.io/2.0/spec/idl.html#grammar-token-smithy-MetadataSection it should be "metadata"<whitespace>Identifier/String<optional whitespace>.
* all: style fixesGeorg Brandl2022-10-271-2/+0
|
* Rework URL information in lexers.Matthäus G. Chajdas2022-03-201-0/+1
| | | | | | | | This commit adds a new url field to a lexer, which can be used to link to the language website, instead of relying on having the link in either languages.rst or the docstring of the lexer. Additionally, it changes the languages.rst file to auto-generate the list of lexers from the actual source code, using the provided URL.
* Remove now redundant re.UNICODE and (?u) (#2058)Jean Abou-Samra2022-01-311-1/+0
|
* Happy new year.Georg Brandl2022-01-251-1/+1
|
* Fix a few make check failures.Matthäus G. Chajdas2021-08-151-1/+1
|
* Added Smithy Lexer (#1878) (#1879)Immanuel Washington2021-08-081-0/+79
* Added Smithy Lexer (#1878) * Added Smithy Lexer * Added Smithy Lexer auhtor * Documented Smithy as a supported language * Added Smithy test file and output * Updated Smithy Lexer * Added Standard file heading with copyright and license * Used `words` method for optimization, instead of bare regex * Specified whitespace punctuation in root * Updated aliases to only contain lowercase names to pass `test_basic_api` tests * Updated regexes lightly to fit regexlint rules (removing duplicate characters in group `-`) * Fixed regexes with errors in regexlint rules (Escaping brackets, gaps in capture groups) * Ran mapping script to fix build check * Ran mapping to update after changing aliases in previous commit