Re: Synopsis 26

2007-04-13 Thread Damian Conway

Version 0.0.3 of the Perl6::Perldoc suite is now on CPAN.

I've ripped out the previous, extremely brittle, test suite and replaced it 
with a much larger one whose tests are fully abstracted, declarative, and OO 
(and hence may be useful to other Perl 6 implementors as well). The new tests 
don't require any YAML support either.


Special thanks to Ævar Arnfjörð Bjarmason for thoroughly investigating the 
previous problems with the test suite, and to Matthew Wilson for SVNing the 
previous version and offering to tackle the testing problems.


Damian


Re: Synopsis 26

2007-04-12 Thread Damian Conway

[decloak]

I have just uploaded the alpha release of Perl6::Perldoc to CPAN.
From the README:

Perl6::Perldoc version 0.0.2

This distribution provides modules and applications that allow you
to use the Pod dialect of the new Perl 6 documentation markup
language Perldoc.

* The Perl6::Perldoc module allows you to document Perl 5 code
  with Perl 6 markup.

* The Perl6::Perldoc::Parser module converts the markup into a
  OO parse tree.

* The Perl6::Perldoc::To:Text module augments the OO parse tree
  with to_text() methods, to facilitate Perldoc-to-text
  conversion. The perldoc2text application provides a command-
  line front-end for this module.

* The Perl6::Perldoc::To:Xhtml module augments the OO parse tree
  with to_xhtml() methods, to facilitate Perldoc-to-XHTML
  conversion. The perldoc2xhtml application provides a command-
  line front-end for this module.

The distribution also includes a rudimentary test suite, as well as the latest 
update of S26.pod6, so you have a solid 2200-line example file to try the new 
modules on.


Thanks for your patience.

Damian

[recloak]


Re: Synopsis 26

2007-04-12 Thread Ævar Arnfjörð Bjarmason

On 4/12/07, Damian Conway [EMAIL PROTECTED] wrote:

C our $BALANCED_BRACKETS = ..  on line 22 in Parser.pm needs to be
C our $BALANCED_BRACKETS; $BALANCED_BRACKETS = ...  or almost all
the tests have compile errors on my 5.8.8.

With that fix a lot of tests still fail, here's a full report:
http://sial.org/pbot/24167


Re: Synopsis 26

2007-04-12 Thread Ævar Arnfjörð Bjarmason

On 4/12/07, Ævar Arnfjörð Bjarmason [EMAIL PROTECTED] wrote:

With that fix a lot of tests still fail, here's a full report:
http://sial.org/pbot/24167


I updated to YAML::Syck 0.84 which made different parts of the test
suite fail, see http://sial.org/pbot/24168


Re: Synopsis 26

2007-03-26 Thread Ævar Arnfjörð Bjarmason

On 3/19/07, Damian Conway [EMAIL PROTECTED] wrote:

I'm hoping to get a run at finishing the Pod6 parser (in between crises),
but
don't hold your breath. :-(


Since you seem to have something already and it's been on hiatus for
quite some time could you possibly post what you have already
somewhere? Maybe others (pugs people?) would be interested in
improving it/writing test cases for it.


Re: Synopsis 26

2007-03-19 Thread Damian Conway

Thom Boyer wrote:

I never could find the Pod-to-XHTML'd version of S26 -- the document 
attached to that email was S26.pod6, not S26.xhtml.


Attached.


I don't want to bug Damian, because obviously he has enough of life 
happening, as it were.


More than enough! Thank-you all for understanding that.

I'm hoping to get a run at finishing the Pod6 parser (in between crises), but 
don't hold your breath. :-(


Damian


Re: Synopsis 26

2007-03-18 Thread Thom Boyer
I never could find the Pod-to-XHTML'd version of S26 -- the document 
attached to that email was S26.pod6, not S26.xhtml.


I don't want to bug Damian, because obviously he has enough of life 
happening, as it were. But is the XHTML'd version of S26 available 
anywhere? I haven't been able to find it, and I don't read POD as well 
as all you perl veterans

=thom
--
We would all like to vote for the best man, but he is never a candidate.

On 11/22/06, Damian Conway [EMAIL PROTECTED] wrote:

Many thanks to all those who offered feedback on the first draft, as
a result of which you will see that there have been some major
adjustments and some important simplications to the new Perl mark-up
notation.

The first release of (a Perl 5 implementation of) the parser is
close to ready...within a week if life doesn't happen too much. I
also have a prototype Pod-to-XHTML module implemented, in earnest
whereof I have attached a Pod-to-XHTML'd version of the synopsis.

Damian


PS: As a few of you are already aware, I am in the midst of health
 crisis within my immediate family. This is likely to be
 on-going for the next month or more, so please accept my
 apologies in advance if my response-time is frustratingly slow.




Re: Synopsis 26

2007-03-18 Thread jerry gay

On 3/18/07, Thom Boyer [EMAIL PROTECTED] wrote:

I never could find the Pod-to-XHTML'd version of S26 -- the document
attached to that email was S26.pod6, not S26.xhtml.

I don't want to bug Damian, because obviously he has enough of life
happening, as it were. But is the XHTML'd version of S26 available
anywhere? I haven't been able to find it, and I don't read POD as well
as all you perl veterans
=thom
--

alas, the pod parser has not yet been released. the only file format
of S26 is the canon, written by damian in perl 6 pod format, (or pod6,
or whatever it's called.)
~jerry