Writing a printList method for a Scheme interpreter in C
- by Rehan Rasool
I am new to C and working on making an interpreter for Scheme. I am trying to get a suitable printList method to traverse through the structure.
The program takes in an input like:
(a (b c))
and internally represent it as:
[""][ ][ ]--> [""][ ][/]
| |
["A"][/][/] [""][ ][ ]--> [""][ ][/]
…