| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
request #216)
Elixir's lexer shouldn't be greedy on single quoted strings.
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
After this commit this code will be highlighted correctly:
HashDict.new [{'A', 0}, {'T', 0}, {'C', 0}, {'G', 0}]
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Added lexer for new Hy language, a variant of Lisp running under Python
|
| | |\ \ \ \ \ |
|
| | | |/ / / / |
|
| | |\ \ \ \ \ |
|
| | | |\ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Update the dg lexer.
|
| | | | |/ / / / |
|
| | | |\ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Add Nix language lexer
|
| | | | |/ / / / |
|
| | | |\ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
MathematicaLexer
|
| | | | |/ / / / |
|
| | | |\ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
updated StanLexer to Stan version 2.0.1 language.
|
| | | | |/ / / / |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Bug Report: https://bitbucket.org/birkenfeld/pygments-main/issue/712/better-functions-and-methods-handling-in
- test file in tests/examplefiles/function_arrows.coffee
I also refactored the regex to be more readable (put a group in one line instead of breaking it). I needed to do this to spot the error.
|
| | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
properly
Bugreport: https://bitbucket.org/birkenfeld/pygments-main/issue/873/ruby-19-hash-syntax-symbol-with-underscore
Example: https://gist.github.com/rmetzler/7833554
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Word array is only allowed to contain words and whitespace, `]>` is not allowed
to occur in such a construct, thus it should end the construct at the very
first occurrence.
An example of the problem can be seen in this gist:
https://gist.github.com/kurisuwhyte/6050066
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
on Python. See: http://hylang.org
Note that this shares a file extension with the Hybris language
but the analyse_text() function does a good job of making the
distinction.
This did however require one change to the tests to actually
pass the code of the test file to get_lexer_for_filename()
so that the tests would differentiate Hy from Hybris.
And while this is a Lisp and shares some syntax with Clojure,
it has been added to the agile.py file to share the lists of
keywords and builtins with the PythonLexer.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also adds class, unions, records, and modules to the example file.
|
| | | | | |
|
|/ / / / |
|
| | | | |
|
|\ \ \ \ |
|
| | | | | |
|
|\ \ \ \ \ |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Added lexer for Rexx
|
| | |\ \ \ \ \ |
|
| | | |\ \ \ \ \
| | | | | |_|_|/
| | | | |/| | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
request #193
|
| | | |\ \ \ \ \ \
| | | | | |_|/ / /
| | | | |/| | | | |
|
| | | | |\ \ \ \ \ |
|
| | | | | | |/ / /
| | | | | |/| | | |
|
| | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
specification
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes #859
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Fix indentation
- Remove overly complicated string parsing rules
- Add link to wikipedia article in docstring
- Remove example using grammar from pre-published version of ISO spec which
has questionble licensing constraints.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
A regex based lexer for EBNF as defined in
http://www.cl.cam.ac.uk/~mgk25/iso-14977.pdf
Related to issue #805.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Cleaned up a few regular expressions to make them easier to read and improve performance.
* Cleaned up analyse_text() which is now a lot smaller and easier to reuse by other languages.
* Removed unnecessary instance variable in test case.
* Added loops to example source code.
|
| | |/ / / / /
| |/| | | | | |
|
| |\ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \
| | | | |/ / / / /
| | | |/| | | | | |
|
| | | |_|/ / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Adds a nesC module and configuration file for testing. IPDispatch
should cover a good percentage of the nesC specific keywords.
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| | | |_|/ / / /
| | |/| | | | | |
|