llang 0.0.1

Experimental Lua compiler based on llvm
/*
 * Copyright (C) the llang contributors
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 only,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 **/

//! A WIP LLVM Based compiler for lua

#![deny(missing_docs)]
#![deny(warnings)]
#![doc(test(attr(allow(unused_variables), deny(warnings))))]

extern crate llvm;
extern crate llvm_sys;
extern crate nom_lua;
extern crate clap;

use clap::{Arg, App};

fn main() {
	App::new("llang")
		.version("0.0.1")
		.author("Afonso Bordado <afonsobordado@az8.co")
		.about("LLVM based compiler for lua")
		.arg(Arg::with_name("file")
			 .value_name("FILE")
			 .help("File to be compiled")
			 .required(true)
			 .takes_value(true))
		.get_matches();

    unimplemented!();
}