Hello Stephan, a little bit like Lisp, right?
Here are some thoughts: + It is a clear and easy approach. I guess I could get used to it easily. + Your approach looks versatile and consistent. - I guess the statements get longer than Jeremy's original syntax. - If both approaches lead to the same set of possible selections, then I tend to focus on higher prio problems first. E.g. the behavior of the template inside the <$list>...</$list>. On the other hand, a radical syntax change should go in an early release... o Which syntax is more consistent with whole TW5 syntax? o What are the implementation impacts? Easy / difficult to implement. Performance also with TWs with 1 K - 10 K tiddlers? >From my point of view: clearly "jein" (German for yes and no). Sorry, doesn't really help, right? :-( regards Michael Am Donnerstag, 12. Dezember 2013 18:27:42 UTC+1 schrieb Stephan Hradek: > > This is what I wrote Jeremy some time ago and he suggested to discuss it > here, so that anyone interested could join. > > As I feel the <$list> widget as a bit awkward ;) I thought about another > approach - which might be even more awkward. I haven't thought it through > yet and haven't implemented anything, but would like to share the idea with > you to see what you think. > > The idea is that we have at the low level a list of tiddlers which is one > of (all) (system) (shadows) (missing) (orphans). > > Then we have some functions like > (union list list ...) and (intersection list list…) > > Then we have selectors which make one of the lists properties get the > "focus" like: > (tags list) (field fieldname list) (title list) (modified list) (creator > list) > > Then some comparators like eq, ne, lt gt, le, ge (for strings) and ==, !=, > <, >, <=, >= > complex example: > (ne 'Stephan' (modifier (eq 'Jeremy' (creator (all)))) > > I have the feeling this approach could be useful, what do you think? > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
