Skip to content

A Source library for Ara Programming Language ๐Ÿ—ƒ

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ara-lang/source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Ara Source

Actions Status Crates.io Docs

A Source library for Ara Programming Language ๐Ÿ—ƒ

Usage

Add ara_source to your Cargo.toml, and you're good to go!

[dependencies]
ara_source = "0.2.0"

Example

use ara_source::loader;

fn main() {
    let root = format!(
        "{}/examples/fixture/",
        std::env::var("CARGO_MANIFEST_DIR").unwrap()
    );

    let result = loader::load_directories(root, vec!["src", "vendor/foo", "vendor/bar"])?;

    println!("{:#?}", map);
}

see examples directory for more examples.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Credits