Uniot Core
0.9.0
Loading...
Searching...
No Matches
LispHelper.h File Reference
#include <libminilisp.h>
#include <functional>
Include dependency graph for LispHelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uniot::Lisp
 Utility class for working with Lisp objects in C++. More...
 

Namespaces

namespace  uniot
 Contains all classes and functions related to the Uniot Core.
 
namespace  uniot::lisp
 Contains type definitions and utilities for interacting with the Lisp interpreter.
 

Macros

#define getPrimitiveName()
 Macro to get the current function name.
 
#define exportPrimitiveNameTo(name)
 Exports the current function name to a provided variable.
 

Typedefs

using uniot::lisp::Object = struct Obj *
 A pointer to a Lisp object structure.
 
using uniot::lisp::VarObject = struct Obj **
 A pointer to a pointer to a Lisp object structure.
 
using uniot::lisp::Root = void *
 A generic pointer representing the root of a Lisp environment.
 
enum class  uniot::LispStartReason { uniot::LispStartReason::Restored , uniot::LispStartReason::Received }
 Why a script started running. More...
 
enum class  uniot::LispStopReason { uniot::LispStopReason::Completed , uniot::LispStopReason::Replaced , uniot::LispStopReason::Cleared , uniot::LispStopReason::Failed }
 Why a script stopped running. More...
 
using uniot::LispStartHook = std::function<void(LispStartReason)>
 Called after the interpreter is built and before the script is evaluated.
 
using uniot::LispStopHook = std::function<void(LispStopReason)>
 Called before the interpreter is destroyed.