使用Lemon编写最简单的SQL解析器

使用SQLite自带的Lemon解析器生成工具,制做最简单的解析器。以解析器仅解析Create table语句。sql 如下的生成解析器所需的.y文件。ide // All token codes are small integers with #defines that begin with "TK_" %token_prefix TK_ // The type of the data att
相关文章
相关标签/搜索