• DocumentCode
    378048
  • Title

    A Lex-based MAD parser and its applications

  • Author

    Krivosheev, O. ; McCrory, E. ; Michelotti, L. ; Mokhov, D. ; Mokhov, N. ; Ostiguy, J.-F.

  • Author_Institution
    FNAL, Batavia, IL, USA
  • Volume
    4
  • fYear
    2001
  • fDate
    2001
  • Firstpage
    3036
  • Abstract
    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
  • Keywords
    C++ language; beam handling equipment; beam handling techniques; embedded systems; grammars; high energy physics instrumentation computing; particle accelerators; software portability; MAD-C++ converter; MAD-MARS beam line builder; algebraic expressions; beam elements; beam line data; dynamic C++ object factory; embeddable Lex-based MAD language parser; particle accelerators; portable Lex-based MAD language parser; tree-like structures; Contracts; Data structures; Lattices; Libraries; Linear particle accelerator; Particle accelerators; Physics computing; Production facilities; Tree data structures;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Particle Accelerator Conference, 2001. PAC 2001. Proceedings of the 2001
  • Conference_Location
    Chicago, IL
  • Print_ISBN
    0-7803-7191-7
  • Type

    conf

  • DOI
    10.1109/PAC.2001.987996
  • Filename
    987996