One thing that would be VERY useful to a number of people, is if each Node implementation contained a standardized comment describing what it really represents (unless you want to rename then to be clearer, though I still suspect that would not be enough unless you're very familiar with the ruby-syntax terminalogy). Included in this comment would be a code fragement showing the 'boundaries' of the node.
I know this is a lot of work, but perhaps it can be done a little bit at a time. David On Wednesday 04 January 2006 10:28 pm, Charles O Nutter wrote: > No, that mostly explains it...I wasn't quite sure what the > relationship between these two were, especially since the logic around > evaluating them is nearly identical. It probably doesn't make any > difference if it's a listnode or not, if it doesn't gain anything in > the process. > > - Charlie > > On 1/4/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: > > On Wed, 04 Jan 2006, Charles O Nutter defenestrated me: > > > Why? > > > > I am trying to understand the why of your question. A DSymbolNode > > is just a SymbolNode which contains a DStrNode. The result of evaling > > the DStrNode will be a symbol. Are you thinking we can make a > > DSymbolNode a ListNode (like DStrNode) and then change the grammar to put > > the chunks of what would be in the DStrNode into the DSymbolNode instead. > > This would require the visitor for DSymbol to use the same logic as a > > DStringNode. > > > > Is this what you are thinking? > > > > -Tom > > > > -- > > + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ > > > > | Thomas E Enebo, Protagonist | "Luck favors the prepared | > > | > > | | mind." -Louis Pasteur | > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files for problems? Stop! Download the new AJAX search engine that > > makes searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > Jruby-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=Click > _______________________________________________ > Jruby-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jruby-devel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
