You'll have to skip to the bottom to read about the Rosetta stone :-)

I hope you won't mind me pointing out the obvious

The list widget is a for loop

that is:

<$list filter=" ...>
    <<currenTiddler>>
</$list>

means:

     output = "";
     for(i in <list of tiddlers obtained from a match expression>)
         output +=   ... $i ...
    end
    insert output into tiddler

One thing I find reading the code and documentation is that it
is less than blindingly obvious to bears of little brains what
the correspondence between the TW way of doing things and
what these things mean in conventional programming languages.

So far I have discovered that

    $set  means "let X = var in ...end "
    $list  means "for i in filter do ... end"

Now in most programming languages we only need a small number of
syntactic constructors (ie things like for loops, if-then-else) and so on

So what is the corresponding set of core widgets?

   $set and $list seem very important - but what else? - I can't see the 
wood from the trees
what are the other important widgets? - what is the minimal set I should 
really
understand?

What's this got to do with the Rosetta stone?

The Rosetta Stone was discovered in 1799 and contained parallel texts
in ancient Egyptian hieroglyphics Demonic script and ancient Greek.

This was key to deciphering Egyptian hieroglyphics.

So what I'd like to find somewhere is a Rosetta Stone that unlocks the
secrets of the tiddly language.

Some parallel texts that say things like:

    $set name='x' value='v'     means let x = '   ' in ... end

Would be fantastic


I think of the TW language as being analogous to Egyptian hieroglyphics and 
the parallel
text as being in pseudo code (anything like Javascript etc would do)

I would be fantastic if  'they  who  speaketh the tiddly tongue' could
provide a phrasebook into more common languages.

(Oh and tag the subject line: "Rosetta stone")

Cheers

/Joe





-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/c02e04aa-ac88-4691-9b9e-712a27cdd6d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to