Writing Compilers and Interpreters: A Software Engineering Approach
Samenvatting
Master the skills you need to build your own compilers and interpreters
Compilers and interpreters are very difficult programs to write, but modern software engineering tackles the complexity. Design patterns and other object-oriented programming techniques guide you to develop well-structured code in incremental, understandable steps. Apply what you learn in this book to succeed with any complex software project.
You'll learn to:
- Use Java to develop scanners and parsers for programming languages
- Employ UML to model software components
- Manage symbol tables with the Java Collections Framework
- Use XML to represent the generated intermediate code
- Develop an interpreter to execute programs, including a powerful interactive source-level debugger
- Implement an integrated development environment (IDE) that animates the execution of programs
- Use the IDE's graphical user interface to set breakpoints and single-step programs statement by statement with mouse clicks
- Develop a code generator that emits object code for the Java Virtual -Machine (JVM), and run the compiled code on multiple platforms
Specificaties
Inhoudsopgave
1. Introduction.
2. Framework I: Compiler and Interpreter.
3. Scanning.
4. The Symbol Table.
5. Parsing Expressions and Assignment Statements.
6. Interpreting Expressions and Assignment Statements.
7. Parsing Control Statements.
8. Interpreting Control Statements.
9. Parsing Declarations.
10. Type Checking.
11. Parsing Programs, Procedures, and Functions.
12. Interpreting Pascal Programs.
13. An Interactive Source-Level Debugger.
14. Framework II: An Integrated Development Environment (IDE).
15. Jasmin Assembly Language and Code Generation for the Java Virtual Machine.
16. Compiling Programs, Assignment Statements, and Expressions.
17. Compiling Procedure and Function Calls and String Operations.
18. Compiling Control Statements, Arrays, and Records.
19. Additional Topics.
Index.
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht