Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Looking for parser of "bookmaster" script files

by Old_Gray_Bear (Bishop)
on Nov 29, 2011 at 17:45 UTC ( #940665=note: print w/replies, xml ) Need Help??

in reply to Looking for parser of "bookmaster" script files

Doing a quick Google Search (bookmaster +xml) turns up a Yahoo Groups thread from 2002 In addition, there are several for-hire firms that will do the conversion for you, depending on your time-frame and budget.

As I recall from playing around with Script (SGML's predecessor) conversions, the language was simple to parse -- look for the colon in position 1, extract the next three characters, do a table look up to get the appropriate subroutine (all written in Basic Assembler, mind you) and go do it. Where we got ourselves really knotted up is with 'user extensions', macros that looked like markup, but weren't (:xpl in your example). We finally ended up running the Script Processor with the command-option that expanded all macros inline and then we converted the resultant. It really bulked up some of the documents -- 500 lines going in, 5000 lines of output was not unusual.

I Go Back to Sleep, Now.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940665]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-01-19 18:26 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (222 votes). Check out past polls.