nounsql-core 0.1.3

Core of the NounSQL compiler: lexer, parser, resolver, and DDL code generation.
Documentation
1
2
3
4
5
6
7
8
9
pub mod pg;

use crate::dialect::Dialect;
use crate::ir::Schema;

/// 出力ターゲットごとの DDL 生成に振り分ける。
pub fn emit(dialect: Dialect, schema: &Schema) -> String {
    pg::emit(dialect, schema)
}