From f18e8445bad88e6e545c382abd7ea5d608f7bf57 Mon Sep 17 00:00:00 2001 From: elioat Date: Wed, 7 Dec 2022 10:34:42 -0500 Subject: ...maybe another little project is born --- src/ask.lil | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/ask.lil 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 -- cgit 1.4.1-2-gfad0