Right, I'm committing this session because I'm too cold and tired to go on.
It does not at present build (and it's going to take a good bit more work before it does).
This commit is contained in:
parent
f05d1af9d6
commit
6148d3699f
32 changed files with 364 additions and 309 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
#include "memory/pointer.h"
|
||||
#include "memory/pso4.h"
|
||||
|
||||
#define CONS_SIZE_CLASS 2
|
||||
|
||||
|
|
@ -28,10 +29,12 @@ struct cons_payload {
|
|||
|
||||
struct pso_pointer c_car( struct pso_pointer cons );
|
||||
|
||||
struct pso_pointer c_cdr( struct pso_pointer cons );
|
||||
struct pso_pointer c_cdr( struct pso4 *stack_pointer,
|
||||
struct pso_pointer cons );
|
||||
|
||||
// todo: issue #21: must have stack frame passed in.
|
||||
struct pso_pointer make_cons( struct pso_pointer car, struct pso_pointer cdr );
|
||||
struct pso_pointer make_cons( struct pso4 *stack_pointer,
|
||||
struct pso_pointer car, struct pso_pointer cdr );
|
||||
|
||||
struct pso_pointer destroy_cons( struct pso_pointer fp,
|
||||
struct pso_pointer env );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue