| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This lexer add support for PostgreSQL Explain plan :
https://www.postgresql.org/docs/current/sql-explain.html
This was heavily inspired by Maxence Ahlouche work, thanks to him :
https://github.com/maahl/pg_explain_lexer
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
|
|
|
|
|
|
|
|
|
|
| |
See https://w3.org/TR/WGSL
Further work is needed to refine it:
- treat context-dependent names specially
- treat template start and template end tokens specially, perhaps
Fixes: #2388
|
|
|
|
| |
This PR adds hcl as an option for highlighting HCL syntax as Hashicorp uses HCL for more than just Terraform, like Nomad.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Porting notes:
- tox handles Python environments automatically. Remove a bit of PYTHONPATH
manipulation (that was using Python 2 code which always failed!)
- No `clean` target: `git clean -xdf` should fit the bill.
- No `reindent` target: the `reindent.py` script it was using does not
exist (anymore?).
- No equivalent of tox-test-coverage, which was an artifact of the past,
using nose. Instead, the test-coverage target only is ported, which
uses pytest, and works.
|
|
|
| |
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
|
|
|
| |
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
|
| |
|
| |
|
|
|
| |
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
|
|
|
|
| |
(#2276)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
tianocore EDK2 have the NASM file format alternative to ASM based On
which compiler user is using.
https://github.com/tianocore/edk2
NASM are same as ASM file format
Signed-off-by: Ashraf Ali S <ashraf.ali.s@intel.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Also fix a broken link and decode as UTF8 in count_token_references.py.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add GAP console session mode
This is also appropriate for GAP .tst files.
Add `analyse_text` methods for `ScilabLexer` and `GAPConsoleLexer` to
distinguish Scilab and GAP .tst files
* Use explicit name for 'keepends' argument to splitlines
|
|
|
|
|
| |
* Added COMAL-80 language highlight.
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
|
|
|
|
| |
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
|
|
|
|
|
| |
DotNet lexer works with LibreOffice Basic, OpenOffice Basic, and StarOffice Basic.
* Update _mapping.py
|
| |
|
|
|
|
|
|
|
|
|
| |
Use a unified script, to reduce code duplication and in preparation
for doing a similar thing with styles and filters. The new script
also uses a bit more modern Python APIs (e.g., pathlib).
Unlike the previous scripts, it does not replace replace CRLF with LF
because Git should do that itself.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial commit for MCFunction Lexer + tests
* Apply suggestions from code review
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* added docstring info + fix for run ... command
* remove string ending Error tokens
* not working - refactor in-progress
* fixed: generic property
* Update pygments/lexers/mcfunction.py
Co-authored-by: Georg Brandl <georg@python.org>
* apply some fixes from comments
* Update pygments/lexers/mcfunction.py
Co-authored-by: Georg Brandl <georg@python.org>
* spacing
* updated tests and applied more suggestions
* fixed comment regex, passes tests
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
Co-authored-by: Georg Brandl <georg@python.org>
|
|
|
|
|
|
|
|
|
| |
* Moving Ada Lexer to standalone module
* Editorial change: correcting underline
* Moving keywords and standard types to separate Ada builtins file
* Adding separate AdaLexer to the list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/etc/shadow and /etc/group (#2112)
* add PasswdLexer and ShadowLexer for lexing /etc/passwd and /etc/shadow
* fix regex
* Update pygments/lexers/configs.py
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* address review comments
* update _mapping.py
* Create united lexer UnixConfigLexer for config files using colon-separated values, typically used in Unix/Linux system config files.
* format docstring
* UnixConfigLexer: add whitespace detection
* add test snippets for UnixConfigLexer
* address review comment
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
Co-authored-by: Leistungsabfall <Leistungsabfall@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Macaulay2 lexer
* Update symbols for Macaulay2 1.18
* Match whitespace characters in Macaulay2 lexer
* Add states for strings/comments in Macaulay2 lexer
* Update Macaulay2 lexer tests for string/comment edge cases
* Improve comment and string matching in Macaulay2 lexer
Instead of matching each character one at a time, we match all
characters without special meaning together.
* Update Macaulay2 test output
* Update Macaulay2 lexer symbols for 1.19 release
* Move "auto-generated" comment in Macaulay2 lexer down a few lines
* Fix underline length in Macaulay2 lexer docstring
* Add url field for Macaulay2 lexer
* Bump copyright year for Macaulay2 lexer
|
|
|
|
|
|
|
|
|
|
|
|
| |
Uxn is a virtual machine which represents a personal computing
playground, and is described here:
https://100r.co/site/uxn.html
Uxntal assembly language is described here:
https://wiki.xxiivv.com/site/uxntal.html
The demo code piano.tal is used with permission.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|\ \ |
|
| |\ \
| | |/ |
|
| | | |
|
|/ / |
|
|/ |
|
| |
|
| |
|
| |
|