Skip to main content

Crate osirisdb

Crate osirisdb 

Source
Expand description

§OsirisDB

A modular SQL database engine implemented in Rust, featuring a custom parser, binder, query planner, optimizer, catalog, and storage engine.

Warning: This project is currently under active development and is not yet ready for production use.

This crate parses raw SQL strings into a fully typed Abstract Syntax Tree (AST) representing statements, expressions, constraints, data types, and operations.

§Modules

  • lexer: Tokenizes raw SQL input streams.
  • ast: Defines typed Rust AST nodes for expressions and statements.
  • parser: Parses token streams into AST nodes.

Modules§

ast
Strongly typed Abstract Syntax Tree (AST) representations of SQL statement and expression structures.
binder
The binder — semantic analysis and name resolution layer.
catalog
common
execution
executor
The execution engine — applies bound statements to the catalog and storage.
lexer
SQL lexer and tokenizer subsystem.
parser
SQL parser implementation converting a stream of tokens into a fully validated AST.
sql
storage
The storage engine — manages the on-disk layout for all database objects.