[twdev] Re: Understanding TW code

2018-03-04 Thread joearms
On Sunday, 4 March 2018 20:10:33 UTC+1, Simon Huber wrote: > > >> And a followup question.- I searched for semantics evaluation etc. but no >> hits. >> >> Is there a description of how a tiddler gets turned into HTML? >> >> If I were to implement this I'd be thinking >> >> tokenize -> parse -> t

[twdev] Re: Understanding TW code

2018-03-04 Thread Simon Huber
> > > And a followup question.- I searched for semantics evaluation etc. but no > hits. > > Is there a description of how a tiddler gets turned into HTML? > > If I were to implement this I'd be thinking > > tokenize -> parse -> transform -> render > > After parsing I'd get an abstract syntax tree

[twdev] Re: Understanding TW code

2018-03-04 Thread joearms
On Sunday, 4 March 2018 19:11:43 UTC+1, Mat wrote: > > Hi Joe. > > You have much, and good, documentation at tiddlywiki.com > (I'm curious, for constructive purposes: How come you have not seen this?) > I have and I keep a local copy and search in it. > > Some specific questions of yours: >

[twdev] Re: Understanding TW code

2018-03-04 Thread Mat
Hi Joe. You have much, and good, documentation at tiddlywiki.com (I'm curious, for constructive purposes: How come you have not seen this?) Some specific questions of yours: I guess that > > \define journalButton() > ... > \end > > defines a macro -- and that <> evaluates the macro > Correct.

[twdev] Re: Serving external resources from TW5 node server

2018-03-04 Thread Riz
https://github.com/Jermolene/TiddlyWiki5/tree/http-server This branch seems to solve your issue. It is not merged to the main yet. But you can fork out the TW and merge it in your local repo and use it. On Saturday, 3 March 2018 20:36:23 UTC+5:30, joearms wrote: > > I'm using TW5 node server.

[twdev] Total confusion

2018-03-04 Thread joearms
Hello, I'm *very* confused - using TW5 node server In my Recent tab I have a tiddler called "Draft of 'My test tiddler'" If I click on them I get a tiddler in an open editor And the top Left hand corner says Draft of 'My test tiddler' (so I'm editing the draft) If I click on the Dustbin it s

[twdev] Understanding TW code

2018-03-04 Thread joearms
Hello, I'm trying to understand how to program the TW - right now what I'm doing is reading the source of individual tiddlers and guessing what the code means. This is a rather time consuming process, and unsatisfactory, to the extent that if something works, I'm not sure if it works because I ac