[#10209] Market for XML Web stuff — Matt Sergeant <matt@...>

I'm trying to get a handle on what the size of the market for AxKit would be

15 messages 2001/02/01

[#10238] RFC: RubyVM (long) — Robert Feldt <feldt@...>

Hi,

20 messages 2001/02/01
[#10364] Re: RFC: RubyVM (long) — Mathieu Bouchard <matju@...> 2001/02/05

[#10708] Suggestion for threading model — Stephen White <spwhite@...>

I've been playing around with multi-threading. I notice that there are

11 messages 2001/02/11

[#10853] Re: RubyChangeRequest #U002: new proper name for Hash#indexes, Array#indexes — "Mike Wilson" <wmwilson01@...>

10 messages 2001/02/14

[#11037] to_s and << — "Brent Rowland" <tarod@...>

list = [1, 2.3, 'four', false]

15 messages 2001/02/18

[#11094] Re: Summary: RCR #U002 - proper new name fo r indexes — Aleksi Niemel<aleksi.niemela@...>

> On Mon, 19 Feb 2001, Yukihiro Matsumoto wrote:

12 messages 2001/02/19

[#11131] Re: Summary: RCR #U002 - proper new name fo r indexes — "Conrad Schneiker" <schneik@...>

Robert Feldt wrote:

10 messages 2001/02/19

[#11251] Programming Ruby is now online — Dave Thomas <Dave@...>

36 messages 2001/02/21

[#11469] XML-RPC and KDE — schuerig@... (Michael Schuerig)

23 messages 2001/02/24
[#11490] Re: XML-RPC and KDE — schuerig@... (Michael Schuerig) 2001/02/24

Michael Neumann <neumann@s-direktnet.de> wrote:

[#11491] Negative Reviews for Ruby and Programming Ruby — Jim Freeze <jim@...> 2001/02/24

Hi all:

[#11633] RCR: shortcut for instance variable initialization — Dave Thomas <Dave@...>

13 messages 2001/02/26

[#11652] RE: RCR: shortcut for instance variable initialization — Michael Davis <mdavis@...>

I like it!

14 messages 2001/02/27

[#11700] Starting Once Again — Ron Jeffries <ronjeffries@...>

OK, I'm starting again with Ruby. I'm just assuming that I've

31 messages 2001/02/27
[#11712] RE: Starting Once Again — "Aaron Hinni" <aaron@...> 2001/02/27

> 2. So far I think running under TextPad will be better than running

[#11726] Re: Starting Once Again — Aleksi Niemel<zak@...> 2001/02/28

On Wed, 28 Feb 2001, Aaron Hinni wrote:

[ruby-talk:11543] Re: RFC: RubyVM (long)

From: Mathieu Bouchard <matju@...>
Date: 2001-02-25 18:27:33 UTC
List: ruby-talk #11543
On Sun, 25 Feb 2001, Robert Feldt wrote:
> On Mon, 19 Feb 2001, Mathieu Bouchard wrote:
> > Could you send me that?
> It's been a busy week but I'll try to pack it up and send it in the coming
> days.

No problem, I took a week to reply to your previous large mail.

> Wel,, don't expect too much; I simply add the productions of one grammar
> to the ones of another. No checking that the merge is possible or that
> they "connect" (through a nonterminal or whatever). Do you know a
> "right"/better/more useful way to merge grammars?

No. I'm not too experienced with parsers. But this is not too urgent:
I'm not even sure we need a "Ruby--" parser at all. It could simply
be a subset of the syntax tree node types of the full Ruby and nothing
else.

textRuby ->  [parser]  -> nodeRuby
nodeRuby -> [compiler] -> nodeRuby--

since Ruby-- trees could be produced from Ruby trees, we don't need a
"textRuby--".

If for some reason we want to add a text version of "Ruby--" we then could
look into inheritable parser rulesets.

> Minor comment on ArrayMixin:
> (I haven't checked it thoroughly so maybe you already do this) Wouldn't it
> be better if put_many and get_many wasn't part of the Interface but was
> defined in ArrayMixin in terms of put/get. Then if people want better
> performance they can override these default version by defining their own
> and faster ones?

#get_many can be removed. I kept it there for performance concerns (one
call, many values). But then, #get can be removed instead. But I kept it
there for performance concerns (does not create an array). I didn't get
much feedback on this yet. There is another possible basic read operation 
I thought about last week:

#get_many2(anArray) -> nil takes a (real) Array as a parameter, in which
every element is a Fixnum in (0...length) (precondition). Replaces each
such element by its corresponding value in self.

(Basically, this is a slightly twisted form of #indices in which no array 
is created by the callee)

#put_many cannot be removed: it is the only way you can change the size of
the array. #put, on the other hand, can be removed.

This is an area in which I haven't decided anything yet though. What is
your opinion?

> > Well it's not a hindrance at all for me. I just use the & declarator to
> > pick up the special parameter, and then perform a .call on it where i
> > could do yield.
> You're right; that should be sufficient.

Except maybe for the arity issues (for which I don't remember all the
details) but at least an approximative solution is a good start. =)

> I'll post it. Aleksi mentioned maybe this should go into a cvs some
> place. Whats the eval criteria for being allowed to sit on the ruby
> cvs? How do you get "listed"?

just ask knu (Akinori Musha)



By the way... the grammar stuff in IRB seems to be incomplete. We'll have
to work from parse.y and/or the documentation's grammar file.



matju

In This Thread

Prev Next