in , , , ,

The professor wanted us to write an interpreter. I still have no idea how I passed with this. I give you: The Tourette’s Interpreter!

The professor wanted us to write an interpreter. I still have no idea how I passed with this. I give you: The Tourette's Interpreter! | html-memes, forms-memes, dictionary-memes, c-memes, IT-memes, rds-memes, idea-memes, ide-memes, bot-memes, ML-memes, graph-memes, notepad-memes | ProgrammerHumor.io
html-memes, forms-memes, dictionary-memes, c-memes, IT-memes, rds-memes, idea-memes, ide-memes, bot-memes, ML-memes, graph-memes, notepad-memes | ProgrammerHumor.io

[text] a inputtxt Notepad o Fie Edt Fomat View Help dick Section balls crap This is a paragraph. You can get fuck bold shit text ass italic shit text and whore underline dick text. tits pussy How it works tits crap You have an ass input file shit an ass output file dick a ass dictionary file balls and a ass trigger file. tits If you want to type a reserved word use the e character dick pussy and crap for example. shit crap The input and output files are self explanatory. The dictionary file tells what words will be converted to what HTML tag. The purpose of the trigger file is to spit out end tags without getting too repetative. dick pussy Example dick crap Say you have this input normal fuck bold ass bolditalic whore bolditalicunderline shit dick balls Then the rendered HTML will look like this normal fuck bold ass bolditalic whore bolditalicunderline shit dick balls The end tags are stored when the interpreter recognizes a keyword. If fuck is written then the prebpre is stored. If ass is written before the prebpre end tag is triggered then both prei and bpre is stored. If two of the trigger words are written the both end tags are returned respectively. So fuck ass shit dick becomes prebiibpre. shit dictionarytxt Notepad oB8 W Tourettes Interpreter Fle EdtFomatView Hep dick n1 htal head 2 C A DfleyCusers X0 OB B A i pussy h2 titleTourettes Interpretertitle head b body Section Fuck b h1Sectionh1 i ass 1 pThis 1s a paragraph. You can get bsboldb text This is a paragraph. You can get bold text ialic text and underiine text. whore isitalicei text and usunderline ustext.p h2How it worksh2 How it works pYou have an iinput file1 an isoutput file ia idictionary file1 and a itrigger file.i If you Youhave an input file an outpu file a ictionary file and a trigger file. I you want to want to type a reserved word use the character dick type a reserved word use the character dick pussy and crap foc e pussy and crap for example.p psThe input and output Files are self explanatory. The The input and output fles are self explanatory. The dictionary fle tels what words will be Hictionary file tells what words will be converted to what converted to what HTML tag. The purpose of the trigger file is to spit out end tags without 3 tiggerstx TML tag. The purpose of the trigger file is to spit out getting too repetative. Fle Ed. Forms Fomie nd tags without getting too repetative. p3 shit s Example s e n2Example h2 p balls ok i Eh ot s b 5 e e Dictionoey File PSay you have this inputinormal fuck bold ass bold Say you have tis input normal fck bold ass bolditali whore bolditalicunderline shit dick ltalic whore bolditalicunderline shit dick ballsThen the endered HTML will look like thisnormal bbold ibold jtalic wbolditalicunderlineu ibThe end tags pre stored when the interpreter recognizes a keyword. If uck is written then the 1tbggt is stored. If ass is ritten before the 1tbigt end tag is triggered then h 1tigt and 1tbAgt is stored. If two of the rigger words are written the both end tags are returned respectively. So fuck ass shit dick becomes 1tbagtaltilgtalti8gtaltbagt.p balls The the rendered HTML will look like this normal bold boldtalic bolditalic underline The end tags are stored when the interpreter recognizes a keyword. Iffick is written then the b i stored. If ass is witten before the b end tag i triggered then both i and b s stored. If two of the rigger words are written the both end tags are retumed respectively. So fuck ass shit dick becomes biib. Trigger file. body html