诛仙修罗帝君在哪:13种最为荒谬的编程语言 - CSDN.NET - CSDN软件研发频道
来源:百度文库 编辑:九乡新闻网 时间:2024/04/30 11:29:28
13种最为荒谬的编程语言
2011-04-11 09:43 | 1239次阅读 | 来源:开源中国社区 【已有6条评论】发表评论
关键词:编程语言 | 作者:红薯 | 收藏这篇资讯
导读:这是一个娱乐贴,不要去问这些编程语言到底有没有什么实用价值,可以让我们感叹一下神奇和开发者独特的思维,这就是实用价值(没翻译全,看看示例代码就行了)。
1. Lolcode
LOLCODE是一种建立在高度缩写的网络英语之上的编程语言,一般来说如果一个人能理解这种网络英语就能在未经训练的情况下读懂LOLCODE程序源代码。
“Hello World” example: HAI CAN HAS STDIO? VISIBLE “HAI WORLD!” KTHXBYE
2. Befunge
Befunge 这门语言由Chris Pressey在1993年创造,本意为设计一种尽量难编译的语言……结果马上出现了一批编译器。
“Hello World” example:"dlroW olleH">:v
^,_@
3. Brainfuck
Brainfuck,是一种极小化的计算机语言,它是由Urban Müller在1993年创建的。由于fuck在英语中是脏话,这种语言有时被称为brainf*ck或brainf***,甚至被简称为BF。
“Hello World” example: ..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++
4. Chef
Chef 的目标是让写程序看起来像菜谱
“Hello World” example: Put cinnamon into 2nd mixing bowl
5. Piet
Piet 是一种可视化的编程语言,其代码本身就是可视化的,像个位图
“Hello World” example:
6. Shakespeare
Shakespeare 编程语言让程序看起来像莎士比亚的剧本。
“Hello World” example: [Enter Romeo and Juliet] [Exit Romeo] [Exeunt Romeo and Juliet] [Exeunt]
[Enter Juliet]
7. Whitespace
Whitespace 只考虑空格的排版,而完全置那些非空格字符于不顾。
A part of “Hello World” example:
8. INTERCAL
INTERCAL,是“Compiler Language With No Pronounceable Acronym”的缩写,itsatirizes aspects of the various programming languages at the time, aswell as the proliferation of proposed language constructs and notationsin the 1960s.
“Hello World” example: PLEASE DO ,1 SUB #1 <-#238 DO ,1 SUB #2 <-#108 DO ,1 SUB #3 <-#112 DO ,1 SUB #4 <-#0 DO ,1 SUB #5 <-#64 DO ,1 SUB #6 <-#194 DO ,1 SUB #7 <-#48 PLEASE DO ,1 SUB #8 <-#22 DO ,1 SUB #9 <-#248 DO ,1 SUB #10 <-#168 DO ,1 SUB #11 <-#24 DO ,1 SUB #12 <-#16 DO ,1 SUB #13 <-#162 PLEASE READ OUT ,1 PLEASE GIVE UP
DO ,1 <-#13
9. Malbolge
Malbolgeis a public domain esoteric programming language invented by BenOlmstead in 1998, named after the eighth circle of hell in Dante’s Inferno,the Malebolge. The peculiarity of Malbolge is that it was designed tobe the most difficult and esoteric programming language. However,several of the tricks used to make understanding it difficult can besimplified away.
“Hello World” example:
('&%:9]!~}z2Vxwv-,POqponl$Hjig%eB@@>}=
`CB]V?
Tx
uVtT`Rpo3NlF.Jh++FdbCBA@?]!~4XzyTT43Qsqq(Lnmkj"Fhg${z@
10. BIT
BITis a programming language in which the programmer has full access toall data in its essential machine representation. This is a powerfulprogramming tool, allowing manipulations of data that are convoluted in“higher-level” languages with various specialised functions thatoperate on more complicated and abstract data types.
A part of “Hello World” example: LINENUMBERZEROCODEPRINTZEROGOTOONELINENUMBERONECODEPRINTONEGOTOONEZEROLINENUMBE RONEZEROCODEPRINTZEROGOTOONEONELINENUMBERONEONECODEPRINTZEROGOTOONEZEROZEROLINE NUMBERONEZEROZEROCODEPRINTONEGOTOONEZEROONELINENUMBERONEZEROONECODEPRINTZEROGOT OONEONEZEROLINENUMBERONEONEZEROCODEPRINTZEROGOTOONEONEONELINENUMBERONEONEONECOD EPRINTZEROGOTOONEZEROZEROZEROLINENUMBERONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROZ EROONELINENUMBERONEZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROLINENUMBERONEZEROON EZEROCODEPRINTONEGOTOONEZEROONEONELINENUMBERONEZEROONEONECODEPRINTZEROGOTOONEON EZEROZEROLINENUMBERONEONEZEROZEROCODEPRINTZEROGOTOONEONEZEROONELINENUMBERONEONE ZEROONECODEPRINTONEGOTOONEONEONEZEROLINENUMBERONEONEONEZEROCODEPRINTZEROGOTOONE ONEONEONELINENUMBERONEONEONEONECODEPRINTONEGOTOONEZEROZEROZEROZEROLINENUMBERONE ZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROONELINENUMBERONEZEROZEROZEROONE CODEPRINTONEGOTOONEZEROZEROONEZEROLINENUMBERONEZEROZEROONEZEROCODEPRINTONEGOTOO
11. Ook!
Ook! is similar to Brainfuck, but uses the words “Ook!
“,“Ook.
” and “Ook?
” instead.
“Hello World” example: Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.
Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
12. ZOMBIE
ZOMBIE is a programming language designed for Necromancers,particularly evil ones. (Actually,what other sorts are there?) ZOMBIEis an acronym, and stands for Zombie-Oriented Machine-Being InterfaceEngine.
“Hello World” example: HelloWorld is a zombie summon task SayHello say"Hello World!" animate animate
13. HQ9+
HQ9+ is a joke language with four instructions:
H: Print “hello,world”
Q: Print the program’s source code
9: Print the lyrics to “99 Bottles of Beer”
+: Increment the accumulator
原文链接:http://www.oschina.net/news/17079/top-13-most-absurd-programming-languages