Parsers for algebraic expressions coming from UFO, outputting into
different languages/frameworks (Fortran and Pythia8). Uses the PLY 3.3
Lex + Yacc framework
|
ModelError
Appropriate Error for a wrong parsing
|
|
UFOExpressionParser
A base class for parsers for algebraic expressions coming from UFO.
|
|
UFOExpressionParserFortran
A parser for UFO algebraic expressions, outputting Fortran-style
code.
|
|
UFOExpressionParserMPFortran
A parser for UFO algebraic expressions, outputting Fortran-style
code for quadruple precision computation.
|
|
UFOExpressionParserCPP
A parser for UFO algebraic expressions, outputting C++-style code.
|
|
UFOExpressionParserPythonIF
An ad hoc parser for UFO algebraic expressions with if statement,
outputting Python-style code, with the conditional 'if' expressions
simplified using pre-defined set of variables specified when
instanciating this parser.
|