While I was getting my hands dirty with your decent Little Lexer, Yes I said it is 'decent'. I found some inconsistancy
and, or errors in the comments (needed for rdoc). I have tryied my best to reformat the same, but have not changed the
original text.
I also have reorganised the directory structure and renamed a few of module and, or also some file names, that initiated
modifing some code of yours too. hope you will like it; I'm submitting a tarball containg full code of yours and some
addtions parsers i.e Apache (config parser) and Ruby code parser (needs some more fine tuning though).
I'm not that very expert on regex's, would you please be kind enough to look at the code in parser/ruby.rb and let me
know what errors I have made. Or suggest me that how do I make the regex's more efficent.
I'm unable to figure out that how do I capture code inclusive of delimiters like:
%r(...)
%r{...)
%r[...]
%r|...|
%r/.../
%r<...>
%r!...!
similarly for %Q..., %q..., %W..., %w..., and %x...
Dear Mr. Carter, I'm working on a code formatting utiliy -- rindent (http::/rindent.rubyforge.org/) for Ruby
Awaiting for your valuable help.
Regards,
bsd
|