Piraha Parser Discussion

From Einstein Toolkit Documentation
Revision as of 09:39, 12 March 2013 by 131.215.195.89 (talk) (suggest form for)
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)
  • compiled() option to provide compiled-in values for parameters