A very long language name that is very weird and yeah, this is your but its this

From Esolang
Jump to navigation Jump to search

A very long language name that is very weird and yeah, this is your but its this is Your but every Your is replaced by A very long language name that is very weird and yeah, this is your but its this. Its acronym is AVLLNTIVWAYTIYBIT.

Examples

Hello World

A very long language name that is very weird and yeah, this is your but its this

Cat

A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this

R cat

A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this

Truth Machine

A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this

99 bottles of beer on the wall

A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this

Your interpreter

A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this A very long language name that is very weird and yeah, this is your but its this

Screamer

You’re

Implementation in HTML/CSS/Javascript

Note: I did some testing later on and

  • Cat and RCat require a newline after the input.
  • Using the unicode apostrophe used in this article for the You’re doesn't work sometimes (ASCII single quote (You're should always work). Specifically, when I run it from a .html file on my computer, it works, but when I convert it into base 64 and run it as a data URI, it doesn't.
  • The Your intepreter doesn't work at all (sorry!)
  • When you give 1 to the truth-machine, it demands you click a button to make the ones.
<!DOCTYPE html>
<!-- A very long language name that is very weird and yeah, this is your but its this -->
<!-- Implementation by BoundedBeans -->
<!--
    No offense intended, this is intentionally bad because the language's origin ("Your")
    is a joke about bad internet grammar, so I thought it fit to put bad web design in here too.
-->
<!--
    Also yes, you can absolutely inject arbitrary code into this
    (which is an intentional extension to the language that makes it Turing-complete).
-->
<html>
    <head>
        <script>
            var your=document.forms;
            var YOUR='main_form';
            var Your={
                YOUR:'code'
            };
            var You_re='input';
            function run() {
            Your['Your']=document.getElementById('code');
            Your['your']={};
            Your['your']['Your']=Your['Your'].value;
            Your['your']['Your']=Your['your']['Your'].split('\n');
            Your['your']['your']={}
            Your['your']['your']['YOUR']=document.getElementById('input').value
            Your['your']['YOUR']='';
            function runf(elem) { 
               // alert(elem)
            if (elem == '$') {Your['your']['YOUR']+='Hello, world!'}
            if (elem == '$$') {
                                                Your['your']['YOUR']= Your['your']['YOUR']+
                                                Your['your']['your']['YOUR']
                                                .substring(0, 
                                                Your['your']['your']['YOUR'].indexOf('\n') + 1);
                                                Your['your']['your']['YOUR']=
                                                Your['your']['your']['YOUR']
                                                .substring(Your['your']['your']['YOUR'].indexOf('\n') + 1);
                                            }

            if (elem == '$$$'){
                                                Your['your']['YOUR']+=
                                                Your['your']['your']['YOUR']
                                                .substring(0, 
                                                Your['your']['your']['YOUR']
                                                .indexOf('\n'))
                                                .split('').reverse().join('');
                                                Your['your']['YOUR']+='\n';
                                                Your['your']['your']['YOUR']=
                                                Your['your']['your']['YOUR']
                                                .substring(Your['your']['your']['YOUR']
                                                .indexOf('\n') + 1);
                                            }
            if (elem == '$$$$'){
                                                if (Your['your']['your']['YOUR'][0] === '0'){
                                                    Your['your']['YOUR']+='0\n';
                                                }
                                                else {
                                                    document.write('<!DOCTYPE html><html><body><h1 id="ones">click button urself</h1><button onclick="document.getElementById(\'ones\').innerHTML = document.getElementById(\'ones\').innerHTML + \'1\'">helo</button></body></html>')

                                                }
                                            }

                
            if (elem == '$$$$$'){
                                for (let i = 99; i > 0; i--) {
                                    Your['your']['YOUR']+=''+i+' bottles of beer on the wall\n'
                                    Your['your']['YOUR']+=''+i+' bottles of beer\n'
                                    Your['your']['YOUR']+='take one down, pass it around\n'
                                    Your['your']['YOUR']+=''+(i-1)+' bottles of beer on the wall\n\n'
                                }
                            }
            if (elem == '$$$$$$') {
                                eval('y(\''+(Your['your']['your']['YOUR']
                                .substring(0, 
                                Your['your']['your']['YOUR']
                                .indexOf('\n')))+'\')');
                                Your['your']['your']['YOUR']=
                                Your['your']['your']['YOUR']
                                .substring(Your['your']['your']['YOUR']
                                .indexOf('\n') + 1);
                            }
            if (elem == 'Y'){Your['your']['YOUR']+='THIS IS THE INTERNET!\n'}
            }
            
            Your['your']['Your'].forEach(
                elem => runf(elem.replace(/A very long language name that is very weird and yeah, this is your but its this ?/g, '$')
                .replace(/You['’]re/g, 'Y'))
            );
            document.getElementById('collection').innerHTML = 
            document.getElementById('collection').innerHTML +
                '<tr><td style="border-style: dotted; border-color: maroon; border-width: 10px;"">' + Your['your']['Your'].join('') + '</td><td style="border-style: dotted; border-color: maroon; border-width: 10px;">' + Your['your']['YOUR'] + '</td></tr>';
                
            }
        </script>
    </head>
    <body style="background-color: magenta;">
        <div style="background-color: olive; 
            border-width: 1cm;
            border-color: rgb(106, 23, 87);
            border-style: dashed">
            <h1 style="font-family: cursive; 
                       color: tomato; 
                       border-style: ridge;">
                       A very long language name that is very weird and yeah, this is your but its this
            </h1>
        </div>
        <button onclick="run()">run Code</button>
        <h1>input code hear</h1>
        <textarea id="code" style="width:250px;height:150px;"></textarea>
        <h1>code input hear</h1>
        <textarea id="input" style="width:250px;height:150px;"></textarea>
        <h1>program colection</h1>
        <table id="collection" style="background-color: black; color:lawngreen;font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;border-style: inset;border-color:coral;border-width: 1cm">
            <tr>
                <th>progam</th>
                <th>ouptut</th>
            </tr>
        </table>
    </body>
</html>

See also