about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ask.lil28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/ask.lil b/src/ask.lil
new file mode 100644
index 0000000..324368f
--- /dev/null
+++ b/src/ask.lil
@@ -0,0 +1,28 @@
+# lil includes a fun query language as well as language features for both
+# functional programming and vector programming -- this invites interesting
+# opprotunities for applications built around little databases/datasets and
+# the manipulation and querrying of that data! 
+
+# I'm not 100% certain what I'm going to build with these features, yet, but
+# I will use this as a space to explore what lil has to offer.
+
+people.name:"Alice","Sam","Thomas","Sara","Walter"
+people.age:25,28,40,34,43
+people.job:"Chef","Sous Chef","Baker","Front of house","Baker"
+people:table people
+
+t:select from people
+
+show[t]
+
+s:select where ("S%m" parse name) from people
+
+show[s]
+
+d:select where ("Baker" = job) from people
+
+show[d]
+
+a:select name where ("Alice" = name) from people
+
+show[a]
\ No newline at end of file