Login
7 branches 0 tags
Ben (X13/Void) Added day16 AoC Test c107bf8 4 years ago 305 Commits
nujel / lib / type / symbol.h
#pragma once
#include "../nujel.h"

#define lGetSymbol(v) (((v == NULL) || (v->type != ltSymbol)) ? symNull : v->vSymbol)

lVal     *lValSymS     (const lSymbol *s);
lVal     *lValSym      (const char *s);

bool      lSymVariadic (const lSymbol *s);
bool      lSymKeyword  (const lSymbol *s);

lVal     *lSymbolSearch(const char *s, uint len);