about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/catalogue.lil9
-rw-r--r--src/tmp.lil10
2 files changed, 15 insertions, 4 deletions
diff --git a/src/catalogue.lil b/src/catalogue.lil
index 0a8be1a..52afd69 100644
--- a/src/catalogue.lil
+++ b/src/catalogue.lil
@@ -36,4 +36,11 @@ catalogue.reference:0,0,0,"https://eli.li","https://smallandnearlysilent.com"
 catalogue.created_date:"2022-12-07","2022-12-07","2022-12-07","2022-12-07","2022-12-07"
 catalogue:table catalogue
 
-show[catalogue]
\ No newline at end of file
+# alternate syntax to make a table, 
+# t: insert food:("Eggs","Pancakes","Grapefruit") quantity:(3,4,1) tasty:(1,1,0) into 0
+
+show[catalogue]
+
+out:writecsv[catalogue]
+
+show[out]
\ No newline at end of file
diff --git a/src/tmp.lil b/src/tmp.lil
index 50f8467..b7a26a3 100644
--- a/src/tmp.lil
+++ b/src/tmp.lil
@@ -35,10 +35,14 @@ l:insert name:"John" job:"Critic" age:32 into people
 
 show[l]
 
-save:writecsv[l "sis" ","] # where sis formats the column type, here string integer string -- the other option is boolean. 
+# save:writecsv[l "sis" ","] # where sis formats the column type, here string integer string -- the other option is boolean. 
 
-write["test.csv" save]
+# write["test.csv" save]
 
 on cons x y do
 	x,y
-end
\ No newline at end of file
+end
+
+breakfast: insert food:("Eggs","Pancakes","Grapefruit") quantity:(3,4,1) tasty:(1,1,0) into 0 # NOTE, 0 here could also be the name of the variable, so, in this example, breakfast
+
+show[breakfast]
\ No newline at end of file