Skip to content

Cyfrin/foundry-compilers-aletheia

Repository files navigation

Foundry Compilers Aletheia

Overview

To simplify installation, add the following to Cargo.toml

[dependencies]
foundry-compilers-aletheia = { git = "https://github.com/Cyfrin/foundry-compilers-aletheia", branch = "main", package = "foundry-compilers-aletheia" }

Extract ASTs and other Evm Info

use std::path::Path;
use foundry_compilers_aletheia::{
    DerivedAstEvmInfo, ProjectConfigInputBuilder, Result, derive_ast_and_evm_info,
};

pub fn ast_info(root: &str) -> Result<DerivedAstEvmInfo> {
    let config = ProjectConfigInputBuilder::new(Path::new(root)).build()?;
    derive_ast_and_evm_info(&config)
}

Goal

To be the fastest AST generator for Aderyn

Credits

This project exists thanks to all the people who contribute.

Attribution

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published