File LatinMacros.h

File List > engine > include > LatinMacros.h

Go to the documentation of this file

#ifndef LATINMACROS_H
#define LATINMACROS_H

/*
    Jim Marshall - 2025
    Macros to make the C programming language be in latin
*/

/* control flow */
#define si if
#define aliter else
#define vimen switch
#define casu case
#define defaltam default
#define dum while
#define fac do
#define enim for
#define interruptio break
#define perge continue
#define revenio return
#define ite goto

/* types */
#define duplex double 
#define supernato float
#define parvus short
#define longus long
#define coniunctio union
#define signati signed
#define insignitus unsigned
#define vacuum void

/* other */
#define volatilis volatile
#define staticus static
#define tabula register
#define magnitudinem sizeof

/* long forms of logic operators */
#define et &&
#define aut ||
#define non !

#endif