Registry / other / leo-parser

leo-parser

JSON →
library4.2.0rscratesunverified

Translates from the lossless syntax tree to the AST for the Leo language.

# Cargo.toml [dependencies] leo-parser = "4.2.0"
INSTALL
IMPORT
SIG · LEO-PARSER
L
leo-parser
otherrustv4.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ast
use leo_parser::ast::Ast;

Parses Leo source code into an AST.

use leo_parser::ast::Ast; let ast = Ast::from_source("program main {}");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
leo-parser — cargo add leo-parser · libregistry