Skip to content
Advertisement

Tag: ecma262

Which nonterminal is the start symbol?

While i was reading the spec(ECMAScript 2022) i’ve wondered which nonterminal symbol is the start symbol ? in other words the first place that is being evaluated in ECMAScript 2022 Answer It depends. The abstract operation ParseText is called from 14 places, with different goalSymbols (from the perspective of a bottom-up parser the start symbol of the generative grammar is

Advertisement