Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

G'day.

I'm a new user here and this is my first post--I hope it's in the right place.

I need to munge a big chunk of data from a proprietary markup language called 3B2 to HTML.

A search of the CPAN does not bring up anything on "3B2".

Has anyone worked with this markup language before? Are there any existing modules out there?

Having looked at some 3B2, I could munge it manually--there are no closing </tags> like there are in HTML, thus simplifying the process greatly. But I'd just as soon use an existing module!

Any help would be much appreciated.
  • Comment on parsing the 3B2 proprietary markup language

Replies are listed 'Best First'.
Re: parsing the 3B2 proprietary markup language
by sauoq (Abbot) on Aug 08, 2002 at 00:52 UTC
    I'm guessing that you are referring to Advent's 3B2 macro language. You can find some documentation at http://documentation.3b2.com but I don't know of any perl modules for working with it. I guess this is an opportunity for you to write one. ;-)
    -sauoq
    "My two cents aren't worth a dime.";
    
Re: parsing the 3B2 proprietary markup language
by Anonymous Monk on Aug 08, 2002 at 01:00 UTC
    To reply to my own post, I had a look at that documentation web site, which includes the following small print:

    Perl

    3B2's Perl support was developed with the aid of Perl Kit, Version 5.0. Copyright © 1989-2000, Larry Wall. All rights reserved.

    There appears to be some sort of connection to Perl and SGML. I'm out of my depth here....
      took a quick look at the documentation site and did a search on perl. looks to me that what they are referring to in this statement is the support for perl built into 3b2, not support for 3b2 in perl. did a quick web search and found this 3b2 to ascii filter written in perl.

      looks like it should get you started.