summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Closes #864: fix Prolog numeric literals.Georg Brandl2013-05-191-1/+9
|
* Add missing attributions, changelog entries and versionadded tags.Georg Brandl2013-05-191-0/+6
|
* merge with mgorny/pygments-vim-modelines-r1 (pull request #118)Georg Brandl2013-05-191-1/+1
|\
| * Add vim-specific aliases for lexers.Micha? G?rny2012-10-191-1/+1
| |
* | Closes #871: Objective C/C++ lexers: allow "@" prefixing any expression.Georg Brandl2013-05-191-0/+2
| |
* | Less greedy detection of SWIG directives in 'analyse_text'William Fulton2013-05-121-2/+5
| |
* | Fix merge from https://bitbucket.org/birkenfeld/pygments-mainWilliam Fulton2013-05-111-0/+156
| |
* | Merge from https://bitbucket.org/birkenfeld/pygments-mainWilliam Fulton2013-05-111-157/+53
|\ \
| * | Detect SWIG directives in 'analyse_text'. Some commonly known directives are ↵William Fulton2013-05-111-1/+31
| | | | | | | | | | | | detected with high priority. Unlisted, but possible SWIG directives are given a lower priority, but there is a conflict with Matlab comments. Perhaps the Matlab lexer should be improved?
| * | Regular expressions changed for SWIG - same regex just written differentlyWilliam Fulton2013-04-161-2/+2
| | |
| * | Update aliases and mimetypes mapping for SWIGWilliam Fulton2013-02-161-1/+1
| | |
| * | Fix for SWIG's ##William Fulton2013-02-151-1/+1
| | |
| * | Add a mime type for SWIG files. Choose 'text/swig' - a Google search ↵William Fulton2013-02-151-1/+1
| | | | | | | | | | | | indicates it isn't being used. Note that 'text/x-swig' is not used as the x- prefix is deprecated, see http://tools.ietf.org/html/rfc6648.
| * | Change default for SWIG directivesWilliam Fulton2013-02-151-2/+2
| | |
| * | SwigLexer refinements for SWIG directives, add support for stringification ↵William Fulton2013-02-101-3/+4
| | | | | | | | | | | | of types and special variables, also set priority for SWIG.
| * | Add support for SWIG - http://www.swig.org. SWIG is an extension to C++ ↵wsfulton2013-02-101-1/+22
| | | | | | | | | | | | hence the implementation is derived from CppLexer with additions to identify SWIG's special variables, such as _type, and the SWIG directives which begin with %.
* | | Merged in ppannuto/pygments-main (pull request #166)Tim Hatch2013-05-061-5/+30
|\ \ \
| * | | Include link to nesc homePat Pannuto2013-05-061-1/+2
| | | |
| * | | I am very bad at mercurial, apologies for the ugly historyPat Pannuto2013-05-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If I had any idea how to cherry-pick my original patch from January and apply it to the current mainline and update this ``correctly'', I would do so, but I am simply not good enough at hg; sorry.
| * | | Fixup accidental deletion of the Clay Lexer from bad mergePat Pannuto2013-05-061-1/+54
| | | |
| * | | Add lexing support for nesCPat Pannuto2013-02-141-4/+26
| |/ /
* | | Ran tests and fixed errors this time...Alex Gilding2013-05-061-17/+22
| | |
* | | added test.bb (corrections)Alex Gilding2013-05-031-12/+10
| | |
* | | added .bbAlex Gilding2013-05-031-1/+78
| | |
* | | Clay: add changelog entry and attribution.Georg Brandl2013-04-051-3/+6
| | |
* | | Lexer for Clay programming language.Stepan Koltsov2013-04-041-1/+49
|/ / | | | | | | https://github.com/jckarter/clay/
* | Check for missing aliases in "make check".Georg Brandl2013-01-201-1/+1
| |
* | Fix stuff in new lexers found by regexlint.Georg Brandl2013-01-121-1/+1
| |
* | AdaLexer: fix support for record typesMasen Furer2013-01-111-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the previous implementation, a record type would trigger a descent into 'formal_part' which is for formal parameter lists in a task, procedure, or function declaration. The 'formal_part' is inappropriate for the record type, which lists Variable_Name : Variable_Type for all members of the record, like the declaration section of a procedure. Now the code can take advantage of highlighting built-in types for record declarations. Further, the 'formal_part' only pops on a right paren \) This doesn't work for record declarations which end with a 'end record'. The previous implementation caused highlighting inconsistencies after a record declaration because the lexer would get stuck in 'formal_part' and wouldn't pop on 'end record' Finally, null records would also exhibit the same behavior described, however a null record declaration doesn't contain an 'end record'. It is a shorthand notation which has been special-cased into 'type_def'. For a comparison, look at output before and after this commit on: tests/examplefiles/test.adb
* | AdaLexer: added additional built-in/standard typesMasen Furer2013-01-111-4/+6
| | | | | | | | | | | | Some of these are new in Ada 2012 ref: http://www.ada-auth.org/standards/12rm/html/RM-Q-2.html
* | Merged in waywardmonkeys/pygments-main (pull request #149: [dylan] Add ↵Georg Brandl2013-01-101-7/+60
|\ \ | | | | | | | | | DylanConsoleLexer.)
| * | [dylan] Check the lowercase of the value against the various builtins.Bruce Mitchener, Jr.2013-01-101-4/+5
| | |
| * | Merged.Bruce Mitchener, Jr.2013-01-101-3/+52
| |\ \
| | * | [dylan] Add DylanConsoleLexer.Bruce Mitchener, Jr.2013-01-101-3/+51
| | | |
* | | | merge with https://bitbucket.org/dhowett/pygments-main#logosGeorg Brandl2013-01-101-35/+43
|\ \ \ \ | |/ / /
* | | | Add a lexer for the Logos language, which inherits functionality from the ↵Dustin Howett2013-01-091-1/+57
|/ / / | | | | | | | | | ObjectiveCppLexer.
* | | Fix a couple "make check" issues, mostly long lines.Georg Brandl2013-01-091-23/+32
| | |
* | | Closes #813: add missing FORTRAN statements.Georg Brandl2013-01-091-4/+4
| | |
* | | Merged in btiffin/cobol-pygments (pull request #72: adding an OpenCOBOL lexer)Georg Brandl2013-01-091-604/+702
|\ \ \
| * \ \ Merged in alastairh/pygments (pull request #141: Improve and unify C family ↵Georg Brandl2013-01-091-45/+218
| |\ \ \ | | | | | | | | | | | | | | | language lexers)
| | * | | Happy new year 2013.Georg Brandl2013-01-091-1/+1
| | | | |
| | * | | Fix issues found by "make check".Georg Brandl2013-01-091-3/+3
| | | | |
| | * | | Merged in waywardmonkeys/pygments-main (pull request #148: Additional Dylan ↵Georg Brandl2013-01-091-1/+14
| | |\ \ \ | | | |/ / | | | | | | | | | | fixes)
| | | * | [dylan] Correctly handle file headers.Bruce Mitchener, Jr.2013-01-091-1/+14
| | | | | | | | | | | | | | | | | | | | Thanks to Georg Brandl for pointing me in the right direction.
| | * | | Add attribution and changelog for new Dylan lexer; minor style fixes.Georg Brandl2013-01-091-3/+4
| | |/ /
| | * | Rewrite the Dylan Lexer and provide a lexer for Dylan LID files.Bruce Mitchener, Jr.2013-01-091-27/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes include: * Dylan is not case sensitive. * Support for other number literal formats (hex, octal, binary). * Support nested multi-line comments. * Correct various issues with matching of 'names'. * Support highlighting of macro definitions better. * Support keyword / required keyword syntax in class definitions. * Support each-subclass slot allocation. * Handle the | operator. * Change what tokens are mapped to what types and reduce the Christmas tree look of the output a bit. * Explicitly list and handle the various builtins defined in the DRM.
| | * | Update the Rust syntax to match version 0.5 of the languagePatrick Walton2013-01-021-9/+9
| | | |
| * | | Reinstate analyse_text.Alastair Houghton2013-01-031-0/+6
| | | |
| * | | Remove the unnecessary analyse_text methods, reduce the default priorities. ↵Alastair Houghton2013-01-031-18/+8
| | | | | | | | | | | | | | | | Also remove some trailing whitespace and tighten-up a couple of except clauses.
| * | | Added support for inheritance to RegexLexer, so that subclasses canAlastair Houghton2012-12-191-386/+187
| |/ / | | | | | | | | | | | | | | | | | | | | | selectively inherit tokendefs from their superclasses. Used this new ability to simplify and unify the C family languages in compiled.py, and to add support for Objective-C++. Also added code to support autodetection of language for .h files, with the default being C if no content is provided, since Objective-C uses the .h file extension.