Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotchance committed Dec 27, 2024
1 parent 4446fa3 commit a07a46f
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 41 deletions.
14 changes: 0 additions & 14 deletions docs/v-client-library-docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -673,20 +673,6 @@ struct Timer
struct Token
------------


.. code-block:: v
pub struct Token {
pub:
token int
sym YYSymType
}
struct Value
------------

Expand Down
5 changes: 0 additions & 5 deletions vsql/std_14_3_cursor_specification.v

This file was deleted.

4 changes: 4 additions & 0 deletions vsql/std_14_3_cursor_specification.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
%%

// ISO/IEC 9075-2:2016(E), 14.3, <cursor specification>
//
// Define a result set.

cursor_specification:
query_expression { $$.v = Stmt($1.v as QueryExpression) }

Expand Down
5 changes: 0 additions & 5 deletions vsql/std_14_8_delete_statement_positioned.v

This file was deleted.

4 changes: 4 additions & 0 deletions vsql/std_14_8_delete_statement_positioned.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
%%

// ISO/IEC 9075-2:2016(E), 14.8, <delete statement: positioned>
//
// Delete a row of a table.

target_table:
table_name { $$.v = $1.v as Identifier }

Expand Down
5 changes: 0 additions & 5 deletions vsql/std_20_7_prepare_statement.v

This file was deleted.

4 changes: 4 additions & 0 deletions vsql/std_20_7_prepare_statement.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
%%

// ISO/IEC 9075-2:2016(E), 20.7, <prepare statement>
//
// Prepare a statement for execution.

preparable_statement:
preparable_sql_data_statement { $$.v = $1.v as Stmt }
| preparable_sql_schema_statement { $$.v = $1.v as Stmt }
Expand Down
2 changes: 1 addition & 1 deletion vsql/std_6_7_column_reference.y
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ column_reference:
$$.v = new_column_identifier(($1.v as IdentifierChain).identifier)!
}

%%
%%
5 changes: 0 additions & 5 deletions vsql/std_7_2_row_value_expression.v

This file was deleted.

4 changes: 4 additions & 0 deletions vsql/std_7_2_row_value_expression.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
%%

// ISO/IEC 9075-2:2016(E), 7.2, <row value expression>
//
// Specify a row value.

table_row_value_expression:
row_value_constructor { $$.v = $1.v as RowValueConstructor }

Expand Down
2 changes: 1 addition & 1 deletion vsql/std_7_4_table_expression.y
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ table_expression:
}
}

%%
%%
5 changes: 0 additions & 5 deletions vsql/std_7_5_from_clause.v

This file was deleted.

4 changes: 4 additions & 0 deletions vsql/std_7_5_from_clause.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
%%

// ISO/IEC 9075-2:2016(E), 7.5, <from clause>
//
// Specify a table derived from one or more tables.

from_clause:
FROM table_reference_list { $$.v = $2.v as TableReference }

Expand Down

0 comments on commit a07a46f

Please sign in to comment.