asterisk 0.1.0

Universal language-agnostic AST walking and accurate call stack generation with tree-sitter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod person;
mod animal;

use person::Person as Animal;

fn main() {
    let mut person = Person::new("Alice".to_string(), 30);
    person.introduce();
    person.celebrate_birthday();

    let animal = animal::Animal::new("Buddy".to_string(), "Dog".to_string());
    animal.introduce();
    animal.celebrate_birthday();
}