(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
zip
nme-ruby.zip 1.6 kB 2 10-May-2008 01:38 MattMcKeon Patch to add a Ruby wrapper extension to the 071015 distribution of NME

This page (revision-24) was last changed on 24-Aug-2008 23:15 by YvesPiguet  

This page was created on 23-Jan-2007 20:57 by RadomirDopieralski

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 112 added 33 lines
Thanks for your comment on [[Talk.YaroslavStavnichiy|my page]]. I did not notice NME when first reading the site. Now I looked at it and I think it is great work. Perhaps you should mention on the [[Engines]] page that it is written in C. It is hard to find something other than PHP these days, so mentioning C should draw attention of interested people.
I run your test page through my parser and found some differences. I think the way NME renders the following fragment is not correct:
{{{
* first item of an unordered list
# sharp invalid for unordered list, hence it is a plain character
** first item of sublist
*# only the star matches the top-level list
## monospace
}}}
Sharp in the second line should be treated as a beginning of a new numbered list. Consider different example:
{{{
This is regular paragraph.
# sharp means nothing within paragraph, hence it is a plain character
}}}
NME would render it differently, and I think, correctly -- it will start a new list.
Creole does not require blank line before starting a new list, so it should not matter what was before it. And if one requires # in the beginning of the line he should escape it, no matter where it is: in a paragraph or within a list item.
I do not agree with the fourth line as well. Star matches top level of the list - that's right. Why doesn't # open a new numbered sublist? Consider the following example:
{{{
* first item of an unordered list
*# only the star matches the top-level list
}}}
NME does render it differently, and I think, correctly.
By the way, while examining your test fragment I found a couple of bugs in my parser too :) Not fixed them yet.
-- YaroslavStavnichiy, 2007-12-17
Version Date Modified Size Author Changes ... Change note
24 24-Aug-2008 23:15 10.768 kB YvesPiguet to previous Reply
23 24-Aug-2008 23:02 10.561 kB YvesPiguet to previous | to last Replaced markup which made wikicreole translator produce garbage
22 22-Aug-2008 01:15 10.556 kB 201.235.75.206 to previous | to last
21 22-Aug-2008 01:13 10.551 kB 201.235.75.206 to previous | to last
« This page (revision-24) was last changed on 24-Aug-2008 23:15 by YvesPiguet