-let_func(func) ::= STRLEN(T). {
- func = init_let_func(T->type, T->text, NULL);
- free(T);
-}
-let_func(func) ::= STRVAL(T). {
- func = init_let_func(T->type, T->text, NULL);
- free(T);
-}
-let_func(func) ::= INTVAL(T). {
- func = init_let_func(T->type, T->text, NULL);
- free(T);
-}
-let_func(func) ::= FLOATVAL(T). {
- func = init_let_func(T->type, T->text, NULL);
- free(T);
-}
-let_func(func) ::= BOOLVAL(T). {
- func = init_let_func(T->type, T->text, NULL);
- free(T);
-}
-let_func(func) ::= ARRVAL(T). {
- func = init_let_func(T->type, T->text, NULL);
+let_func(func) ::= let_func_token(T) LPAREN impl_var(var) RPAREN. {
+ func = init_let_func(T->type, T->text, var);