Lhogho  0.0.028
 All Data Structures Files Functions Variables Typedefs Macros Pages
translate_gr.h File Reference

Go to the source code of this file.

Macros

#define TR_LHOGHO_CAPTION
 Lhogho welcome message. More...
 
#define ADVANCED_OPTIONS   "Unsupported options:\n"
 text describing the advanced options More...
 
#define TR_OPTION_HELP
 message to appear for -h and –help option More...
 
#define TR_PRIMITIVES
 translations of primitives More...
 

Error messages

#define TR_ERROR_INCOMPLETE_PAIR   TEXT("The other counterpart is missing")
 
#define TR_ERROR_EMPTY_EXPRESSION   TEXT("Empty expression")
 
#define TR_ERROR_CROWDED_EXPRESSION   TEXT("Crowded expression")
 
#define TR_ERROR_MISSING_LEFTS   TEXT("Some left inputs are missing")
 
#define TR_ERROR_MISSING_RIGHTS   TEXT("Some right inputs are missing")
 
#define TR_ERROR_EMPTY_TO_END   TEXT("Empty TO..END definition")
 
#define TR_ERROR_MISSING_NAME   TEXT("Missing name of a TO..END definition")
 
#define TR_ERROR_DUPLICATE_INPUT   TEXT("Duplicate name of input")
 
#define TR_ERROR_UNKNOWN_OPTION   TEXT("Unknown option")
 
#define TR_ERROR_CROWDED_SOURCES   TEXT("Two or more input source files")
 
#define TR_ERROR_OS_ERROR   TEXT("OS Error")
 
#define TR_ERROR_INCOMPATIBLE_REDEFINITION   TEXT("Incompatible TO..END redefinition")
 
#define TR_ERROR_NOT_A_NUMBER   TEXT("Not a number")
 
#define TR_ERROR_UNUSED_VALUE   TEXT("Unused value")
 
#define TR_ERROR_MISSING_VALUE   TEXT("Missing value")
 
#define TR_ERROR_DO_NOT_KNOW   TEXT("Do not know how to do this")
 
#define TR_ERROR_UNKNOWN_VAR   TEXT("Reference to unknown variable")
 
#define TR_ERROR_BOOLEAN_EXPECTED   TEXT("Boolean expression expected")
 
#define TR_ERROR_NOT_AN_INTEGER   TEXT("Not an integer number")
 
#define TR_ERROR_NOT_A_LIST   TEXT("Not a list")
 
#define TR_ERROR_NOT_A_WORD   TEXT("Not a word")
 
#define TR_ERROR_INCOMPATIBLE_DATA   TEXT("Value not compatible with function requirements")
 
#define TR_ERROR_TOO_BIG_NUMBER   TEXT("Numeric value is too big")
 
#define TR_ERROR_TOO_SMALL_NUMBER   TEXT("Numeric value is too small")
 
#define TR_ERROR_NOT_A_VAR   TEXT("Not a variable")
 
#define TR_EXIT_BY_BYE   TEXT("Bye")
 
#define TR_EXIT_BY_THROW_TOPLEVEL   TEXT("Thrown to toplevel")
 
#define TR_EXIT_BY_THROW_SYSTEM   TEXT("Thrown to system")
 
#define TR_EXIT_BY_THROW_ERROR   TEXT("Thrown by error")
 
#define TR_EXIT_BY_THROW_USER_ERROR   TEXT("Thrown by error")
 
#define TR_EXIT_BY_THROW_TAG   TEXT("Uncatched throw")
 
#define TR_EXIT_BY_THROW_TAG_VALUE   TEXT("Uncatched throw")
 
#define TR_ERROR_NOT_A_TAG   TEXT("Not a tag")
 
#define TR_ERROR_NOT_A_USER_FUNCTION   TEXT("Not a user-defined function")
 
#define TR_ERROR_VAR_HAS_NO_VALUE   TEXT("Variable has no value")
 
#define TR_ERROR_NOT_A_FUNCTION   TEXT("Not a command or a function")
 
#define TR_ERROR_NOT_A_LIST_CONST   TEXT("Not a list constant")
 
