a) A context free language
b) A context sensitive language
c) A regular language
d) Parsable fully only by a Turing machine
Answer (a)
Most programming languages including C, C++, Java and Pascal can be approximated by context-free grammar and compilers for them have been developed based on properties of context-free languages
Most programming languages including C, C++, Java and Pascal can be approximated by context-free grammar and compilers for them have been developed based on properties of context-free languages
No comments:
Post a Comment