[#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:10555] Re: Programming Ruby is now an Open Content Publication

From: Robert Feldt <feldt@...>
Date: 2001-02-08 09:40:45 UTC
List: ruby-talk #10555
On Thu, 8 Feb 2001, Dave Thomas wrote:

> 
> Thanks to some wonderful flexibility on the part of Addison Wesley,
> Programming Ruby is now an Open Publication document. This means we
> can release the sources and derived content for general use.
> 
> I'm trying to work out how to handle updates to the LaTeX, but in the
> meantime the XML and HTML sources of the reference material are
> available for download at
> 
>    http://www.pragmaticprogrammer.com/ruby/downloads/refman.html
> 
This is great news. I'd also like to see the format of this used in other
Ruby projects. Maybe we can introduce a very simple doc format where you'd
write for example:

   *
	arr * anInteger -> anArray
	arr * aString -> anOtherString
   Repetition-With a String argument, equivalent to
   %c{arr.join(aString)}. Otherwise, returns a new array built by
   concatenating the anInteger copies of arr.
   %c{[1, 2, 3] * 3 -> [1, 2, 3, 1, 2, 3, 1, 2, 3]}

which is then translated to the xml format used in the lib reference:

   <method name="*" ref="_st">
   <callseq>
               <obj>arr</obj> * <obj>anInteger</obj>
   <returns><obj>anArray</obj></returns><br/>
           <obj>arr</obj> * <obj>aString</obj>
   <returns><obj>anOtherString</obj></returns>
   </callseq>
   <desc>
       Repetition-With a <classname>String</classname> argument,
       equivalent to
       <code><obj>arr</obj>.join(aString)</code>. Otherwise, returns a new
       array built by concatenating the <obj>anInteger</obj> copies of
       <obj>arr</obj>.
       <p/>
       <codefragment>
       <table>
       <tr>
       <td><code>[<nbsp/>1,<nbsp/>2,<nbsp/>3<nbsp/>]<nbsp/>*<nbsp/>3</code> 
       </td> <td>-></td>

<td><code>[1,<nbsp/>2,<nbsp/>3,<nbsp/>1,<nbsp/>2,<nbsp/>3,<nbsp/>1,<nbsp/>2,<nbsp/>3]</code></td>
</tr>
       </table>
       </codefragment>
    </desc>
    </method>

which can then be transformed to HTML, Latex or what-have-you...

Or is RD the way to go? I haven't used it myself and my impression is that
it is not in wide-spread use? Am I wrong? If your not using RD whats your
problem with it?

The translator would make lots of assumptions and would parse the Ruby
or C code while processing the docs to know the type of method (instance
or class) and so on.

Regards,

Robert - who would like to doc his Ruby extensions and projects better but
don't know what way to go...

In This Thread

Prev Next