endbasic_core/lib.rs
1// EndBASIC
2// Copyright 2020 Julio Merino
3//
4// Licensed under the Apache License, Version 2.0 (the "License"); you may not
5// use this file except in compliance with the License. You may obtain a copy
6// of the License at:
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13// License for the specific language governing permissions and limitations
14// under the License.
15
16//! The EndBASIC language parser and interpreter.
17
18// Keep these in sync with other top-level files.
19#![allow(clippy::await_holding_refcell_ref)]
20#![allow(clippy::collapsible_else_if)]
21#![warn(anonymous_parameters, bad_style, missing_docs)]
22#![warn(unused, unused_extern_crates, unused_import_braces, unused_qualifications)]
23#![warn(unsafe_code)]
24
25// TODO(jmmv): Should narrow the exposed interface by 1.0.0.
26pub mod ast;
27pub mod bytecode;
28pub mod compiler;
29pub mod exec;
30mod lexer;
31pub mod parser;
32mod reader;
33pub mod syms;
34#[cfg(test)]
35mod testutils;
36pub mod value;
37
38pub use reader::LineCol;