repl-core 1.13.0

Core REPL engine for the Symbi platform
1
2
3
4
5
6
use std::fs;
use std::path::Path;

pub fn read_file(path: &str) -> String {
    fs::read_to_string(Path::new(path)).expect("Failed to read file")
}