Essentials of Compilation by Jeremy G. Siek
Author:Jeremy G. Siek
Language: eng
Format: epub
Publisher: MIT Press
5.5âRemove Complex Operands
The new language forms, get!, set!, begin, and while are all complex expressions. The subexpressions of set!, begin, and while are allowed to be complex. Figure 5.6 defines the output language of this pass.
Figure 5.6
is âWhile in monadic normal form.
As usual, when a complex expression appears in a grammar position that needs to be atomic, such as the argument of a primitive operator, we must introduce a temporary variable and bind it to the complex expression. This approach applies, unchanged, to handle the new language forms. For example, in the following code there are two begin expressions appearing as arguments to the + operator. The output of rco_exp is then shown, in which the begin expressions have been bound to temporary variables. Recall that let expressions in are allowed to have arbitrary expressions in their right-hand side expression, so it is fine to place begin there.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(7422)
Robo-Advisor with Python by Aki Ranin(7306)
Offensive Shellcode from Scratch by Rishalin Pillay(5943)
Ego Is the Enemy by Ryan Holiday(4890)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(4698)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4414)
Python for ArcGIS Pro by Silas Toms Bill Parker(4018)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3724)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3436)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3260)
Speed Up Your Python with Rust by Maxwell Flitton(3214)
Liar's Poker by Michael Lewis(3192)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3180)
Extreme DAX by Michiel Rozema & Henk Vlootman(3155)
Agile Security Operations by Hinne Hettema(3107)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3097)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3070)
Cryptography Algorithms by Massimo Bertaccini(2986)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2969)
