Compiler Design Using Kotlin(TM): An Object-Oriented Approach - Paperback

Compiler Design Using Kotlin(TM): An Object-Oriented Approach - Paperback

$53.95
Skip to product information
Compiler Design Using Kotlin(TM): An Object-Oriented Approach - Paperback

Compiler Design Using Kotlin(TM): An Object-Oriented Approach - Paperback

$53.95

by John I. Moore (Author)

This book is designed primarily for use as a textbook in a one-semester course on compiler design for undergraduate students and beginning graduate students. The only prerequisites for this book are familiarity with basic algorithms and data structures (lists, maps, recursion, etc.), a rudimentary knowledge of computer architecture and assembly language, and some experience with the Kotlin programming language or a closely related language such as Java.

A complete study of compilers could easily fill several graduate-level courses, and therefore some simplifications and compromises are necessary for a one-semester course that is accessible to undergraduate students. Following are some of the decisions made in order to accommodate the goals of this book.

1. The book has a narrow focus as a project-oriented course on compilers. Compiler theory is kept to a minimum, but the project orientation retains the "fun" part of studying compilers.

2. The source language being compiled is relatively simple, but it is powerful enough to be interesting and challenging. It has basic data types, arrays, procedures, functions, and parameters, but it relegates many other interesting language features to the project exercises.

3. The target language is assembly language for a virtual machine with a stack-based architecture, similar to but much simpler than the Java Virtual Machine (JVM). This approach greatly simplifies code generation. Both an assembler and an emulator for the virtual machine are provided on the course web site.

4. No special compiler-related tools are required or used within the book. Students require access only to a Kotlin compiler and a text editor, but most students will want to use Kotlin with an Integrated Development Environment (IDE).

5. One very important component of a compiler is the parser, which verifies that a source program conforms to the language syntax and produces an intermediate representation of the program that is suitable for additional analysis and code generation. There are several different approaches to parsing, but in keeping with the focus on a one-semester course, this book emphasizes only one approach, recursive descent parsing with several lookahead tokens.

Number of Pages: 380
Dimensions: 0.78 x 9.25 x 7.5 IN
Publication Date: November 04, 2024

Made with care

Great value

Elegant design

Quality materials

Details

This product is crafted with quality materials to ensure durability and performance. Designed with your convenience in mind, it seamlessly fits into your everyday life.

Shipping & Returns

We strive to process and ship all orders in a timely manner, working diligently to ensure that your items are on their way to you as soon as possible.

We are committed to ensuring a positive shopping experience for all our customers. If for any reason you wish to return an item, we invite you to reach out to our team for assistance, and we will evaluate every return request with care and consideration.

Play video

Shop The Full Collection

" Elegant LED Light Ring Box: Perfect for Engagement & Wedding Gifts - Keep Your Jewelry Safe & Secure! & Secure!"

" I Love Biking" Ornament

" I Love Biking" Ornament

Sale price  $7.99 Regular price $8.95

"12" Children's Short Stories - Paperback

"27": How it's going so Far... - Paperback