August 2024
Intermediate to advanced
792 pages
22h 45m
English

In this chapter, you’ll add a new type: long. This is a signed integer type, just like int; the only difference between the two types is the range of values they hold. You’ll also add an explicit cast operation, which converts a value to a different type.
Because long is so similar to the int type we already support, we won’t need to add many new assembly or TACKY instructions or implement complicated type casting logic. Instead, we’ll focus on laying the groundwork we’ll need for the rest of Part II. We’ll ...
Read now
Unlock full access