Loading…

A Lex-based MAD parser and its applications

An embeddable and portable Lex-based MAD language parser has been developed. The parser consists of a frontend 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 fil...

Full description

Saved in:
Bibliographic Details
Main Authors: Krivosheev, O., McCrory, E., Michelotti, L., Mokhov, D., Mokhov, N., Ostiguy, J.-F.
Format: Conference Proceeding
Language:English
Subjects:
Online Access:Request full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:An embeddable and portable Lex-based MAD language parser has been developed. The parser consists of a frontend 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.
DOI:10.1109/PAC.2001.987996