mirror of
https://github.com/kanaka/mal.git
synced 2024-09-20 01:57:09 +03:00
23 lines
437 B
C
23 lines
437 B
C
#ifndef _MAL_CORE_H
|
|
#define _MAL_CORE_H
|
|
|
|
#include "libs/hashmap/hashmap.h"
|
|
#include "types.h"
|
|
|
|
typedef struct ns_s ns;
|
|
|
|
struct ns_s {
|
|
|
|
hashmap mappings;
|
|
|
|
};
|
|
|
|
ns* ns_make_core();
|
|
MalType* as_str(list args, int readably, char* separator);
|
|
MalType* print(list args, int readably, char* separator);
|
|
char* get_fn(gptr data);
|
|
MalType* equal_lists(MalType* lst1, MalType* lst2);
|
|
MalType* equal_hashmaps(MalType* map1, MalType* map2);
|
|
|
|
#endif
|