Hello,
The project specification is not quite finished, yet, but ...
"Yuxuan Yuan" <24*8*8*
3@s*u*e*t*u*a*e*u*a*> wrote:
> Should we consider about nested function and higher-order function?
The language's syntax does not permit nested functions:
[CITS2002]⬈
Functions are introduced with the 'function' keyword, which only appears at the program's global level, and not as a type of statement.
> and should we handle the unexpected indent error like
> ```
> [statement]
> [statement]
> [statement]
> ```
Whitespace is insignificant, everywhere, except for when a single tab shows that a statement belongs to a function body. So the above is OK.