"whether the construct is allowed/part of the language (syntax)"
is the same as yours
""Syntax" just means what strings are valid programs"
"whether the construct is allowed/part of the language (syntax)"
is the same as yours
""Syntax" just means what strings are valid programs"