@nomicfoundation/slang-linux-x64-musl
Advanced tools
Changelog
0.17.0
43b389e
Thanks @OmarTawfik! - Move the Rust CLI into a separate slang_solidity_cli
crate.f749e53
Thanks @AntonyBlakey! - The grammar for VersionExpressionSet
has changed to more accurately model the allowed structure.Changelog
0.16.0
#1030 7e467ce
Thanks @ggiraldez! - Tree Query Language: queries now ignore trivia nodes.
#1030 7e467ce
Thanks @ggiraldez! - Tree Query Language: remove the ellipsis query ...
operator making it implicit, add an adjacency operator .
.
#1015 369ee30
Thanks @OmarTawfik! - upgrade to rust 1.79.0
.
#1052 54c9067
Thanks @ggiraldez! - Tree Query Language: Compute row and column information for query parser errors.
#1048 c408caa
Thanks @OmarTawfik! - support Yul multiple variables declaration
#1047 2b32045
Thanks @OmarTawfik! - inline MemberAccess
enum into the parent MemberAccessExpression
#1062 6b05496
Thanks @OmarTawfik! - fix stack assignments operator =:
.
#1052 54c9067
Thanks @ggiraldez! - Tree Query Language: Improve reporting when an error occurs attempting to parse edge labels or node kinds.
#1037 2a74f91
Thanks @OmarTawfik! - fix ExponentiationExpression
associativity before 0.8.0
Changelog
0.15.0
#975 46b1dde
Thanks @OmarTawfik! - rename QueryResult
to QueryMatch
, and its bindings
to captures
.
#971 be943b7
Thanks @Xanewok! - Rename RuleKind
to NonterminalKind
, TokenKind
to TerminalKind
, and NodeLabel
to EdgeLabel
.
#963 a5593f9
Thanks @Xanewok! - Introduce a Diagnostic
API for compiler errors, warnings etc.
#996 cdc153d
Thanks @OmarTawfik! - add support for version 0.8.26
.
#983 ea31417
Thanks @ggiraldez! - Expose the language root non-terminal kind at Language.rootKind()
.
#965 61b6b06
Thanks @OmarTawfik! - refactor CST building and querying utilities into a separate metaslang_cst
crate.
#997 84ad856
Thanks @OmarTawfik! - Support stack assignments in Yul before 0.5.0
.
Changelog
0.14.0
#753 b35c763
Thanks @AntonyBlakey! - Add tree query implementation as Query::parse
and Cursor::query
#755 8c260fc
Thanks @OmarTawfik! - support parsing NatSpec comments
#908 ab3688b
Thanks @Xanewok! - Changed the cst.NodeType in TS to use more descriptive string values rather than 0/1 integers
#887 dff1201
Thanks @Xanewok! - Add support for constant function modifier removed in 0.5.0
#885 a9bd8da
Thanks @Xanewok! - Flatten the trivia syntax nodes into sibling tokens
#908 ab3688b
Thanks @Xanewok! - Add RuleNode/TokenNode::toJSON() in the TypeScript API
#801 ecbba49
Thanks @OmarTawfik! - unreserve pragma keywords in all versions
#869 951b58d
Thanks @OmarTawfik! - support dots in yul identifiers from 0.5.8
till 0.7.0
#890 1ff8599
Thanks @Xanewok! - Mark override
as being a valid attribute only after 0.6.0
#800 d1827ff
Thanks @OmarTawfik! - support unicode characters in string literals up to 0.7.0
#797 86f36d7
Thanks @OmarTawfik! - fix source locations for unicode characters in error reports
#854 4b8970b
Thanks @OmarTawfik! - parse line breaks without newlines
#844 f62de9e
Thanks @OmarTawfik! - fix parsing empty /**/
comments
#799 303dda9
Thanks @OmarTawfik! - prevent parsing multiple literals under StringExpression
before 0.5.14
#847 6b6f260
Thanks @OmarTawfik! - prioritize parsing MultiLineComment
over MultiLineNatSpecComment
#796 59e1e53
Thanks @OmarTawfik! - add public
and internal
to UnnamedFunctionAttribute
till 0.5.0
#756 e839817
Thanks @OmarTawfik! - fix parsing payable
primary expressions
#851 67dfde8
Thanks @OmarTawfik! - fix selection order of prefix/postfix AST fields
#857 f677d5e
Thanks @OmarTawfik! - rename FieldName
to NodeLabel
#852 ca79eca
Thanks @OmarTawfik! - allow parsing ColonEqual
as two separate tokens before 0.5.5
#889 ce5050f
Thanks @Xanewok! - Support delete
as an expression rather than a statement
#923 bb30fc1
Thanks @Xanewok! - Support arbitrary ASCII escape sequences in string literals until 0.4.25
#887 dff1201
Thanks @Xanewok! - Support view and pure function modifiers only from 0.4.16
#800 d1827ff
Thanks @OmarTawfik! - rename AsciiStringLiteral
to StringLiteral
#838 ad98d1c
Thanks @OmarTawfik! - upgrade to rust 1.76.0
#849 5c42e0e
Thanks @OmarTawfik! - add override
and virtual
to ConstructorAttribute
#862 5e37ea0
Thanks @Xanewok! - allow call options as a post-fix expression
#786 0bfa6b7
Thanks @OmarTawfik! - support Yul label statements before 0.5.0
#839 2d698eb
Thanks @OmarTawfik! - support string literals in version pragmas
#891 70c9d7d
Thanks @Xanewok! - Fix parsing <NUMBER>.member
member access expression
#842 2069126
Thanks @OmarTawfik! - add private
to UnnamedFunctionAttribute
till 0.5.0
#840 7fb0d20
Thanks @OmarTawfik! - allow var
in TupleDeconstructionStatement
before 0.5.0
Changelog
0.13.1
c289cbf7
Thanks @OmarTawfik! - Properly parse EVM built-ins up till Paris/Solidity 0.8.18Changelog
0.13.0
#710 2025b6cb
Thanks @Xanewok! - CST children nodes are now named
#723 b3dc6bcd
Thanks @Xanewok! - Properly parse unreserved keywords in an identifier position, i.e. from
, emit
, global
etc.
#728 662a672c
Thanks @Xanewok! - Remove Language#scan API; use the parser API instead
#719 1ad6bb37
Thanks @OmarTawfik! - introduce strong types for all Solidity non terminals in the TypeScript API.
#719 1ad6bb37
Thanks @OmarTawfik! - unify Rust/TypeScript node helpers: *_with_kind()
, *_with_kinds()
, *_is_kind()
), ...
#731 3deaea2e
Thanks @OmarTawfik! - add RuleNode.unparse()
to the TypeScript API
Changelog
0.12.0
#699 ddfebfe9
Thanks @Xanewok! - Remove ProductionKind
in favor of RuleKind
#699 ddfebfe9
Thanks @Xanewok! - Allow parsing individual precedence expressions, like ShiftExpression
#665 4b5f8b46
Thanks @Xanewok! - Remove the CST Visitor API in favor of the Cursor API
#666 0434b68c
Thanks @Xanewok! - Add Node::unparse()
that allows to reconstruct the source code from the CST node
#675 daea4b7f
Thanks @OmarTawfik! - rename Cursor
's pathRuleNodes()
to ancestors()
in the NodeJS API.
#676 b496d361
Thanks @OmarTawfik! - Fix NAPI cursor
types and expose cursor.depth
.