hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
runtime.cpp File Reference
#include "runtime.h"
#include "runtime/hperf/hperf.h"
#include "runtime/memory/memory.h"
#include <cstdio>
#include <cstring>
Include dependency graph for runtime.cpp:

Go to the source code of this file.

Functions

int elysia_main (int argc, char *argv[])
 
YoiObjectArrayruntime_get_argv ()
 
void runtime_panic (char *message)
 
void * runtime_get_stdin_fp ()
 
void * runtime_get_stdout_fp ()
 
void * runtime_get_stderr_fp ()
 

Variables

const char ** yoi_argv {}
 
int yoi_argc {}
 

Function Documentation

◆ elysia_main()

int elysia_main ( int  argc,
char *  argv[] 
)

Definition at line 16 of file runtime.cpp.

References hperf_init(), hperf_report_filename, hperf_write_report(), YoiIntegerObject::value, yoi_argc, yoi_argv, yoi_build_type, yoi_desc, and yoimiya_entry().

Here is the call graph for this function:

◆ runtime_get_argv()

YoiObjectArray * runtime_get_argv ( )

Definition at line 60 of file runtime.cpp.

References YoiObjectArray::gc_refcount, runtime_object_alloc(), yoi_argc, and yoi_argv.

Here is the call graph for this function:

◆ runtime_get_stderr_fp()

void * runtime_get_stderr_fp ( )

Definition at line 85 of file runtime.cpp.

◆ runtime_get_stdin_fp()

void * runtime_get_stdin_fp ( )

Definition at line 77 of file runtime.cpp.

◆ runtime_get_stdout_fp()

void * runtime_get_stdout_fp ( )

Definition at line 81 of file runtime.cpp.

◆ runtime_panic()

void runtime_panic ( char *  message)

Definition at line 72 of file runtime.cpp.

Variable Documentation

◆ yoi_argc

int yoi_argc {}

Definition at line 14 of file runtime.cpp.

Referenced by elysia_main(), and runtime_get_argv().

◆ yoi_argv

const char** yoi_argv {}

Definition at line 13 of file runtime.cpp.

Referenced by elysia_main(), and runtime_get_argv().