📜 ⬆️ ⬇️

D # is a programming language for Doge fans.

Good day, Habr. In my last article I wrote about the esoteric programming language ArnoldC.
This time it will be about a language based on a popular meme about a dog, a Shiba Inu breed, Doge.

image

So wow, much language, very programming


D # (DogeSharp) is a slightly modified version of the C # language. The changes affected only the syntax, replacing the standard structures with their own.

for example
image
')
The author himself assures that he himself does not understand what he is doing and he absolutely definitely cannot create programming languages.

image

A couple of examples of using D #:
many System much Program very Basic so void much static such x 1; x so 2; such y "test"; wow x; wow y; very FunctionCalls so void much static such x plz Math.Pow many 2 2; wow x; wow plz x.GetType; such y plz Convert.ToInt32 many x; wow so maths y + 1; very Constructors so void much static such rand gimme Random; such z so maths plz rand.Next + plz rand.Next + 1; wow z; such instance gimme MyType many 1 2; such result plz instance.Method; wow instance.data; wow result; very Overflow so void much static such max int.MaxValue; such overflow so maths max + 1; wow overflow; very Input so void much static such input plz Console.ReadLine; wow input; plz Console.ReadLine; very Main so void much static plz Basic; plz FunctionCalls; plz Constructors; plz Overflow; plz Input; 


 many System much MyClass very MyClass many int x much public data so x; such data so int much readonly much Program very Main so void much static such rand gimme Random; such x plz rand.Next; wow x; such instance gimme MyClass many 1; wow instance.data; 


This is actually all. You can read more about this language on the author's page .

Source: https://habr.com/ru/post/232217/


All Articles