Upload
others
View
24
Download
0
Embed Size (px)
Citation preview
Theory of Computation
Introduction to Languages
Introduction to Languages
A language is a tool in the hands of
human in order to send or receive
information across.
Introduction to Languages
A language is a tool in the hands of
human in order to send or receive
information across.
SPEAK
Introduction to Languages
A language is a tool in the hands of
human in order to send or receive
information across.
Introduction to Languages
A language is a tool in the hands of
human in order to send or receive
information across.
Introduction to Languages
A language is a tool in the hands of
human in order to send or receive
information across.
Introduction to Languages
A l a n g u a g e i s a t o o l i n t h e h a n d s
o f h u m a n i n o r d e r t o s e n d o r
r e c e i v e i n f o r m a t i o n a c r o s s.
Introduction to Languages
language is a tool in the hands of
human in order to send or receive
information across.
SYMBOL
Introduction to Languages
language is a too in the hands of
human in order to send or receive
information across.
languageSYMBOL
STRINGS
Introduction to Languages
language is a too in the hands of
human in order to send or receive
information across.
language
tool
SYMBOL
STRINGS
Introduction to Languages
language is a too in the hands of
human in order to send or receive
information across.
language
human
SYMBOL
tool
STRINGS
Introduction to Languages
language is a too in the hands of
human in order to send or receive
information across.
language
human
information
SYMBOLS
STRINGS
tool
Introduction to Languages
language is a too in the hands of
human in order to send or receive
information across.
SYMBOLS
STRINGS
ni
Introduction to Languages
language is a too in the hands of
human in order to send or receive
information across.
language
human
information
SYMBOLS
STRINGS
tool
Introduction to Languages
language
human
information
SYMBOLS
STRINGS
tool
A l a n g u a g e i s a t o o l i n t h e h a n d s
o f h u m a n i n o r d e r t o s e n d o r
r e c e i v e i n f o r m a t i o n a c r o s s.
Introduction to Languages
an
apple
I
ate
Introduction to Languages
Introduction to Languages
GRAMMAR RULES
Introduction to Languages
I ate an apple
GRAMMAR RULES
Syntax
Introduction to Languages
An apple I ate
GRAMMAR RULES
Syntax
An apple ate I
An I apple ate
An I ate apple
I an apple ate
I an ate apple
I ate an apple
I ate apple an
Introduction to Languages
An apple I ate
GRAMMAR RULES
Syntax
An apple ate I
An I apple ate
An I ate apple
I an apple ate
I an ate apple
I ate an apple
I ate apple an
SEMANTICS
Introduction to Languages
Symbols
Strings
Statements
Syntax
Grammar
Semantics
Human Language
Introduction to Languages
Symbols
Strings
Statements
Syntax
Grammar
Semantics
Computer Language
(logic)
Introduction to Languages
Symbols
Strings
Computer Language
(logic)
if
identifier in C language
keyword in C language
fi
Statements
Syntax
Grammar
Semantics
Introduction to Languages
A language is a tool which is used by
man to interact with man or machine.
Introduction to Languages
Human Brain
Grammar
RulesSentence
Introduction to Languages
Human Brain
Grammar
Rules
Computer
Sentence
Statement?
Introduction to Languages
Thanks