bitsy-parser 0.70.2

A parser and utilities for working with Bitsy game data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate bitsy_parser;
use bitsy_parser::game::Game;
use std::{env, fs};

fn main() {
    let input_file = env::args()
        .nth(1)
        .expect("No input path specified. Usage: `bitsy-validate filepath`");

    Game::from(fs::read_to_string(input_file).unwrap()).unwrap();

    println!("OK!");
}