On Thursday, December 12, 2013 6:27:42 PM UTC+1, Stephan Hradek wrote:
>
> The idea is that we have at the low level a list of tiddlers which is one 
> of (all) (system) (shadows) (missing) (orphans).
>

Why would you want to limit the starting set? ... If I say [tag[test]] I 
want to get a list of tiddlers tagged test ... So imo the starting set is 
allways "all" ... if so, no starting set is needed. 
 

> Then we have some functions like
> (union list list ...) and (intersection list list…)
>

The existing/implemented [tag[asdf]] syntax is a known syntax for TWc 
users. There are more possibilities now but the basic mechanism is the 
same. I'm not sure if TW5 and TWc filter definitions are compatible. But 
since TWc has less possibilities I think it should be an easy migration 
path. 

In the above syntax discription I can't see a union and an intersection? 
 

> Then some comparators like eq, ne, lt gt, le, ge (for strings) and ==, !=, 
> <, >, <=, >=
> complex example:
> (ne 'Stephan' (modifier (eq 'Jeremy' (creator (all))))
>

What if I use (lt "Stephan") ? 

(ne 'Stephan' (modifier (eq 'Jeremy' (creator (all))))
>

I'm reading from left to right. To understand, how the restult will look 
like, I'll need to read it from the inner most braces to the outside. 
right? ... I don't like this. 

I'd like to have a filter syntax that is easy to understand. But replacing 
[] with () for me is _no_ solution. IMO 99% of TW users will have no idea 
what lisp is. 

IMO even an assembler like language is easier to understand as ()() or [][]

LOAD     all TIDDLERS
type     eq  "vnd.tiddlywiki"
creator  eq  "Jeremy"
modifier ne  "Mario"
PRINT

But why create an assembler language in javascript, if we have javascript??

have fun!
mario

-- 
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.

Reply via email to