annathyst: (Default)
[personal profile] annathyst
(This was initially a much longer entry, but logjam crashed. Grr.)

So I've been writing the compiler for the language I designed for my senior thesis in Ruby. I've been pretty happy with it overall, but the available tools seem badly deficient:

- I really, really miss Eclipse or MSVS-style Intellisense. Neither Emacs's ruby-mode or RDT for Eclipse provides anything remotely similar. I realize that this is difficult to implement for a language as dynamic as Ruby, but damn, do I miss it.

- There's a serious shortage of cross-referencing ability - keeping track of which productions in the grammar I've implemented syntax tree nodes for, and which syntax tree nodes I've implemented the necessary intermediate-code instructions for is rapidly becoming a bigger problem than my puny brain can handle (the thing's a hair under two thousand lines long and growing!). This is partially related to the fact that there isn't *any* editor support for rex and racc (the lexer and parser generators I've been using, respectively), but is larger - RDT just doesn't keep a master project list of classes and methods.

- The available documentation for rex and racc is pretty bad (and Engrish, where it exists at all!), but I seem to be getting by okay. My biggest gripe is that the rex documentation seems to be completely inconsistent with rex itself.

- This is mostly a RDT-related problem and sounds silly, but I really miss how ruby-mode inserts "end" automatically after I type "def" or "class" and similarly completes code. It also doesn't do auto-indent, which is much more annoying.

So, anyone out there in LJ-land doing Ruby development and know of better tools than the ones I've tried?

Date: 2006-02-06 01:17 am (UTC)
From: [identity profile] kvance.livejournal.com
there isn't *any* editor support for rex and racc

Although you seem to have identified yourself as an emacs user, I still want to point out that vim appears to understand racc (bot not rex).

Date: 2006-02-06 03:28 am (UTC)
From: [identity profile] kvance.livejournal.com
Yeah, probably not. Vim does have a new standard completion system called omni, but it's in version 7 so hardly anything uses it yet. (Cool python example: http://img225.imageshack.us/my.php?image=pycomplete7rk.png)

Date: 2006-02-06 03:33 am (UTC)
From: [identity profile] cowbert.livejournal.com
try asking in [livejournal.com profile] ruby_lang

Profile

annathyst: (Default)
Anna

June 2021

S M T W T F S
  12345
67 89101112
13141516171819
20212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 24th, 2025 11:02 am
Powered by Dreamwidth Studios