Re: Question for SHLOMIF (and everyone else)

2013-12-06 Thread Shlomi Fish
Hi all,

I am https://metacpan.org/author/SHLOMIF on CPAN.

On Mon, 25 Nov 2013 05:37:00 -0500
Paul Bennett paul.w.benn...@gmail.com wrote:

 Hi all,
 
 I'm writing my own parser to handle the complete ISO SGML
 specification (using the excellent Marpa::R2 by JKEGL). At the moment,
 it's purely a recreational effort, but the long-term plan is to get it
 on CPAN.
 
 Part of the plan is to store the parser output in the same format as
 XML::LibXML (since if you squint at it right and wish very hard, XML
 can do everything SGML can do), and it struck me that I could probably
 even subclass that module to give free functionality to the parsed
 SGML through the many modules that are already written to handle
 XML::LibXML.

I'm not sure how well subclassing XML::LibXML can work, but I'm fine with
providing an API for parsing SGML based on it, as long as one is using the
public API and not the internals.


 
 I just wanted to make sure I'm not going to be stepping on any toes
 (or muddying any waters) by doing this, especially by using the
 SGML::LibXML namespace for the class name of the parse results.
 
 The parser itself would live in some other package name, maybe
 SGML::Marpa or something, unless SGML::LibXML::Parser seems like a
 cromulent choice -- I tend to think not, though, because it's not
 using the LibXML parser to actually do the parsing.
 
 Any hints, tips, comments, questions, or suggestions?
 

No idea - I just work here.

 
 --
 P/PW/PWBENNETT

Regards,

Shlomi Fish 


-- 
-
Shlomi Fish   http://www.shlomifish.org/
Stop Using MSIE - http://www.shlomifish.org/no-ie/

Ran Eilam To Shlomi Fish: so what are you working on? Working on a new wiki
about unit testing fortunes in freecell?

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Question for SHLOMIF (and everyone else)

2013-11-25 Thread Paul Bennett
Hi all,

I'm writing my own parser to handle the complete ISO SGML
specification (using the excellent Marpa::R2 by JKEGL). At the moment,
it's purely a recreational effort, but the long-term plan is to get it
on CPAN.

Part of the plan is to store the parser output in the same format as
XML::LibXML (since if you squint at it right and wish very hard, XML
can do everything SGML can do), and it struck me that I could probably
even subclass that module to give free functionality to the parsed
SGML through the many modules that are already written to handle
XML::LibXML.

I just wanted to make sure I'm not going to be stepping on any toes
(or muddying any waters) by doing this, especially by using the
SGML::LibXML namespace for the class name of the parse results.

The parser itself would live in some other package name, maybe
SGML::Marpa or something, unless SGML::LibXML::Parser seems like a
cromulent choice -- I tend to think not, though, because it's not
using the LibXML parser to actually do the parsing.

Any hints, tips, comments, questions, or suggestions?


--
P/PW/PWBENNETT