fool2fish / dragon-book-exercise-answers

Compilers Principles, Techniques, & Tools (purple dragon book) second edition exercise answers. 编译原理(紫龙书)第2版习题答案。
6.38k stars 1.77k forks source link

Exercise 1.3.1 #157

Open jesimar opened 5 years ago

jesimar commented 5 years ago

My answer to question 1.3.1 is below. I think it's more complete.

C: imperative, von Neumann, third-generation

C++: imperative, von Neumann, object-oriented, third-generation

Cobol: imperative, von Neumann, third-generation

Fortran: imperative, von Neumann, third-generation

Java: imperative, von Neumann, object-oriented, third-generation

Lisp: declarative, von Neumann, functional, third-generation

ML: declarative, von Neumann, functional, third-generation

Perl: imperative, von Neumann, scripting, third-generation

Python: imperative, von Neumann, object-oriented, scripting, third-generation

VB: imperative, von Neumann, object-oriented, third-generation

ahr9n commented 3 years ago

What does 'ML' stand for? Machine Language or Meta Language?

ahr9n commented 3 years ago

Thanks for your efforts and I would like to add :) COBOL and Perl are object-oriented programming languages Perl and Python are fourth-generation programming languages, besides being third-generation, as they are used mainly in database programming and scripting.

Also, I wondered how would Perl, Python and VB be von Neumann programming languages?