Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

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., Batavia, IL (US)
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
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:756970

PASCAL LR(1) Parser Generator System
Software · Tue May 03 20:00:00 EDT 1988 · OSTI ID:code-12136

Parsnip Parser Creation Application
Software · Wed Jan 10 19:00:00 EST 2024 · OSTI ID:code-126740