- Keywords from Solidity v0.7 and v0.8. (#5)
- In-comment highlighting before the SPDX license identifier. (#6)
Thanks to @axic!
- Two new NatSpec keywords,
@inheritdoc
and@custom:..
. - Python version requirement in
setup.py
. (#1)
- Detect
:
as punctuation when used in Yul variable declaration with type hints.
YulLexer
, a new lexer that has some commonalities withSolidityLexer
, but is made specifically to highlight code (and object descriptions!) written in the Yul language.- Also added some missing instructions in inline assembly.
- Missing keywords, such as
calldata
, as identified in lexer PR for Rouge. - Use of
$
in names.
- Corrected M, N ranges for
[u]fixed{M}x{N}
types. - Re-classified many keywords from
Keywords.Reserved
to justKeywords
, since they now have functionality, or were previosly erroneously mis-classified.
- Updated keywords to those of
solc
v0.6.0.
- Only match actual "nested" keywords (global variables), not all
instances of their partials; e.g.,
msg.sender
but notsender
.
- NatSpec
@special
keywords. - Integers in exponential notation.
- Floating-point numbers.
- Updated keywords to those of
solc
v0.4.22.
- Updated keywords to those of
solc
v0.4.21.
- Minimal instructions in README.
- Updated keywords to those of
solc
v0.4.18.
- License: from MIT to BSD.
- Ported
pygments-main
PR #626 to this package.