]> git.wincent.com - wikitext.git/commit
Replace ANTLR lexer with Ragel scanner
authorWincent Colaiuta <win@wincent.com>
Sun, 3 Feb 2008 17:03:10 +0000 (18:03 +0100)
committerWincent Colaiuta <win@wincent.com>
Sun, 3 Feb 2008 17:03:10 +0000 (18:03 +0100)
commit2ac25a518402ece4c980e7d653af5bc715de5008
tree6ac1cbf7c653d4284127231f613f578507403641
parentd78b109f3b96b2d90bd0b3bea2889cfd6ca0418f
Replace ANTLR lexer with Ragel scanner

This insertion involves a rather massive refactoring so I'm doing it in
several steps: this first step is basically the result of ripping out
the old lexer and implanting the new scanner, up to the point were we
get an error and warning-free build.

From here on it's just a case of making adjustments to get all the specs
passing again.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 files changed:
ext/parser.c [new file with mode: 0644]
ext/parser.h [new file with mode: 0644]
ext/spec/wikitext_spec.rb
ext/token.c [new file with mode: 0644]
ext/token.h [new file with mode: 0644]
ext/wikitext.c
ext/wikitext.h
ext/wikitext_ragel.c
ext/wikitext_ragel.h
ext/wikitext_ragel.rl
spec/external_link_spec.rb
spec/internal_link_spec.rb