ConcreteSynSLang1.init() ConcreteSynSLang1.expression ConcreteSynSLang1.answer ConcreteSynSLang1.hint4

[True / False] The following expression is a syntactically correct SLang 1 program.

expression

CorrectAnswer
  1. True
  2. False

Review the syntax for the five types of expressions in SLang 1.

Pay particular attention to the positions of spaces and commas.

This exercise is about syntax, not semantics. A syntactically correct program only has to have a parse tree according to the grammar for SLang 1; it does not have to make sense!

hint4