On Wednesday, March 11, 2020 at 2:25:52 PM UTC+3:30, Mat wrote:
>
> For "TWX", i.e a *totally hypothetical* future version of TW:
>
>
>    - Replace $set with an empowered $vars for direct parameter value 
>    setting.
>    - ...and merge $wikify into it. Wikification can be toggled via a 
>    parameter in the widget.
>    - Change name of "currentTiddler" variable to be only "current". One 
>    reason is because it is not always tiddlers we're talking about. Possibly 
>    currentTitle, which as least is closer to what the outputs {{{ from this 
>    filter }}} are. (Also, minor, but the "is operator" uses is[current] ) 
>
> Now, Tiddlywiki scripting is much more powerful and this is an absolute 
need! currentTiddler and the concept of tiddler in Tiddlywiki makes 
confusion. So, currentTiddler is not meaninful anymore for example here 
<$list filter="[range[1,4]]"> ...

 

>
>    - Only "=" to assign values, not ":". Examples:
>
> <$macrocall $name=italicise text=mytext />
> <<italicise text=mytext >>
> \define foo(bar=frotz)
>
>  
>

I really support this!
 

> ...because html tags assign values using = , so it would be consistent. 
> (And currently, it doesn't make sense that it's different symbols when 
> defining a macro parameter default value and when calling that same macro 
> with a parameter value.)
>
>
>    - Allow "immediate arguments" for some widgets. For example the 
>    $tiddlerwidget could be called like so
>    <$tiddler=foo> or <$tiddler foo>
>    ...i.e the string following a separator is assumed to be a value for 
>    the "main parameter" of the widget.
>    - Implement a variable call default filter parameter. Saving a list as 
>    a variable would then, by default and without having to define a macro, 
>    allow you to do e.g <<mylist|[first[]]>> and, something like 
>    $(mylist|[first[]])$. This way we can work with full lists in a new way 
>    (like arrays) instead of having to work inside a listwidget with one item 
>    at a time.
>
>
> <:-)
>  
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/34931f16-1ebd-4725-9664-0a68a0214065%40googlegroups.com.

Reply via email to