schala/schala-lang/src/lib.rs

32 lines
676 B
Rust
Raw Normal View History

2018-07-16 03:40:35 -07:00
#![feature(trace_macros)]
//#![feature(unrestricted_attribute_tokens)]
2024-08-05 01:07:02 -07:00
#![feature(box_patterns, iter_intersperse)]
2018-11-11 18:04:44 -08:00
2021-10-14 16:54:05 -07:00
//! `schala-lang` is where the Schala programming language is actually implemented.
2018-11-11 18:04:44 -08:00
//! It defines the `Schala` type, which contains the state for a Schala REPL, and implements
//! `ProgrammingLanguageInterface` and the chain of compiler passes for it.
2019-09-18 01:58:38 -07:00
extern crate derivative;
2021-11-14 03:27:30 -08:00
extern crate schala_repl;
2018-03-23 18:43:43 -07:00
2019-02-17 03:36:12 -08:00
#[macro_use]
mod util;
#[macro_use]
mod type_inference;
2018-06-04 19:25:40 -07:00
mod ast;
mod parsing;
2019-08-30 19:03:52 -07:00
#[macro_use]
mod symbol_table;
2019-02-17 03:36:12 -08:00
mod builtin;
2021-10-14 04:11:53 -07:00
mod error;
mod reduced_ir;
mod tree_walk_eval;
#[macro_use]
mod identifier;
mod schala;
2018-10-20 14:27:00 -07:00
pub use schala::{Schala, SchalaConfig};