2022-07-02 02:25:43 -05:00
|
|
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
|
2022-07-20 17:56:00 -05:00
|
|
|
use web_lisp::parser;
|
|
|
|
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
|
|
println!(
|
|
|
|
"{:?}",
|
|
|
|
parser::read(&std::fs::read_to_string(
|
|
|
|
std::env::args().nth(1).ok_or("no filename provided")?,
|
|
|
|
)?)
|
2022-07-02 02:25:43 -05:00
|
|
|
);
|
2022-07-03 17:55:19 -05:00
|
|
|
|
2022-07-20 17:56:00 -05:00
|
|
|
Ok(())
|
2022-07-02 02:25:43 -05:00
|
|
|
}
|