#define TR_ERROR_NOT_A_WORD_CONST   TEXT("Not a word constant")
 
#define TR_ERROR_MISSING_FOR_LIMITS   TEXT("Missing initial or final limit")
 
#define TR_ERROR_NOT_A_TYPE_NAME   TEXT("Not a name of a supported type")
 
#define TR_ERROR_BAD_PROTOTYPE   TEXT("Not a valid function prototype")
 
#define TR_ERROR_NOT_A_MEM   TEXT("Not a memory block or packed data")
 
#define TR_ERROR_OUT_OF_MEM   TEXT("Out of memory")
 

Macro Definition Documentation

#define TR_LHOGHO_CAPTION
Value:
TEXT("LHOGHO - The LOGO Compiler [" \
OS_NAME "-" PROCESSOR_NAME "(En), " \
__DATE__ "]\n" \
"\n")

Definition at line 40 of file translate_gr.h.

#define ADVANCED_OPTIONS   "Unsupported options:\n"

Definition at line 55 of file translate_gr.h.

#define TR_OPTION_HELP
Value:
TEXT( \
"Usage:\n" \
" lhogho [option] [option] ... filename [arguments]\n" \
"\n" \
"Options:\n" \
" -h --help print this help message\n" \
" -x --executable create executable file\n" \
" -xc --executable-compiler embed Lhogho in executable file\n" \
" -ci --case-insensitive switch to case-insentivie mode\n" \
" -t --traditional switch to traditional mode\n" \
"\n" \
" -Za --Zassembler dump assembler code\n" \
" -Zm --Zmemory dump memory statistics\n" \
" -Zmad --Zmemory-all-details dump detailed memory statistics\n" \
" -Zrt --Zrun-time dump runtime evaluations\n" \
" -Zt --Ztree dump abstract syntax trees\n" \
" -Zv --Zvariables dump variables\n" \
" -Zuv --Zuser-variables dump user variables\n" \
"" )

Definition at line 65 of file translate_gr.h.

#define TR_PRIMITIVES

Definition at line 93 of file translate_gr.h.

#define TR_ERROR_INCOMPLETE_PAIR   TEXT("The other counterpart is missing")

Definition at line 136 of file translate_gr.h.

#define TR_ERROR_EMPTY_EXPRESSION   TEXT("Empty expression")

Definition at line 137 of file translate_gr.h.

#define TR_ERROR_CROWDED_EXPRESSION   TEXT("Crowded expression")

Definition at line 138 of file translate_gr.h.

#define TR_ERROR_MISSING_LEFTS   TEXT("Some left inputs are missing")

Definition at line 139 of file translate_gr.h.

#define TR_ERROR_MISSING_RIGHTS   TEXT("Some right inputs are missing")

Definition at line 140 of file translate_gr.h.

#define TR_ERROR_EMPTY_TO_END   TEXT("Empty TO..END definition")

Definition at line 141 of file translate_gr.h.

#define TR_ERROR_MISSING_NAME   TEXT("Missing name of a TO..END definition")

Definition at line 142 of file translate_gr.h.

#define TR_ERROR_DUPLICATE_INPUT   TEXT("Duplicate name of input")

Definition at line 143 of file translate_gr.h.

#define TR_ERROR_UNKNOWN_OPTION   TEXT("Unknown option")

Definition at line 144 of file translate_gr.h.

#define TR_ERROR_CROWDED_SOURCES   TEXT("Two or more input source files")

Definition at line 145 of file translate_gr.h.

#define TR_ERROR_OS_ERROR   TEXT("OS Error")

Definition at line 146 of file translate_gr.h.

#define TR_ERROR_INCOMPATIBLE_REDEFINITION   TEXT("Incompatible TO..END redefinition")

Definition at line 147 of file translate_gr.h.

#define TR_ERROR_NOT_A_NUMBER   TEXT("Not a number")

Definition at line 148 of file translate_gr.h.

#define TR_ERROR_UNUSED_VALUE   TEXT("Unused value")

Definition at line 149 of file translate_gr.h.

#define TR_ERROR_MISSING_VALUE   TEXT("Missing value")

