ucg/src/lib.rs

38 lines
987 B
Rust
Raw Normal View History

2017-07-11 20:29:54 -05:00
// Copyright 2017 Jeremy Wall <jeremy@marzhillstudios.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// #![feature(trace_macros,log_syntax)]
2017-12-24 15:24:06 -05:00
#[macro_use]
extern crate nom;
#[macro_use]
extern crate nom_locate;
#[macro_use]
pub mod ast;
#[macro_use]
pub mod tokenizer;
pub mod parse;
pub mod build;
pub mod convert;
pub mod error;
2017-08-08 21:02:54 -05:00
mod format;
pub use ast::Value;
pub use ast::Expression;
pub use ast::Statement;
pub use parse::parse;
pub use build::Builder;