From fd0577e76a22dbb5e65a68224c323c2d34a1f75d Mon Sep 17 00:00:00 2001
From: JasonJPu <cub1@live.ca>
Date: Thu, 7 Mar 2019 16:15:27 -0500
Subject: [PATCH] Add missing stuff

---
 util.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/util.c b/util.c
index 6be0b50..54d2e36 100644
--- a/util.c
+++ b/util.c
@@ -109,6 +109,26 @@ cons_cell* create_elim_operator(cons_cell* ra1, cons_cell* ra2) {
 	cons_cell* operator_cons = create_cons_cell_w_atom(operator, ra1_cons);
 	return operator_cons;
 }
+
+cons_cell* create_spcol_operator(cons_cell* var, cons_cell* pf) {
+	cons_cell* pf_cons = create_cons_cell(pf, NULL);
+	cons_cell* var_cons = create_cons_cell(var, pf);
+	char operator[5] = "SPCOL";
+	cons_cell* operator_cons = create_cons_cell_w_atom(operator, var);
+}
+
+cons_cell* create_pf_operator(cons_cell* attr, cons_cell* next_attr) {
+	cons_cell* attr_cons = create_cons_cell(attr, next_attr);
+	char operator[2] = "PF";
+	cons_cell* operator_cons = create_cons_cell_w_atom(operator, attr_cons);
+}
+
+cons_cell* create_table(char *table) {
+	cons_cell* table_cons = create_cons_cell_w_atom(table, NULL);
+	char operator[5] = "TABLE";
+	return create_cons_cell_w_atom(operator, table_cons);
+}
+
 const char *node_types[] = {"program", "id", "query", "select_query", "body", "table path", "union_query", 
 "select list", "attrpath", "operator", "bool", "pred"};
 
-- 
GitLab