Back to Contents

Life of elf



Syntax : How you write a language. Its the form of statements, expressions and program units Sematics: What each expressions, statements and program mean. e.g. syntax of if in c is :

if({expr}) {statement}; the sematics of above statement is : if {expr} is True, then {statement is executed}

Lexical analysis : Turning a stream of characters into stream of distinct lexemes, seperated by delmiter(whitespaces or comma). Tokens are the categories of lexemes



Back to Contents