diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/catalogue.lil | 26 | ||||
-rw-r--r-- | src/tmp.lil (renamed from src/ask.lil) | 10 |
2 files changed, 28 insertions, 8 deletions
diff --git a/src/catalogue.lil b/src/catalogue.lil new file mode 100644 index 0000000..2690bcb --- /dev/null +++ b/src/catalogue.lil @@ -0,0 +1,26 @@ +# spent a good bit of time playing with lil and reviewing the docs. I am now +# totally smitten and excited to use lil. + +# a basic sketch of the data table at the center of the action + +# catalogue.entry_type +# catalogue.parent # not 100% certain how to reference another entry by id +# catalogue.title +# catalogue.body +# catalogue.reference +# catalogue.created_date +# catalogue.updated_date # does this matter? (sorta leaning towards "no") + +# entry_type's +# - link +# - note +# - folder + +# every item can have 1 parent +# a parent is usually a folder + +# data table wrapped in an interactive cli for adding, querying, and viewing +# input data. Input data stored as CSV between sessions + +# NOTE: if input data is stored as CSV is becomes trivial to pipe in and out +# of SQLite in the future...if that'd be desirable \ No newline at end of file diff --git a/src/ask.lil b/src/tmp.lil index 644baed..3238b96 100644 --- a/src/ask.lil +++ b/src/tmp.lil @@ -1,7 +1,7 @@ # lil includes a fun query system 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! +# opportunities for applications built around little databases/datasets and +# the manipulation and querying 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. @@ -35,12 +35,6 @@ l:insert name:"John" job:"Critic" age:32 into people show[l] -# z:input["what is your fav fruit? "] -# print["you input %s" z] - -# dirlist:dir["/Users/elimellen/Code/december-2022/src"] -# show[dirlist] - on cons x y do x,y end \ No newline at end of file |