Skip to content
Snippets Groups Projects
  • Erwan Jahier's avatar
    4c0a0b1f
    Add two new modules, Predef and PredefSemantics, that deals with predefined · 4c0a0b1f
    Erwan Jahier authored
    operators. Predef contains the abstract syntax of those operators (taken
    for SyntaxTreeCore.by_pos_op), and PredefSemantics contains:
    
     - const_eval: that says how to statically evaluate constants
     - type_eval: that provides the type profile of predef operators
     - clock_eval: that provides the clock profile of predef operators
    
    The code in EvalConst that dealt with predef const evaluation is now in
    Predef.const_eval
    4c0a0b1f
    History
    Add two new modules, Predef and PredefSemantics, that deals with predefined
    Erwan Jahier authored
    operators. Predef contains the abstract syntax of those operators (taken
    for SyntaxTreeCore.by_pos_op), and PredefSemantics contains:
    
     - const_eval: that says how to statically evaluate constants
     - type_eval: that provides the type profile of predef operators
     - clock_eval: that provides the clock profile of predef operators
    
    The code in EvalConst that dealt with predef const evaluation is now in
    Predef.const_eval