Cadence Parser
The Cadence parser compiled to WebAssembly and bundled as an NPM package,
so it can be used in tools written in JavaScript.
Usage
import {CadenceParser} from "@onflow/cadence-parser"
const parser = await CadenceParser.create("cadence-parser.wasm")
const ast = parser.parse(`
pub contract HelloWorld {
pub fun hello() {
log("Hello, world!")
}
}
`)
v1.0.0-preview.50 - 23 Aug 2024
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.50 -->
What's Changed
🐞 Bug Fixes
- Fix program recovery by @turbolent in https://github.com/onflow/cadence/pull/3548
📖 Documentation
- Add mainnet migration report for Aug 21 by @j1010001 in https://github.com/onflow/cadence/pull/3547
Other Changes
- Merge
release/v1.0.0-preview.49
to master
by @github-actions in https://github.com/onflow/cadence/pull/3545
Full Changelog: https://github.com/onflow/cadence/compare/v1.0.0-preview.49...v1.0.0-preview.50
[Changes][v1.0.0-preview.50]
<a name="v1.0.0-preview.49"></a>