Re: [code] A simple MediaWiki lexer

From: Mitchell <m.att.foicica.com>
Date: Sat, 12 Oct 2019 11:35:19 -0400 (EDT)

Hi Alexander,

On Wed, 2 Oct 2019, Alexander Misel wrote:

> MediaWiki is the language used by Wikipedia and a lot of wiki websites. I didn't try to read complex rules. Just simple lexer that get it work. See screenshots below.

I've committed this with some minor formatting changes[1].

The `parser_func` rule was not capturing the trailing ':' within a token, so I fixed that.

Cheers,
Mitchell

[1]: https://foicica.com/hg/scintilla/rev/fbf37268fc40

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 12 Oct 2019 - 11:35:19 EDT

This archive was generated by hypermail 2.2.0 : Sun 13 Oct 2019 - 06:31:46 EDT