A computer-implemented method for compiling ASL (ACPI Source Language)
code into AML (ACPI machine language) code. The method includes accessing
an ASL program. A preprocessor is executed to process the ASL program and
to insert support for at least one non-native programming construct. The
ASL program is then processed using an ASL compiler to compile the ASL
program into a resulting AML program.