This program gives the error "define-language: unrecognized clause in: (Expr r)".
Better wording:
"define-language: Expected nonterminal clause of the form
(keyword (meta-var ...) production-clause ...) in: (Expr r).
(define-language L
(entry Expr)
(terminals (number (r)))
(Expr r))
This program gives the error "define-language: unrecognized clause in: (Expr r)". Better wording: "define-language: Expected nonterminal clause of the form (keyword (meta-var ...) production-clause ...) in: (Expr r).
(define-language L (entry Expr) (terminals (number (r))) (Expr r))