Skip to content

About

In-memory relational SQL lexer, recursive-descent parser, and query planner in TypeScript

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ts-sql-engine

A pure TypeScript, zero-dependency in-memory SQL Lexer, recursive-descent Parser, and Relational Execution Engine.

Features

  • Lexer: Tokenizes SQL keywords, operators, literals, strings, and identifiers.
  • AST Parser: Recursive descent parser for CREATE TABLE, INSERT INTO, and SELECT statements.
  • Query Planner & Execution:
    • WHERE clause evaluation with equality and comparison operators.
    • ORDER BY sorting (ascending / descending).
    • LIMIT pagination.
    • Column projections and table catalog management.

About

In-memory relational SQL lexer, recursive-descent parser, and query planner in TypeScript

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages