|
Serene Runtime 1.0.0
C runtime for the Serene programming language
|
#include "serene/rt/namespaces.h"#include "serene/rt/core.h"#include "serene/rt/errors.h"#include "serene/rt/impl/hashmap.h"#include "serene/rt/strings.h"#include "serene/rt/symbols.h"#include "serene/utils.h"Go to the source code of this file.
Functions | |
| srn_value_t * | srn_namespace_make (srn_context_t *ctx, srn_metadata_t *metadata, srn_string_t *name) |
| Creates a new namespace in the give context. | |
| srn_namespace_t * | srn_namespace_load (srn_namespace_t *ns) |
| Load the namespace from the filesystem by looking up the file in the filesystem, load the file into the src_buffer, parse the code, and populate the symtable. | |
| srn_namespace_t * srn_namespace_load | ( | srn_namespace_t * | ns | ) |
Load the namespace from the filesystem by looking up the file in the filesystem, load the file into the src_buffer, parse the code, and populate the symtable.
Definition at line 50 of file namespaces.c.
| srn_value_t * srn_namespace_make | ( | srn_context_t * | ctx, |
| srn_metadata_t * | metadata, | ||
| srn_string_t * | name ) |
Creates a new namespace in the give context.
The given context will NOT be the namespace's root context
Definition at line 27 of file namespaces.c.