Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2996
| From | Peter Zotov <whitequark@whitequark.org> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: [ANN] Ruby Cross Reference |
| Date | 2011-04-16 04:04 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <74704efbc710b9a73f378265f10f8a9d@mail.whitequark.org> (permalink) |
| References | <4e42aad5eb27ab8fe66fc74e59d17c23@mail.whitequark.org> <BANLkTikfS+wfj2MtCmhBYrRQKg=h=VgiOA@mail.gmail.com> |
On Sat, 16 Apr 2011 14:54:59 +0900, Eric Christopherson wrote: > On Wed, Apr 13, 2011 at 12:12 AM, Peter Zotov > <whitequark@whitequark.org> wrote: >> I'm pleased to announce that Ruby Cross Reference has just been >> rolled out. >> >> http://rxr.whitequark.org/ > > Looks excellent! > > I don't know if you've been hacking on LXR yourself, but I thought > I'd > let you know about some issues I've seen with parsing of Ruby files. > First: an underscore sometimes gets split apart from the word it > belongs to, and cross-referenced, as with line 139 with "def > self._load(str)" at > <http://rxr.whitequark.org/rubinius/source/kernel/common/tuple.rb>. > In > that case, the text for "load" is not a link; just "_". Line 134 with > "def _dump(depth)" in the same file correctly treats "_dump" as one > word. > > Another thing I notice in that file is that argument names are > sometimes cross-referenced and sometimes not; e.g. "depth" in _dump > is, but not "str" in _load. This might be related to the previous > issue. > > Finally, method names like "==" and "[]" aren't cross-referenced. Thanks. Yes, I've hacked on LXR code itself (i.e. reworked all the templates, fixed a few bugs etc.), and it does not have Ruby support out of the box. I've added something, but... the whole LXR and the parsing code particularily is... well, it is a huge crappy heap of most obscure Perl code I've seen in my entire life. I definitely lack the knowledge needed to add proper Ruby support. I slowly explore things out, but if you (or anyone else) may help, that would be very great! The .rb file icon will be fixed later today. -- WBR, Peter Zotov.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[ANN] Ruby Cross Reference Peter Zotov <whitequark@whitequark.org> - 2011-04-13 00:12 -0500
Re: [ANN] Ruby Cross Reference botp <botpena@gmail.com> - 2011-04-13 17:55 -0500
Re: [ANN] Ruby Cross Reference Peter Zotov <whitequark@whitequark.org> - 2011-04-13 23:52 -0500
Re: [ANN] Ruby Cross Reference Eric Christopherson <echristopherson@gmail.com> - 2011-04-16 00:54 -0500
Re: [ANN] Ruby Cross Reference Eric Christopherson <echristopherson@gmail.com> - 2011-04-16 00:56 -0500
Re: [ANN] Ruby Cross Reference Peter Zotov <whitequark@whitequark.org> - 2011-04-16 04:04 -0500
Re: [ANN] Ruby Cross Reference Peter Zotov <whitequark@whitequark.org> - 2011-04-16 04:12 -0500
csiph-web