From: Rocco Caputo [mailto:[EMAIL PROTECTED]]
> On Tue, Aug 13, 2002 at 12:39:08PM -0500, Garrett Goebel wrote:
> > 
> > I gather that Rocco Caputo would prefer a textual notation
> > that looks like Perl. Whereas torvald is recommending XMI. 
> 
> It needn't look like Perl, but it should be friendly enough to include
> in documentation.

Hmm... last night I was wondering about the use of Attribute::Handlers and
Inline::File. Something that would look something like:

sub echo
    :Purpose(emits exactly what it is given)
    :Public
    :Handle(echo:Data)
    :Emit(echoed:Data)
{
    my ( $self, $msg ) = @_;
    $self->emit( echoed => $msg->data );
}

We could access this information via Attribute::Handlers at compile time and
generate POD documentation via Inline::Files directly into the source code
file. Perhaps using a checksum at compile time to decide whether or not
anything has changed.

Now if I can just find time to prototype something... I remember having
lexical problems with Attribute::Handlers way back, but I don't think that'd
be a factor.

 
> > However, HUTN seems oriented toward describing objects... 
> > I suppose XMI is too for that matter. I haven't yet read
> > enough to figure out how someone would model states in HUTN.
> > Still, it's food for thought... and might help prevent the
> > tendency to reinvent wheels.
> 
> [yawning] I finished the HUTN specs.  The HUTN implements a lot of
> interesting ideas.  I could see it representing instances and
> associations in a complete program.  It doesn't seem friendly enough
> for documentation, though.  Maybe I need to spend some more time with
> it.
> 
> I'm still making time to read the papers you mentioned.

Me too. I'm no UML guru. Definitely not a POE guru. I see helping with the
POE documentation as a chance to come up to speed on both. I'm sure this'll
give me ample opportunity to flip through my "Design Patterns" and
"Pattern-Oriented Software Architecture" books as well.

Now where was that tutorial on Petri Nets...?


--
Garrett Goebel
IS Development Specialist

ScriptPro                   Direct: 913.403.5261
5828 Reeds Road               Main: 913.384.1008
Mission, KS 66202              Fax: 913.384.2180
www.scriptpro.com          [EMAIL PROTECTED]

Reply via email to