32 lines
676 B
Rust
32 lines
676 B
Rust
#![feature(trace_macros)]
|
|
//#![feature(unrestricted_attribute_tokens)]
|
|
#![feature(box_patterns, iter_intersperse)]
|
|
|
|
//! `schala-lang` is where the Schala programming language is actually implemented.
|
|
//! It defines the `Schala` type, which contains the state for a Schala REPL, and implements
|
|
//! `ProgrammingLanguageInterface` and the chain of compiler passes for it.
|
|
|
|
extern crate derivative;
|
|
extern crate schala_repl;
|
|
|
|
#[macro_use]
|
|
mod util;
|
|
|
|
#[macro_use]
|
|
mod type_inference;
|
|
|
|
mod ast;
|
|
mod parsing;
|
|
#[macro_use]
|
|
mod symbol_table;
|
|
mod builtin;
|
|
mod error;
|
|
mod reduced_ir;
|
|
mod tree_walk_eval;
|
|
#[macro_use]
|
|
mod identifier;
|
|
|
|
mod schala;
|
|
|
|
pub use schala::{Schala, SchalaConfig};
|