├── README.md ├── LICENSE.md └── hcl.hpp /README.md: -------------------------------------------------------------------------------- 1 | # hitler-compatibility-layer 2 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /hcl.hpp: -------------------------------------------------------------------------------- 1 | // Hitler compatibility layer 2 | // Licensed under MIT License 3 | // https://github.com/cpp-haters/hitler-compatibility-layer 4 | 5 | #define OB if 6 | #define NOCH else 7 | #define ODER or 8 | #define NEIN not 9 | #define JA true 10 | #define WAHR true 11 | #define RICHTIG true 12 | #define FALSCH false 13 | #define FUR for 14 | #define KLASSE class 15 | #define STRUKTUR struct 16 | #define OFFENTLICHKEIT public 17 | #define GESCHUTZT protected 18 | #define GESICHERT protected 19 | #define PRIVAT private 20 | #define RUCKKEHR return 21 | #define BRECHEN break 22 | #define FALLE case 23 | #define STATISCH static 24 | #define FORTSETZEN continue 25 | #define FREUND friend 26 | #define DIESES this 27 | #define DIESER this 28 | #define DIESE this 29 | #define VORLAGE template 30 | #define MODELLNAME typename 31 | #define VERSUCHEN try 32 | #define WERFEN throw 33 | #define FANGEN catch 34 | #define NEU new 35 | #define LOSCHEN delete 36 | #define NAMENRAUM namespace 37 | #define BLEIBEND const 38 | #define NULL 0 39 | #define EINS 1 40 | #define ZWEI 2 41 | #define DREI 3 42 | #define VIER 4 43 | #define FUNF 5 44 | #define SECHS 6 45 | #define SIEBEN 7 46 | #define ACHT 8 47 | #define NEUN 9 48 | --------------------------------------------------------------------------------