You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
550 B
32 lines
550 B
10 years ago
|
#pragma once
|
||
|
|
||
|
/**
|
||
|
Ye Olde Control Structures
|
||
|
*/
|
||
|
|
||
|
#include "loops.h"
|
||
|
|
||
|
#define whilst(what) while((what))
|
||
|
#define when(what) if((what))
|
||
|
#define otherwise else
|
||
|
#define commence {
|
||
|
#define then {
|
||
|
#define cease }
|
||
|
#define choose(what) switch((what))
|
||
|
#define option case
|
||
|
#define shatter break
|
||
|
#define replay continue
|
||
|
#define equals ==
|
||
|
#define is ==
|
||
|
#define be =
|
||
|
#define over >
|
||
|
#define above >
|
||
|
#define under <
|
||
|
#define below <
|
||
|
#define let /**/
|
||
|
#define raise(what) (what)++
|
||
|
|
||
|
#define number int
|
||
|
|
||
|
#warning "This is a joke. Do not use YeOlde.h in serious code!"
|