lisette-semantics 0.1.26

Little language inspired by Rust that compiles to Go
Documentation
1
2
3
4
5
6
7
8
use rustc_hash::FxHashMap as HashMap;

pub type Files = HashMap<String, String>; // filename -> content

pub trait Loader {
    /// Scans a folder and returns all `.lis` files as a map of filename to content
    fn scan_folder(&self, folder: &str) -> Files;
}