Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix glob patterns when absolute paths are used (#1378) | Catatonic | 2020-02-02 | 1 | -0/+45 | |
| | | | | | | * Fix glob patterns for directives like Include. * removing unnecessary escaping. | |||||
* | Add lexer for LLVM's MIR format (#1361) | Daniel Sanders | 2020-01-24 | 1 | -0/+32 | |
| | | | | | | | | | | | | | | | | | | MIR is a human readable serialization format that's used to represent LLVM's machine specific intermediate representation. It allows LLVM's developers to see the state of the compilation process at various points, as well as test individual pieces of the compiler. Our documentation for the format can be found at https://llvm.org/docs/MIRLangRef.html. Adding a lexer for this format will allow the LLVM documentation to contain syntax highlighted examples of LLVM-MIR. Two lexers are included in this change. 'llvm-mir' lexes the overall document format and delegates to 'llvm' and 'llvm-mir-body' as appropriate. 'llvm-mir-body' lexes the contents of the 'body:' attribute and can be used directly to syntax highlight code examples without including the document boilerplate. Since the 'llvm-mir' lexer delegates to the 'llvm' lexer at times, this change also adds the 'immarg' and 'willreturn' keywords to the 'llvm' lexer as these were missing. | |||||
* | Correct lexing of Idris compiler directives (#1363) | Molly Miller | 2020-01-19 | 1 | -0/+65 | |
| | | | | | | | | | | | * Fix lexing of Idris compiler pragmas. The regex for capturing Idris compiler pragmas did not separate the leading percent sign from the disjunction of compiler directives correctly, which caused issues such as "import" or "namespace" keywords to be mishighlighted, due to confusion with the "%import" and "%name" compiler pragmas. * Add unit test for Idris compiler directive lexing | |||||
* | Add a PEG (Parsing Expression Grammar) lexer (#1336) | Michael Wayne Goodman | 2020-01-16 | 1 | -0/+94 | |
| | | | | | * Add a PEG (Parsing Expression Grammar) lexer * Add PEG to doc/languages.rst and indicate version | |||||
* | Merge branch 'master' into 671/upsuper/webidl | Matthäus G. Chajdas | 2020-01-07 | 15 | -20/+1167 | |
|\ | | | | | | | This allows us to resolve the merge conflict properly. | |||||
| * | Add Sieve lexer (#1257) | sblondon | 2020-01-04 | 1 | -0/+56 | |
| | | | | | | | | Add Sieve lexer | |||||
| * | haskell: Fix highlighting of promoted type operators (#1347) | Xia Li-yao | 2019-12-30 | 2 | -0/+34 | |
| | | | | | | | | | | | | | | * haskell: Fix highlighting of promoted type operators Fixes issue #527 Patch originally written by paamayim | |||||
| * | Fix directives that have 0 arguments | catatonicprime | 2019-12-19 | 1 | -1/+15 | |
| | | ||||||
| * | This commit adds a lexer for linux kernel logs as outputted by `dmesg` | martijn@msi.localhost | 2019-12-09 | 1 | -0/+52 | |
| | | | | | | | | | | | | | | | | It supports output from `dmesg`, in that case it highlights based on keywords in the line It can also highlight `dmesg -x` output. In that case it uses the loglevels from the kernel to highlight the lines. | |||||
| * | tests: remove special skip cases for random_input test case | Georg Brandl | 2019-12-09 | 1 | -3/+0 | |
| | | ||||||
| * | tests: split out "random input" test and make github tests verbose | Georg Brandl | 2019-12-09 | 1 | -2/+6 | |
| | | ||||||
| * | Add keywords, define types and operators. Remove parameters. Delete test ↵ | jcmuel | 2019-12-08 | 2 | -169/+31 | |
| | | | | | | | | file with incompatible license. | |||||
| * | Add Mosel lexer. | German Riano | 2019-12-08 | 2 | -0/+172 | |
| | | ||||||
| * | Fix valid_name regex for SLexer | Nikolay Korolev | 2019-12-07 | 1 | -0/+37 | |
| | | | | | | | | | | | | | | | | | | This fixes #1331 All modifications to regex: 1. Delete 2 useless non-capturing groups 2. Variables can not start with underscore (_) 3. Only letters, dot (.) and underscore (_) can go after first dot (.) in name 4. Name from only one symbol dot (.) is possible | |||||
| * | Parse HTTP status-line even when reason-phrase not included. (#1322) | Georg Brandl | 2019-12-06 | 1 | -0/+28 | |
| |\ | | | | | | | Parse HTTP status-line even when reason-phrase not included. | |||||
| | * | Parse HTTP status-line even when reason-phrase not included. | Jakub Roztocil | 2019-12-02 | 1 | -0/+28 | |
| | | | | | | | | | | | | Background: https://github.com/jakubroztocil/httpie/issues/811 | |||||
| * | | Add USD lexer (#1290) | Georg Brandl | 2019-12-06 | 2 | -0/+723 | |
| |\ \ | | |/ | |/| | Add USD lexer | |||||
| | * | Replaced Literal.Number with Number | Colin Kennedy | 2019-12-05 | 1 | -33/+33 | |
| | | | ||||||
| | * | Replaced Literal.String with String | Colin Kennedy | 2019-12-05 | 1 | -21/+21 | |
| | | | ||||||
| | * | Separated different pieces of text into whitespace and punctuation and text | Colin Kennedy | 2019-12-05 | 1 | -130/+130 | |
| | | | ||||||
| | * | Fixed numeric test | Colin Kennedy | 2019-12-05 | 1 | -4/+4 | |
| | | | ||||||
| | * | Added scientific notation support for USD numbers | Colin Kennedy | 2019-12-05 | 1 | -1/+9 | |
| | | | ||||||
| | * | Replaced `Generic` with `Text` and `Punctuation` in test_usd.py | Colin Kennedy | 2019-12-04 | 1 | -25/+25 | |
| | | | ||||||
| | * | Removed module import from test_usd.py | Colin Kennedy | 2019-12-04 | 1 | -312/+297 | |
| | | | ||||||
| | * | Updated unittests to make sure outer-text-pair matches are not matched a ↵ | Colin Kennedy | 2019-12-04 | 1 | -2/+55 | |
| | | | | | | | | | | | | string types | |||||
| | * | Fixed a typo in an existing docstring | Colin Kennedy | 2019-12-01 | 1 | -1/+1 | |
| | | | ||||||
| | * | Added extra composition arcs and Prims to example.usd | Colin Kennedy | 2019-12-01 | 1 | -0/+61 | |
| | | | ||||||
| | * | Renamed example.usda to example.usd | Colin Kennedy | 2019-12-01 | 1 | -0/+0 | |
| | | | ||||||
| | * | Added missing docstrings | Colin Kennedy | 2019-12-01 | 1 | -23/+40 | |
| | | | ||||||
| | * | Renamed unittest class to be more explicit | Colin Kennedy | 2019-12-01 | 1 | -1/+1 | |
| | | | ||||||
| | * | Changed the special names of USD to the "Builtins" tokens, instead of ↵ | Colin Kennedy | 2019-12-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | "Attribute" token | |||||
| | * | Fixed issue where attributes were getting matched, even in USD metadata | Colin Kennedy | 2019-12-01 | 1 | -5/+5 | |
| | | | ||||||
| | * | Added a separate test method for testing USD metadata | Colin Kennedy | 2019-11-30 | 1 | -1/+47 | |
| | | | ||||||
| | * | Added string priority test | Colin Kennedy | 2019-11-30 | 1 | -2/+15 | |
| | | | ||||||
| | * | Added single / multiline string tests | Colin Kennedy | 2019-11-30 | 1 | -9/+55 | |
| | | | ||||||
| | * | Added test_composition_arcs test method | Colin Kennedy | 2019-11-30 | 1 | -106/+104 | |
| | | | ||||||
| | * | Ran auto-fix on test_usd.py | Colin Kennedy | 2019-11-30 | 1 | -177/+174 | |
| | | | ||||||
| | * | Added test_numbers | Colin Kennedy | 2019-11-30 | 1 | -7/+122 | |
| | | | ||||||
| | * | Changed the attribute regex to detect if "timeSamples" was authored | Colin Kennedy | 2019-11-30 | 1 | -1/+3 | |
| | | | ||||||
| | * | Got the `test_attribute` method to pass | Colin Kennedy | 2019-11-30 | 1 | -17/+103 | |
| | | | ||||||
| | * | Renamed test_usda.py to test_usd.py | Colin Kennedy | 2019-11-30 | 1 | -0/+0 | |
| | | | ||||||
| | * | Added more tests to test_usda.py | Colin Kennedy | 2019-11-30 | 1 | -13/+124 | |
| | | | ||||||
| | * | Uncommented a WIP unittest | Colin Kennedy | 2019-11-30 | 1 | -19/+19 | |
| | | | ||||||
| | * | Changed test_asset_path_uri to be more complex | Colin Kennedy | 2019-11-30 | 1 | -1/+1 | |
| | | | ||||||
| | * | Added test_usda.py and example.usda | Colin Kennedy | 2019-11-30 | 2 | -0/+185 | |
| | | | ||||||
| * | | Ride: fixup style, add example file and changelog entry | Georg Brandl | 2019-12-01 | 1 | -0/+122 | |
| | | | ||||||
| * | | Merge pull request #1291 from lrh2000/master | Matthäus G. Chajdas | 2019-12-01 | 1 | -16/+54 | |
| |\ \ | | |/ | |/| | GAS: Add support for C style comments. | |||||
| | * | GAS: Add test code. | lrh2000 | 2019-11-30 | 1 | -16/+54 | |
| | | | ||||||
| * | | various: style fixups | Georg Brandl | 2019-11-29 | 1 | -0/+8 | |
| | | | ||||||
| * | | remove empty file | Georg Brandl | 2019-11-29 | 1 | -0/+0 | |
| | | |