add sin/rect/ramp/tri 'r' snippets
add define-val snippet