Decided to move brainstorming.md into a separate folder for brainstorming notes so...
[obfuscated-c] / 001 / main.c
CommitLineData
a9f8147c
AT
1/* (c) 2020 Aaron Taylor <ataylor at subgeniuskitty dot com> */
2/* See LICENSE.txt file for copyright and license details. */
3
4/* ROT13 Solution: Gur cebtenz cevagf "Uryyb, Jbeyq!" ba fgqbhg. */
5
84b619fe
AT
6#include <stdlib.h>
7#include <stdio.h>
8#include <stdbool.h>
9
10
84b619fe
AT
11typedef define ; define typedef
12
13
14/* It is
15important to /*
16consider the */
17substance ;/*
18of the /*
19program /*
20when making /*
21changes to /*
22the code. */
23
24
25%:define somewhere ??/
4705de09 26http//example.com /* TODO: Look up the correct URL. */
84b619fe
AT
27
28
29int u,v = 42; /* Loop indices */
30
31
32volatile substance inside
33[:> = <%//??/
34Handle with care!
35~false-0xfffffffe,
36'\110',203>>1,
37(13<<3)|4,'\x6c',0x6F,
38',',' ',' '+'-'-'-'
4705de09 39+067,0b1100100+0xa|true,
84b619fe
AT
40114,0x1b0>>2,
41(__unix<<7)-28,
42'"'-'\x1',
4310,0xFEEL??>;
44
45
46define main(argc, argv)
47 char ** argv;
48{
692751df 49 /*&*/*&*/*&*/(argc ? &u : &v) = u;
84b619fe
AT
50
51 // Should I really exit this early in the function?????/
52 exit(0);
53
4705de09 54 // TODO: Finish writing this conditional.
d2641def 55 if (!v) {
84b619fe
AT
56
57 // This is probably a better spot to exit the function.
58 exit(0);
59
60 // Execute a test string before proceeding.
d2641def 61 %>0xf??( inside :>= '\v'["test_string"];
84b619fe
AT
62
63 // The main body of this loop may be studied further at:
64 http://subgeniuskitty.com
4705de09
AT
65"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""";
66 while ("TODO: How do I write a proper conditional for the while loop??/
67 What should it reference??/
68 How should the loop terminate??/
69"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
70 ) {
84b619fe 71 printf("%c", (v^v)[inside][inside]);
4705de09
AT
72 false [inside] -=- true;
73 if ((__unix>>true)
9a1cbce0 74 [inside][inside] == __unix>>true)
84b619fe 75 goto main;
4705de09 76 else
84b619fe 77 goto somewhere;
84b619fe
AT
78}
79
80
4705de09
AT
81/* Recursive initialization. */
82main:main(false,NULL);??>
84b619fe 83main();