This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lexer API
authorZefram <zefram@fysh.org>
Sun, 15 Nov 2009 13:25:50 +0000 (14:25 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sun, 15 Nov 2009 13:25:50 +0000 (14:25 +0100)
commitf0e67a1d29102aa9905aecf2b0f98449697d5af3
tree460816a3d9fd24cccacde4305bc99d1441cce082
parent59cfed7d3d8869650cb695575c07168f937381f0
lexer API

Attached is a patch that adds a public API for the lowest layers of
lexing.  This is meant to provide a solid foundation for the parsing that
Devel::Declare and similar modules do, and it complements the pluggable
keyword mechanism.  The API consists of some existing variables combined
with some new functions, all marked as experimental (which making them
public certainly is).
13 files changed:
MANIFEST
embed.fnc
embed.h
ext/XS-APItest-KeywordRPN/KeywordRPN.pm
ext/XS-APItest-KeywordRPN/KeywordRPN.xs
ext/XS-APItest-KeywordRPN/t/keyword_plugin.t
ext/XS-APItest-KeywordRPN/t/multiline.t [new file with mode: 0644]
global.sym
parser.h
perlvars.h
pod/perldiag.pod
proto.h
toke.c