sql-parser-0.1.0.0: Simple SQL Parser

CopyrightJean Carlo Giambastiani Lopes 2017
LicenseMIT
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Language.Sql

Description

A SQL parser implementation of the minimum required for a ODBC driver.

Synopsis

Documentation

fromSql :: String -> Either (ParseError Char Dec) StatementList Source #

Parses a SQL statement into an AST

toSql :: AST a => a -> String Source #

Generate a SQL Statement from an AST

ast :: String -> IO () Source #

Prints the AST generated from a SQL Statment