C based compiler for a lox language 15.1.2 Stack based vm Emulates the way computers are architected 15.2.1 Implement a stack Include it in the VM 15.2.2 Implement debug functionality for the VM stack Add push to the constant case instruction And pop while returning 15.3 Add arithematic operators to the vm Design docs Another possible imlplementation is register based vm They are much more efficient since we can directly load and store values instead of repeatedly pushing and popping 16 Here we start implementing the lexical part of the compiler We cahnge the siganture of interpret function to acept strings 16.1.2 Start implementation of scanner has fields start, current and line 16.2 Here we scan a token only when the compiler needs one Implement token type to contain the necessary values 16.3 Add enum to hold possible tokens And make the scanner return the appropriate token