skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: LIBXSIF, A Standalone Library for Parsing the Standard Input Format

Technical Report ·
DOI:https://doi.org/10.2172/787210· OSTI ID:787210

The Standard Input Format for the description of accelerator beamlines has achieved limited acceptance due to the complexity of the parser required. We describe a standalone library of Fortran-90 routines which can be used to parse a superset of the Standard Input format in use a SLAC, named Extended Standard Input Format (XSIF). This library provides authors of new simulation codes with a simple means of adding XSIF compatibility to their programs, and also permits users to add their own features to the parser with relative ease. As examples we describe the manner in which the linear accelerator code LIAR was modified to use LIBXSIF, and changes made to DIMAD to switch from its internal Standard Input Format parser to use of the external XSIF parser. URL's for the source code, documentation, and ready-to-use libraries are provided.

Research Organization:
SLAC National Accelerator Lab., Menlo Park, CA (United States)
Sponsoring Organization:
USDOE Office of Energy Research (ER) (US)
DOE Contract Number:
AC03-76SF00515
OSTI ID:
787210
Report Number(s):
SLAC-PUB-8936; TRN: US0110477
Resource Relation:
Other Information: PBD: 27 Jul 2001
Country of Publication:
United States
Language:
English