Compiles and tests, but there are still major problems.

This commit is contained in:
Simon Brooke 2021-08-04 11:16:00 +01:00
parent 3f3b596ff0
commit 492460f37e
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
6 changed files with 81 additions and 23 deletions

View file

@ -28,18 +28,24 @@
#define HASHTAG "HASH"
#define HASHTV 0
#define hashmapp(conspoint)((check_tag(conspoint,HASHTAG)))
/*
* a namespace (i.e. a binding of names to values, implemented as a hashmap)
*/
#define NAMESPACETAG "NMSP"
#define NAMESPACETV 0
#define namespacep(conspoint)(check_tag(conspoint,NAMESPACETAG))
/*
* a vector of cons pointers.
*/
#define VECTORTAG "VECT"
#define VECTORTV 0
#define vectorp(conspoint)(check_tag(conspoint,VECTORTAG))
/**
* given a pointer to a vector space object, return the object.
*/