CHAPTER 7

Language Translation Principles

TABLE OF CONTENTS

7.1     Languages, Grammars, and Parsing

7.2     Finite-State Machines

7.3     Implementing Finite-State Machines

7.4     Code Generation

Chapter Summary

Exercises

Problems

You are now multilingual because you understand at least four languages—English, C, Pep/9 assembly language, and machine language. The first is a natural language, and the other three are artificial languages.

The fundamental question of computer science

Keeping that in mind, let’s turn to the fundamental question of computer science, which is: What can be automated? We use computers to automate everything from writing payroll checks to correcting spelling errors in manuscripts. Although computer science has been ...

Get Computer Systems, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.