I need to help extending the Charme interpreter and defining the null and null? primitives that behave similarly to the primitive Scheme procedures. I know I can use Python's None value to represent null.
This seems to be a homework question: http://www.cs.virginia.edu/~evans/cs1120-f09/ps/ps7/
A few pointers:
How is the empty list (aka null) represented as a Python value?
Which function is used to extend the environment?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.