Slide 12
Slide 12 text
-> grammatical structure of the program.
Abstract syntax tree(AST)
contains only information which are needed for
processing the source input.
Concrete syntax tree(CST)
contains all the information derived from the
source input, this includes things like
whitespaces and comments.
NB:Kotlin Compiler produces a CST, referred as Program
Structure Interface(PSI).
Syntax tree