(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 57 changed one line
if it's more prevalent. For instance, I've written several times I'd like to separate {{{##}}} and {{{{{{}}}, you did
if it's more prevalent. For instance, I've written several times I'd like to separate double-sharp and triple-brace, you did
At line 83 changed one line
Please do put your feedback on the pages, even if it's just a "me too". Silence usually means that you didn't read it yet or don't care. We certainly can use other media than wiki for working on Creole; for instance, I plan to propose a gobby session for improving the organisation and wording of the whole spec at some time, so that it's easier to understand and follow.
Please do put your feedback on the pages, even if it's just a "me too". Silence usually means that you didn't read it yet or don't care. We certainly can use other media than wiki for working on Creole; for instance, I plan to propose a [[Wikipedia:Gobby|gobby]] session for improving the organisation and wording of the whole spec at some time, so that it's easier to understand and follow.
At line 103 added 88 lines
----------------------------
I know that you where quite irritated by my comment on the first poll, sorry again, Yves. Your opinion is still missing on the [[Creole 0.6 Poll]]. Only with your opinion I feel it is really complete for now. Therefore, could you add your opinion, please?
-- [[ChristophSauer]], 2007-04-22
Done.
-- [[YvesPiguet]], 2007-Apr-23
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
Thanks for your comments!
The problem with switching list kind without blank line is that there will always be ambiguities:
{{{
*item a
*#item a.1
**bold or item a.a?
}}}
I'd like an official clarification, whatever it is (provided it's sensible!), but I'm not sure it's worth changing NME now before a consensus is reached.
-- [[YvesPiguet]], 2007-12-18
Hi Yves! Thanks for making NME, I'm finding it very useful. FYI I've written a Ruby wrapper extension for NME, so that it can be easily used from Ruby scripts. I've [[http://www.wikicreole.org/attach/Talk.YvesPiguet/nme-ruby.zip|attached it here]] as a patch for the NME-071015 distribution. To use (if you have ruby installed on your system):
{{{
unzip NME-071015.zip
unzip nme-ruby.zip
cd NME-071015
patch -p1 < ../nme-ruby.diff
make nmeruby
}}}
It should build the extension for whatever your platform is.
-- [[MattMcKeon]], 2008-05-09
Great work, Matt! If you're interested, can you contact me by [[http://nyctergatis.com/contact.html|email]] to discuss how to release it? Thanks!
-- [[YvesPiguet]], 2008-05-12
Hi Yves,
I would like to Hack Nyctergatis Markup Engine to reduce some markups like "~[[" to "~[", "~<<" to "<", etc.
What's the best way to do it? I could hack it but don't know what's the best way.
Thanks,
srw
Please only append to this discussion page so that one can easily follows questions and ansers.
Edit NME.c and modify function parseNextToken to not require double characters.
-- [[YvesPiguet]], 2008-08-24
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