//! TODO: Root library module. const std = @import("std"); const lex = @import("lex.zig"); const parse = @import("parse.zig"); const eval = @import("eval.zig"); // TODO: io/reader function(s) /// TODO: Lex and parse a string of source code and return the AST. pub fn read(allocator: std.mem.Allocator, code: []const u8) !parse.Ast { const lexemes = try lex.lex(allocator, code); return parse.parse(allocator, lexemes); }