[erlang-questions] wkipedia rendering engine
Toby Thain
toby@REDACTED
Tue Jul 1 20:54:20 CEST 2008
On 30-Jun-08, at 7:58 AM, Joe Armstrong wrote:
> On Mon, Jun 30, 2008 at 12:38 PM, Andre Engels
> <andreengels@REDACTED> wrote:
>> On Mon, Jun 30, 2008 at 11:39 AM, Joe Armstrong <erlang@REDACTED>
>> wrote:
>>
>>> We (collectively) promised to help Alexander - I promised to
>>> provide him with a
>>> rendering engine (in Erlang) for the wikipedia markup language.
>>>
>
> Thanks - I didn't know the name of the format - seems like the
> processof parsing is
> reasonably easy -- see
>
> http://www.mediawiki.org/wiki/Markup_spec#The_Markup_Language
>
>
> It seems pretty amazing that there is no formal specifiation of the
> grammar of the markup language and that this
> is decided *after* there are a few quadzillion pages of markup
> text :-)
Not only that, there are now a quadzillion wiki markup languages, all
flawed in one way or another... ONE DAY there will be a standard.
--Toby
>
> /J
>
>>> Before I start hacking has anybody done this before?
>>
>> What exactly do you mean by a 'rendering engine'? Translating the
>> markup language (its name is Mediawiki, by the way) to something
>> else?
>>
>> It's not a trivial task you have set yourself. There are some
>> elements
>> that are quite complex, for example the fact that '' is italics and
>> ''' is bold. Notice the difference between:
>>
>> '''this is bold'''
>>
>> '''this is italic, starting with a ' ''
>>
>> '''this is bold '' and this part italic as well '''''
>>
>> Also deciding on what point of the analysis to expand {{templates}}
>> can lead the same code to get very different results.
>>
>> --
>> Andre Engels, andreengels@REDACTED
>> ICQ: 6260644 -- Skype: a_engels
>>
>
>
>
> --
> fra@REDACTED; ingvar.akesson@REDACTED
>
> [Kopia av detta meddelande skickas till FRA för övervakningsändamål.
> De vill ju ändå läsa min e-post.]
>
> [A copy of this mail has been sent to
> FRA for monitoring purposes. FRA wants to read all my e-mail and have
> been allowed to do by the Swedish parliment - in violation of article
> 12 of the UN Universal Declaration of Human Rights]
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list