diff options
author | elioat <elioat@tilde.institute> | 2022-12-07 10:34:42 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-12-07 10:34:42 -0500 |
commit | f18e8445bad88e6e545c382abd7ea5d608f7bf57 (patch) | |
tree | a8e1fef49dc53f77b227b65815ed9086ddf53f1d /src | |
parent | 280f3176c9f7fc9371701740729ad4f352f5f892 (diff) | |
download | december-2022-f18e8445bad88e6e545c382abd7ea5d608f7bf57.tar.gz |
...maybe another little project is born
Diffstat (limited to 'src')
-rw-r--r-- | src/ask.lil | 28 |
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 |