Definition at line 150 of file translate_gr.h.

#define TR_ERROR_DO_NOT_KNOW   TEXT("Do not know how to do this")

Definition at line 151 of file translate_gr.h.

#define TR_ERROR_UNKNOWN_VAR   TEXT("Reference to unknown variable")

Definition at line 152 of file translate_gr.h.

#define TR_ERROR_BOOLEAN_EXPECTED   TEXT("Boolean expression expected")

Definition at line 153 of file translate_gr.h.

#define TR_ERROR_NOT_AN_INTEGER   TEXT("Not an integer number")

Definition at line 154 of file translate_gr.h.

#define TR_ERROR_NOT_A_LIST   TEXT("Not a list")

Definition at line 155 of file translate_gr.h.

#define TR_ERROR_NOT_A_WORD   TEXT("Not a word")

Definition at line 156 of file translate_gr.h.

#define TR_ERROR_INCOMPATIBLE_DATA   TEXT("Value not compatible with function requirements")

Definition at line 157 of file translate_gr.h.

#define TR_ERROR_TOO_BIG_NUMBER   TEXT("Numeric value is too big")

Definition at line 158 of file translate_gr.h.

#define TR_ERROR_TOO_SMALL_NUMBER   TEXT("Numeric value is too small")

Definition at line 159 of file translate_gr.h.

#define TR_ERROR_NOT_A_VAR   TEXT("Not a variable")

Definition at line 160 of file translate_gr.h.

#define TR_EXIT_BY_BYE   TEXT("Bye")

Definition at line 161 of file translate_gr.h.

#define TR_EXIT_BY_THROW_TOPLEVEL   TEXT("Thrown to toplevel")

Definition at line 162 of file translate_gr.h.

#define TR_EXIT_BY_THROW_SYSTEM   TEXT("Thrown to system")

Definition at line 163 of file translate_gr.h.

#define TR_EXIT_BY_THROW_ERROR   TEXT("Thrown by error")

Definition at line 164 of file translate_gr.h.

#define TR_EXIT_BY_THROW_USER_ERROR   TEXT("Thrown by error")

Definition at line 165 of file translate_gr.h.

#define TR_EXIT_BY_THROW_TAG   TEXT("Uncatched throw")

Definition at line 166 of file translate_gr.h.

#define TR_EXIT_BY_THROW_TAG_VALUE   TEXT("Uncatched throw")

Definition at line 167 of file translate_gr.h.

#define TR_ERROR_NOT_A_TAG   TEXT("Not a tag")

Definition at line 168 of file translate_gr.h.

#define TR_ERROR_NOT_A_USER_FUNCTION   TEXT("Not a user-defined function")

Definition at line 169 of file translate_gr.h.

#define TR_ERROR_VAR_HAS_NO_VALUE   TEXT("Variable has no value")

Definition at line 170 of file translate_gr.h.

#define TR_ERROR_NOT_A_FUNCTION   TEXT("Not a command or a function")

Definition at line 171 of file translate_gr.h.

#define TR_ERROR_NOT_A_LIST_CONST   TEXT("Not a list constant")

Definition at line 172 of file translate_gr.h.

#define TR_ERROR_NOT_A_WORD_CONST   TEXT("Not a word constant")

Definition at line 173 of file translate_gr.h.

#define TR_ERROR_MISSING_FOR_LIMITS   TEXT("Missing initial or final limit")

Definition at line 174 of file translate_gr.h.

#define TR_ERROR_NOT_A_TYPE_NAME   TEXT("Not a name of a supported type")

Definition at line 175 of file translate_gr.h.

#define TR_ERROR_BAD_PROTOTYPE   TEXT("Not a valid function prototype")

Definition at line 176 of file translate_gr.h.

#define TR_ERROR_NOT_A_MEM   TEXT("Not a memory block or packed data")

Definition at line 177 of file translate_gr.h.

#define TR_ERROR_OUT_OF_MEM   TEXT("Out of memory")

Definition at line 178 of file translate_gr.h.


[ HOME | INDEX | ATOMS | VARS | REFERENCE ]
Lhogho Developer's Documentation
Wed Jul 10 2013