/AddressLang

Esolang similar with Internet address

Primary LanguagePythonMIT LicenseMIT

AddressLang

Esolang similar with Internet address!

How to code AddressLang?

AddressLang is looks like strange Internet address.

Init

(http or https) :// (Your program name, author, etc..) /
ex) https://HelloWorld.Steve28.com/

http : Pass the unknown letter.
https : Strict check. If unknown letter detected, then raise CompileError.

Code

Code Blocks are divided by / keyword.

Commands : Plus, Minus, Left, Right, Print, Input, Jump

Plus ~ Input has same logic in BrainF**k, + - > < . ,.
Jump command saves value of memory that pointer points, and jump (saved memory + 1) th block at the code block ends.


Alphabet a = Plus, b = Minus, c = Left, d = Right, e = Print, f = Input, g = Jump, h is Plus again, and go on.
Capital Letters are replaced by Lower Letters.

Code Example

Print Hello, World!

(Deobfuscated version)
https://helloworld.steve28.com/acaaaaaaaaaa/caaaaaaa/caaaaaaaaaa/caaaa/caaa/ddddb.dgc/caaec/aeaaaaaaaeeaaae/caaaae/caae/dddaaaaaaaaaaaaaaae/ceaaaebbbbbbe/bbbbbbbbe/ccae

(Obfuscated version!!)
https://HelloWorld.Steve28.com/ajhahahahaha/qhavahoo/xvavvvaaavv/xahha/xhoa/krydw.duq/qvozx/azavhhvaoesahae/jahave/cval/drkahahahahahahahaz/qehaolpwibwbe/piwipiwis/qxae