> : Text::Balanced has to track in order to parse almost any Perl code. > > It's a good thing you said "almost". Ah, that Jesuit education finally pays off! ;-) > Does it parse [*]] correctly? No, but only because C<extract_variable> ignores punctuation vars entirely. It would be a simple fix to allow it to handle those too. It does handle C<[*{']'}]>, though. :-) > Does Text::Balanced take into account functions declared with a > prototype of ()? No. It ignores the function prototypes. Again, that could be fixed easily enough, were the demand there. However, for Perl 6 I'd really like to see run-time access to the Real Tokenizer (tm): use tokenizer; my $tree = tokenizer( $sourcecode ); This would be dead handy for building source-code filtering modules, rather than relying on the pseudo-parsing tricks we're currently forced to use. Sigh. Of course it's a forthcoming RFC... Damian
- Re: RFCs (Re: Ideas that need RFC... Nathan Torkington
- Re: RFCs (Re: Ideas that need... Nathan Wiger
- Re: RFCs (Re: Ideas that need RFC... Bryan C . Warnock
- Re: RFCs (Re: Ideas that need... David L. Nicol
- Re: RFCs (Re: Ideas that need RFC... skud
- Re: RFCs (Re: Ideas that need RFC... John Porter
- extremely general top level t... David L. Nicol
- Re: extremely general top lev... John Porter
- Re: Ideas that need RFCs? Decklin Foster
- Re: Ideas that need RFCs? Steve Fink
- Re: Ideas that need RFCs? Damian Conway
- Re: Ideas that need RFCs? Dan Sugalski
- Re: Ideas that need RFCs? Larry Wall
- Re: Ideas that need RFCs? David Corbin
- Re: Ideas that need RFCs? Dan Sugalski
- Re: Ideas that need RFCs? Ken Fox
- Re: Ideas that need RFCs? Joe McMahon
- Re: Ideas that need RFCs? Randal L. Schwartz
- Re: Ideas that need RFCs? Larry Wall
- Re: Ideas that need RFCs? Nathan Torkington
- Re: Ideas that need RFCs? Damian Conway