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

Title: A lex-based mad parser and its applications

Conference ·
OSTI ID:782650

An embeddable and portable Lex-based MAD language parser has been developed. The parser consists of a front-end which reads a MAD file and keeps beam elements, beam line data and algebraic expressions in tree-like structures, and a back-end, which processes the front-end data to generate an input file or data structures compatible with user applications. Three working programs are described, namely, a MAD to C++ converter, a dynamic C++ object factory and a MAD-MARS beam line builder. Design and implementation issues are discussed.

Research Organization:
Fermi National Accelerator Lab. (FNAL), Batavia, IL (United States)
Sponsoring Organization:
USDOE Office of Energy Research (ER) (US)
DOE Contract Number:
AC02-76CH03000
OSTI ID:
782650
Report Number(s):
FERMILAB-Conf-01/142-T; TRN: US0103429
Resource Relation:
Conference: 2001 Particle Accelerator Conference, Chicago, IL (US), 06/18/2001--06/22/2001; Other Information: PBD: 3 Jul 2001
Country of Publication:
United States
Language:
English

Similar Records

MAD parsing and conversion code
Technical Report · Fri Jun 23 00:00:00 EDT 2000 · OSTI ID:782650

LRSYS. PASCAL LR(1) Parser Generator System
Miscellaneous · Mon Apr 01 00:00:00 EST 1985 · OSTI ID:782650

LRSYS. PASCAL LR(1) Parser Generator System
Miscellaneous · Mon Apr 01 00:00:00 EST 1985 · OSTI ID:782650