> On Dec 13, 7:04 pm, Jeremy Ruston <[email protected]> wrote:
>> So, at the beginning of December I took a deep breath and
>> transliterated the existing TiddlyWiki wikifier code into cook.js. In
>> the process, I massively refactored it, and structured it much more
>> sensibly. Instead of using jQuery and the DOM, it now parses the
>> wikitext into a generic tree format, and then renders that into
>> textual HTML.
>
> \o/ +1

It was surprisingly easy to get the basic transliteration up and
running, and of course very satisfying to thrash it into some sort of
respectable shape. I'm very excited about the way that it makes lots
of things easy and elegant that were frightful and tacky in the old
code.

>> The reason why this is a big deal is that it brings all the TiddlyWiki
>> developments together. We've got a build tool that can uniformly build
>> old and new TiddlyWikis. We've got a single wikifier code base that
>> can be used on the server, in the browser and as a command line tool.
>
> Very curious to see the wikifier in action. The twikifier code works
> relatively well, but is not ideal, and is fairly inscrutable.

The new wikifier is currently synchronous, but I'm planning to convert
it to synchronous operation, which I think might simplify things on
your side a bit.

One of my next steps is to rewrite the wikifier as a peg.js grammar,
developing a revised TiddlyWiki wiki format that is largely backwards
compatible but handles paragraphs sensible, and brings in the best of
markdown (I'm very used to writing `code like this` now, for
instance).

Cheers

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to