Prepare your ~ATH file:
"Dig Your Grave"
~ATH(THIS) { // additional graves... } EXECUTE(NULL); THIS.DIE();
A bone to pick!
~ATH is an insufferable language to work with. Its logic is composed of nothing but infinite loops, or at best, loops of effectively interminable construction. The code sample above documents the simplest possible ~ATH code structure. Any code deviating from this basic structure will not compile.
Tip:
(We accept no liability for any viruses, curses, or explosions which may befall the user or their devices)
~ATH
The ~ATH statement introduces a loop that terminates only when the concept it is bound to dies.THIS
THIS refers to the program itself. In the sample structure above, the program's execution is tautologically bound to its own lifetime.EXECUTE
The EXECUTE statement executes whatever program is tied to it. In the simple structure documented above, it does nothing (NULL). Unfortunately, an EXECUTE may only be placed after a ~ATH loop.By modifying the code as shown below, the EXECUTE function can be used to execute example_file.~ATH.
~ATH(THIS) {} EXECUTE(example_file.~ATH); THIS.DIE();
DIE
The DIE method takes no arguments. It can be used to cease programs, as well as subroutines or individual loops within a program.To stop something, it is formatted as X.DIE(); where X is the name of the loop or subroutine to be stopped. 'THIS' may be used as X to halt the entire program. THIS.DIE() is mandatory at the end of each program, even ones which are trivially non-halting.