home *** CD-ROM | disk | FTP | other *** search
- Standard Generalized Markup Language Users' Group (SGMLUG)
- REXX API for ARCSGML (REXXSGML)
-
- REXX is a user-friendly interpreted programming language that allows
- rapid development of programs. It is particularly strong in parsing
- and string manipulation, and is therefore self-recommending as a tool
- for "translating" SGML documents for processing by non-SGML
- applications such as word processors. It is also convenient to use,
- as you simply create the program with a text editor and then run it --
- no compilation or linking is necessary. (This despite the fact that
- REXX programs can be highly structured, with both internal and
- external functions.)
-
- The Personal REXX product is required in order to use REXXSGML. For
- information, contact:
-
- Mansfield Software Group
- P.O. Box 532
- Storrs, CT 06268
- U.S.A.
- Phone: +1 203 429-8402
- Fax: +1 203 487-1185
-
- The ARCSGML materials allow the construction of interfaces between
- REXX programs ("macros") and the services of parsers constructed with
- ARCSGML. They include source code (in C) for one such interface,
- called REXXSGML. It was compiled with the C compiler of the Borland
- C++ IDE, but could be converted to Microsoft C by changing the names
- of the predefined macros that identify the memory model. The small
- memory model was tested, but the low-level subroutines supplied by
- Personal REXX also appear to support the medium and large models.
- (Those routines -- FINDINT and REXCALL -- are required in order to
- build REXXSGML. The header file, REXCALL.H, is required in order to
- compile REXXSGML.)
-
- Also included is a sample REXX program (RSDEMO) that illustrates the
- use of REXXSGML by printing some of the information returned by
- ARCSGML. REXXSGML and RSDEMO have been tested on PC-DOS 4.01 with
- Release 2.0 of Personal REXX, by Mansfield Software Group. (However,
- there is no reason to suspect release dependencies.)
-
- The REXXSGML materials were designed and developed by Roy Engehausen.
- Conversion to ANSI C was performed by Jack Steitz.
-
- The REXXSGML archive includes the following files:
-
- Documentation
- rexxsgml.doc Documentation for REXX API (this file)
- rexxsgml.chr Function call hierarchy report (courtesy of Pierre Richard)
- rexxsgml.mak Build list ("makefile") for REXXSGML.EXE
-
- Ready-to-run REXX application: RSDEMO (requires REXXSGML)
- rs .bat Runs RSDEMO.REX on SGML documents of your choosing
- rsdemo .rex Sample REXX program using REXX API to ARCSGML
-
- REXX to SGML interface: REXXSGML
- rexxsgml.exe Executable REXX to ARCSGML interface: runs REXX programs
- rexxsgml.c Establishes SGML "resident environment" for REXX programs
- sgmlapir.c Provides SGML API functions, returns results as REXX variables