You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now solang cannot be compiled to wasm due to #497, so for now this library should work much like tree-sitter-cli which downloads the release executable from github releases download.
This requires creating a new package.json and associated files, and some typescript. The code can mostly be stolen from tree-sitter-cli (note: check the license).
The npm library should implement a single compile() function, which executes the binary with the solang --standard-json. This requires the feature in #791 to be implemented. The output is json, which can be returned from the compile function.
Right now solang cannot be compiled to wasm due to #497, so for now this library should work much like tree-sitter-cli which downloads the release executable from github releases download.
This requires creating a new
package.json
and associated files, and some typescript. The code can mostly be stolen from tree-sitter-cli (note: check the license).The npm library should implement a single
compile()
function, which executes the binary with thesolang --standard-json
. This requires the feature in #791 to be implemented. The output is json, which can be returned from thecompile
function.The aim of this is to implement something similar to the solc compile function.
The text was updated successfully, but these errors were encountered: