Basic Dynare++ syntax

Can anyone demonstrate the correct syntax for declaring local/auxiliary variables in a Dynare++ model file? Can anyone demonstrate the syntax for using the diff operator to do symbolic differentiation within a Dynare++ model file?