Docs.rs
  • proof-of-sql-parser-0.17.2
    • proof-of-sql-parser 0.17.2
    • Docs.rs crate page
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • JayWhite2357
    • SxT-Release
    • jacobtrombetta
    • Dependencies
      • arrayvec ^0.7 normal
      • bigdecimal ^0.4.5 normal
      • chrono ^0.4.38 normal
      • lalrpop-util ^0.20.0 normal
      • serde ^1 normal
      • thiserror ^1 normal
      • serde_json ^1 dev
      • lalrpop ^0.20.0 build
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate proof_of_sql_parser

proof_of_sql_parser0.17.2

  • All Items
  • Re-exports
  • Modules
  • Macros
  • Structs

Crates

  • proof_of_sql_parser
?
Settings

Crate proof_of_sql_parser

source ·
Expand description

Proof of SQL TwitterDiscord Server

This crate is a library for SQL parsing for the Proof of SQL execution engine. See the proof-of-sql crate.

Proof of SQL is a high performance zero knowledge (ZK) prover developed by the Space and Time team, which cryptographically guarantees SQL queries were computed accurately against untampered data. It targets online latencies while proving computations over entire chain histories, an order of magnitude faster than state-of-the art zkVMs and coprocessors.

Re-exports§

  • pub use error::ParseError;
  • pub use resource_id::ResourceId;

Modules§

  • error
    Error definitions for proof-of-sql-parser
  • intermediate_ast
    This module contains the AST nodes for the intermediate representation of a Proof of SQL query.
  • intermediate_decimal
    Module for handling an intermediate decimal type received from the lexer. A parser conforming to standard postgreSQL to parse the precision and scale from a decimal token obtained from the lalrpop lexer. This module exists to resolve a cyclic dependency between proof-of-sql and proof-of-sql-parser.
  • posql_time
    Module for handling an intermediate timestamp type received from the lexer.
  • resource_id
    This file defines the resource identifier type.
  • sql
  • utility
    Shortcuts to construct intermediate AST nodes.

Macros§

  • impl_serde_from_str
    Implement Deserialize through FromStr to avoid invalid identifiers.

Structs§

  • Identifier
    Top-level unique identifier.
  • SelectStatement
    Representation of a select statement, that is, the only type of queries allowed.

Results

Query parser error: "Unexpected - (did you mean ->?)".