In a language such as Lisp or Scheme, using S expressions to represent program text is likely to reduce the amount of work for the parser. The Lisp compiler will spend less time parsing Lisp source code than the C ++ compiler will parse C ++ code (C ++ has a reputation as one of the most complex languages ββfor parsing).
However, with a few exceptions (perhaps C ++?), Parsing is not part of the compiler that will take the most time. Java, Python, C #, Delphi have fairly simple grammars.
source share