Compiler/syntax analyzer: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
m →‎{{header|Wren}}: Minor tidy
Rdm (talk | contribs)
We have a {{task}} macro and a {{task heading|}} macro - the second requires a vertical bar before its argument to distinguish it from the first in the current wiki implementation (and an empty argument seems meaningless)
 
Line 1:
{{task}}{{task heading|Syntax Analyzer}}
 
A Syntax analyzer transforms a token stream (from the [[Compiler/lexical_analyzer|Lexical analyzer]])
into a Syntax tree, based on a grammar.
 
{{task heading}}
 
Take the output from the Lexical analyzer [[Compiler/lexical_analyzer|task]],