35 lines
751 B
Rust
35 lines
751 B
Rust
#![feature(trace_macros)]
|
|
//#![feature(unrestricted_attribute_tokens)]
|
|
#![feature(box_patterns, box_syntax, 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 schala_repl;
|
|
#[macro_use]
|
|
extern crate schala_lang_codegen;
|
|
extern crate derivative;
|
|
|
|
#[macro_use]
|
|
mod util;
|
|
|
|
#[macro_use]
|
|
mod type_inference;
|
|
|
|
mod ast;
|
|
mod parsing;
|
|
mod tokenizing;
|
|
#[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};
|