Closed robert-strandh closed 4 years ago
I defined the primop, the AST class, and the instruction class. I also defined methods on CST-TO-AST, and COMPILE-AST.
I ended up calling the operator STANDARD-OBJECT-CLASS-OF to emphasize that it can handle only standard objects.
We would like to implement CLASS-OF as something like:
For that, we need a primop, an AST class, and a HIR instruction for returning the class of a standard object.