about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-12-08 16:24:39 -0500
committerelioat <elioat@tilde.institute>2022-12-08 16:24:39 -0500
commitbd337d3e344c6fafffe4f65c31a870d2293549d8 (patch)
treef64492502b1230b88a9e54b3806e14aded21c0fe
parent81c20cfab1b424ae76223d18b81c58ff799573a0 (diff)
downloaddecember-2022-bd337d3e344c6fafffe4f65c31a870d2293549d8.tar.gz
BRAIN EXPANDING!
-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