ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
_init.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void target_initialization (Environment *_environment)
void interleaved_instructions (Environment *_environment)

Variables

char OUTPUT_FILE_TYPE_AS_STRING [][16]

Function Documentation

◆ interleaved_instructions()

void interleaved_instructions ( Environment * _environment)

Definition at line 153 of file _init.c.

◆ target_initialization()

void target_initialization ( Environment * _environment)

Definition at line 43 of file _init.c.

Variable Documentation

◆ OUTPUT_FILE_TYPE_AS_STRING

char OUTPUT_FILE_TYPE_AS_STRING[][16]
extern

In technical terms, it's an array (or list) of constant strings. Each string represents the description of the generated format. This variable has three main purposes in the compiler workflow: the compiler uses this array to rename output files based on the source filename; òets the compiler know which output "stages" the user has requested; finally, before writing a file, the system checks whether the desired extension is one of the "managed" or supported types on the target architecture.

Definition at line 172 of file _infrastructure.c.