@nomicfoundation/slang
Advanced tools
Comparing version 0.1.1 to 0.2.0
# changelog | ||
## 0.2.0 | ||
### Minor Changes | ||
- [#435](https://github.com/NomicFoundation/slang/pull/435) [`2a5b193`](https://github.com/NomicFoundation/slang/commit/2a5b1930b20024359fbaf06b6e9748585d7423ff) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - support user defined operators | ||
### Patch Changes | ||
- [#416](https://github.com/NomicFoundation/slang/pull/416) [`fb977a5`](https://github.com/NomicFoundation/slang/commit/fb977a52b152a1ce8d8ce92db4bb00fcfb5881c1) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix primary expressions parser order | ||
- [#434](https://github.com/NomicFoundation/slang/pull/434) [`beb3708`](https://github.com/NomicFoundation/slang/commit/beb3708218ec797614ba283a13f1854d5f3c7239) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix UnicodeStringLiteral versioning | ||
- [#430](https://github.com/NomicFoundation/slang/pull/430) [`8b7492e`](https://github.com/NomicFoundation/slang/commit/8b7492e65ec7261176e444dca2563a82603b43b0) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - update READMEs with links to packages and user guides. | ||
- [#425](https://github.com/NomicFoundation/slang/pull/425) [`9b49b3d`](https://github.com/NomicFoundation/slang/commit/9b49b3d827536e707d78a6bc349fc82698237b75) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add user guides to rust crate and npm packages. | ||
- [#432](https://github.com/NomicFoundation/slang/pull/432) [`1d1a8bb`](https://github.com/NomicFoundation/slang/commit/1d1a8bb5503c510a470bb99a18632c3e51a587ec) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix FunctionCallOptions versioning | ||
- [#427](https://github.com/NomicFoundation/slang/pull/427) [`1103916`](https://github.com/NomicFoundation/slang/commit/11039163ac3a3b66a74fa85683bde1c380a519f4) Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - fix VariableDeclarationStatement versioning | ||
## 0.1.1 | ||
@@ -7,3 +27,3 @@ | ||
- [#412](https://github.com/NomicFoundation/slang/pull/412) [`9cac1a04`](https://github.com/NomicFoundation/slang/commit/9cac1a04670fa870c15cee1bd20e0e78c1d213db) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - publish npm packages | ||
- [#412](https://github.com/NomicFoundation/slang/pull/412) [`9cac1a04`](https://github.com/NomicFoundation/slang/commit/9cac1a04670fa870c15cee1bd20e0e78c1d213db) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - publish npm packages | ||
@@ -14,2 +34,2 @@ ## 0.1.0 | ||
- [#396](https://github.com/NomicFoundation/slang/pull/396) [`621b338`](https://github.com/NomicFoundation/slang/commit/621b33838c74415c46ab157205068008e05c5b9b) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Initial release. | ||
- [#396](https://github.com/NomicFoundation/slang/pull/396) [`621b338`](https://github.com/NomicFoundation/slang/commit/621b33838c74415c46ab157205068008e05c5b9b) Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Initial release. |
{ | ||
"name": "@nomicfoundation/slang", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "A modular set of compiler APIs empowering the next generation of Solidity code analysis and developer tooling. Written in Rust and distributed in multiple languages.", | ||
@@ -40,11 +40,11 @@ "homepage": "https://nomicfoundation.github.io/slang/", | ||
"optionalDependencies": { | ||
"@nomicfoundation/slang-darwin-arm64": "0.1.1", | ||
"@nomicfoundation/slang-win32-arm64-msvc": "0.1.1", | ||
"@nomicfoundation/slang-linux-arm64-gnu": "0.1.1", | ||
"@nomicfoundation/slang-linux-arm64-musl": "0.1.1", | ||
"@nomicfoundation/slang-win32-ia32-msvc": "0.1.1", | ||
"@nomicfoundation/slang-darwin-x64": "0.1.1", | ||
"@nomicfoundation/slang-win32-x64-msvc": "0.1.1", | ||
"@nomicfoundation/slang-linux-x64-gnu": "0.1.1", | ||
"@nomicfoundation/slang-linux-x64-musl": "0.1.1" | ||
"@nomicfoundation/slang-darwin-arm64": "0.2.0", | ||
"@nomicfoundation/slang-win32-arm64-msvc": "0.2.0", | ||
"@nomicfoundation/slang-linux-arm64-gnu": "0.2.0", | ||
"@nomicfoundation/slang-linux-arm64-musl": "0.2.0", | ||
"@nomicfoundation/slang-win32-ia32-msvc": "0.2.0", | ||
"@nomicfoundation/slang-darwin-x64": "0.2.0", | ||
"@nomicfoundation/slang-win32-x64-msvc": "0.2.0", | ||
"@nomicfoundation/slang-linux-x64-gnu": "0.2.0", | ||
"@nomicfoundation/slang-linux-x64-musl": "0.2.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "napi": { |
@@ -5,10 +5,18 @@ # @nomicfoundation/slang | ||
[![release](https://img.shields.io/github/v/tag/NomicFoundation/slang?label=GitHub%20Release&logo=github&sort=semver&logoColor=white)](https://github.com/NomicFoundation/slang/releases) | ||
[![crate](https://img.shields.io/crates/v/slang_solidity?label=Rust%20Crate&logo=rust&logoColor=white)](https://crates.io/crates/slang_solidity) | ||
[![npm](https://img.shields.io/npm/v/@nomicfoundation/slang?label=NPM%20Package&logo=npm&logoColor=white)](https://www.npmjs.com/package/@nomicfoundation/slang) | ||
[![documentation](https://img.shields.io/github/deployments/NomicFoundation/slang/github-pages?label=Documentation&logo=gitbook&logoColor=white)](https://nomicfoundation.github.io/slang) | ||
## Solidity compiler tooling by [@NomicFoundation](https://github.com/NomicFoundation) | ||
<br/> | ||
A modular set of compiler APIs empowering the next generation of Solidity code analysis and developer tooling. | ||
Written in Rust and distributed in multiple languages. | ||
🔗 [Announcement Post](https://medium.com/nomic-foundation-blog/slang-rethnet-2ad465fd7880) | ||
- [Announcement Post](https://medium.com/nomic-foundation-blog/slang-rethnet-2ad465fd7880) | ||
- [User Guide](https://nomicfoundation.github.io/slang/user-guide/npm-package/) | ||
<br/> | ||
> ❗ This repository is **highly experimental**, and is under active development. Any code or binaries produced from this project should not be used in any production or critical workloads, and is subject to deletion or changes at any time. | ||
> ❗ This repository is **highly experimental**, and is under active development. | ||
> Any code or binaries produced from this project should not be used in any production or critical workloads, and is subject to deletion or changes at any time. |
@@ -173,15 +173,16 @@ // Slang License: https://github.com/NomicFoundation/slang/blob/main/LICENSE | ||
UsingKeyword = 156, | ||
VersionPragmaValue = 157, | ||
ViewKeyword = 158, | ||
VirtualKeyword = 159, | ||
WeeksKeyword = 160, | ||
WeiKeyword = 161, | ||
WhileKeyword = 162, | ||
Whitespace = 163, | ||
YearsKeyword = 164, | ||
YulDecimalLiteral = 165, | ||
YulHexLiteral = 166, | ||
YulIdentifier = 167, | ||
YulKeyword = 168, | ||
YulReservedKeyword = 169, | ||
VarKeyword = 157, | ||
VersionPragmaValue = 158, | ||
ViewKeyword = 159, | ||
VirtualKeyword = 160, | ||
WeeksKeyword = 161, | ||
WeiKeyword = 162, | ||
WhileKeyword = 163, | ||
Whitespace = 164, | ||
YearsKeyword = 165, | ||
YulDecimalLiteral = 166, | ||
YulHexLiteral = 167, | ||
YulIdentifier = 168, | ||
YulKeyword = 169, | ||
YulReservedKeyword = 170, | ||
} | ||
@@ -302,33 +303,34 @@ export enum RuleKind { | ||
UnnamedFunctionDefinition = 112, | ||
UserDefinedValueTypeDefinition = 113, | ||
UsingDirective = 114, | ||
VariableDeclarationStatement = 115, | ||
VersionPragma = 116, | ||
VersionPragmaAlternatives = 117, | ||
VersionPragmaComparator = 118, | ||
VersionPragmaExpression = 119, | ||
VersionPragmaRange = 120, | ||
VersionPragmaSpecifier = 121, | ||
WhileStatement = 122, | ||
YulAssignmentStatement = 123, | ||
YulBlock = 124, | ||
YulBreakStatement = 125, | ||
YulContinueStatement = 126, | ||
YulDeclarationStatement = 127, | ||
YulExpression = 128, | ||
YulForStatement = 129, | ||
YulFunctionCallExpression = 130, | ||
YulFunctionDefinition = 131, | ||
YulIdentifierPath = 132, | ||
YulIfStatement = 133, | ||
YulLeaveStatement = 134, | ||
YulLiteral = 135, | ||
YulStatement = 136, | ||
YulSwitchStatement = 137, | ||
_DELIMITEDBY = 138, | ||
_OPTIONAL = 139, | ||
_REPEATED = 140, | ||
_SEPARATEDBY = 141, | ||
_SEQUENCE = 142, | ||
_TERMINATEDBY = 143, | ||
UserDefinedOperator = 113, | ||
UserDefinedValueTypeDefinition = 114, | ||
UsingDirective = 115, | ||
VariableDeclarationStatement = 116, | ||
VersionPragma = 117, | ||
VersionPragmaAlternatives = 118, | ||
VersionPragmaComparator = 119, | ||
VersionPragmaExpression = 120, | ||
VersionPragmaRange = 121, | ||
VersionPragmaSpecifier = 122, | ||
WhileStatement = 123, | ||
YulAssignmentStatement = 124, | ||
YulBlock = 125, | ||
YulBreakStatement = 126, | ||
YulContinueStatement = 127, | ||
YulDeclarationStatement = 128, | ||
YulExpression = 129, | ||
YulForStatement = 130, | ||
YulFunctionCallExpression = 131, | ||
YulFunctionDefinition = 132, | ||
YulIdentifierPath = 133, | ||
YulIfStatement = 134, | ||
YulLeaveStatement = 135, | ||
YulLiteral = 136, | ||
YulStatement = 137, | ||
YulSwitchStatement = 138, | ||
_DELIMITEDBY = 139, | ||
_OPTIONAL = 140, | ||
_REPEATED = 141, | ||
_SEPARATEDBY = 142, | ||
_SEQUENCE = 143, | ||
_TERMINATEDBY = 144, | ||
} | ||
@@ -584,37 +586,39 @@ export enum ProductionKind { | ||
UnsignedIntegerType = 247, | ||
UserDefinedValueTypeDefinition = 248, | ||
UsingDirective = 249, | ||
UsingKeyword = 250, | ||
VariableDeclarationStatement = 251, | ||
VersionPragma = 252, | ||
VersionPragmaExpression = 253, | ||
VersionPragmaSpecifier = 254, | ||
VersionPragmaValue = 255, | ||
ViewKeyword = 256, | ||
VirtualKeyword = 257, | ||
WeeksKeyword = 258, | ||
WeiKeyword = 259, | ||
WhileKeyword = 260, | ||
WhileStatement = 261, | ||
Whitespace = 262, | ||
YearsKeyword = 263, | ||
YulAssignmentStatement = 264, | ||
YulBlock = 265, | ||
YulBreakStatement = 266, | ||
YulContinueStatement = 267, | ||
YulDecimalLiteral = 268, | ||
YulDeclarationStatement = 269, | ||
YulExpression = 270, | ||
YulForStatement = 271, | ||
YulFunctionDefinition = 272, | ||
YulHexLiteral = 273, | ||
YulIdentifier = 274, | ||
YulIdentifierPath = 275, | ||
YulIfStatement = 276, | ||
YulKeyword = 277, | ||
YulLeaveStatement = 278, | ||
YulLiteral = 279, | ||
YulReservedKeyword = 280, | ||
YulStatement = 281, | ||
YulSwitchStatement = 282, | ||
UserDefinedOperator = 248, | ||
UserDefinedValueTypeDefinition = 249, | ||
UsingDirective = 250, | ||
UsingKeyword = 251, | ||
VarKeyword = 252, | ||
VariableDeclarationStatement = 253, | ||
VersionPragma = 254, | ||
VersionPragmaExpression = 255, | ||
VersionPragmaSpecifier = 256, | ||
VersionPragmaValue = 257, | ||
ViewKeyword = 258, | ||
VirtualKeyword = 259, | ||
WeeksKeyword = 260, | ||
WeiKeyword = 261, | ||
WhileKeyword = 262, | ||
WhileStatement = 263, | ||
Whitespace = 264, | ||
YearsKeyword = 265, | ||
YulAssignmentStatement = 266, | ||
YulBlock = 267, | ||
YulBreakStatement = 268, | ||
YulContinueStatement = 269, | ||
YulDecimalLiteral = 270, | ||
YulDeclarationStatement = 271, | ||
YulExpression = 272, | ||
YulForStatement = 273, | ||
YulFunctionDefinition = 274, | ||
YulHexLiteral = 275, | ||
YulIdentifier = 276, | ||
YulIdentifierPath = 277, | ||
YulIfStatement = 278, | ||
YulKeyword = 279, | ||
YulLeaveStatement = 280, | ||
YulLiteral = 281, | ||
YulReservedKeyword = 282, | ||
YulStatement = 283, | ||
YulSwitchStatement = 284, | ||
} | ||
@@ -621,0 +625,0 @@ export class RuleNode { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30780
882
22