Piraha Parser Discussion

From Einstein Toolkit Documentation
Revision as of 11:41, 12 March 2013 by Sbrandt (talk | contribs)
Jump to: navigation, search

It was suggested that a new improved parser format be put forward, one closer to python.

Suggestions:

  • New format tag at the top to allow backwards compatibility
    • RH: possibly in the form similar to activethorns, ie like a global parameter but that is required to be first in the file
  • Require triple quotes for multiline quotes
  • Require yes/no for booleans
    • RH: allowing 1/0 can be useful for parameter file scripts since then the same variable can be used in the scripting languages "if" statement and in the Cactus parameter file (since both "yes" and "no" tend to evaluate as logical true in these languages).
    • SRB: We could standardize on True/False instead, if we want to be Python-like.
  • compiled() option to provide compiled-in values for parameters