Arch 最棒
Arch 最棒 是一个非常复杂和精致,令人自我膨胀和叹为观止(虽然可能有点过度工程)的项目,证明了 Arch 的优越性。
历史
这个富有远见的项目最初由 Arch 社区的长期成员 lucke 在 2008 年 4 月构思,作为一个简单的 shell 脚本,它提供了无可辩驳的证据,证明 “Arch 最棒”。它通过一篇 论坛帖子 向世界宣布,从而启发了其他人的思想,他们立即开始将其移植到多种不同的语言,包括编程语言和口头语言,以便地球上的每个人都能充分欣赏并受益于这项革命性的发现。
代码
“Arch 最棒” 项目已被移植到多种编程语言。
- 1C:Enterprise
- 一种过程式、特定领域、编译型、动态类型编程语言,主要类似于 VisualBasic,用于在俄罗斯和其他独联体国家广泛使用的 “1C:Enterprise” 产品中。
Предупреждение("Arch is the best!");
- ABAP
- 高级业务应用程序编程语言。
REPORT zwhat_is_the_best. WRITE 'Arch is the best'.
- Ada
- 一种系统关键型编程语言。
with Ada.Text_IO;
use Ada.Text_IO;
procedure ArchIsTheBest is
begin
Put_Line("Arch is the best!");
end ArchIsTheBest;
- Agda
- 一种依赖类型编程语言和证明助手。
open import IO main = run (putStrLn "Arch is the best!")
- APL
- 一种编程语言。
'Arch is the best!'
- AppleScript
- 一种由苹果公司创建的脚本语言,自 System 7 起内置于 Classic Mac OS,并内置于所有版本的 macOS 中。
display alert "Arch is the best!" say "Indeed, Arch is the best."
- ArnoldC
- 基于阿诺德·施瓦辛格的经典台词的编程语言。
IT'S SHOWTIME TALK TO THE HAND "Arch is the best!" YOU HAVE BEEN TERMINATED
- ATS
- 一种函数式编程语言,它使用依赖类型来提高程序的可靠性。
implement main () = println! "Arch is the best!"
- Awk
- 一种数据驱动的编程语言,旨在处理基于文本的数据。
BEGIN {
print "Arch is the best!"
}
- BASIC
- 一种脚本语言,在 1960 年代是最常用的计算机编程语言之一,被认为是学生在学习更强大的语言(如 FORTRAN)之前容易学习的一步。
10 PRINT "Arch is the best!"
- Batch
- 一种用于 Windows 的脚本语言,可用于自动化任务或仅仅为了娱乐。
@echo off echo Arch is the best! pause
- Befunge
- 据信是第一个二维、基于 ASCII、通用(在“你可以合理地用它编写 Hunt the Wumpus”的意义上)编程语言。
<v"Arch is the best!"0 <,_@#:
- BIRL
- 类似于 ArnoldC,但用于 Bambam[1]。
HORA DO SHOW
CE QUER VER ESSA PORRA? ("Arch is the best!\n");
BORA CUMPADE 0;
BIRL
- Boo
- 一种为 .NET 和 Mono 建立的面向对象静态类型编程语言,具有受 python 启发的语法,并特别关注通过语言和编译器可扩展性功能(如宏和自定义编译管道)进行元编程。
print "Arch is the best!"
- Boolfuck
- 一种基于 brainfuck 的图灵焦油坑,但仅在位上操作。
+;+;;;;;+;+; ;+;+;;+;;;+; +;;+;;;+;;+; ;;;+;+;+;;+; ;;;;;+;+;; +;+;;+;+;+;;+; +;;+;;+;;;+; ;;;;;+;+;; ;;+;+;+;;;+; ;;;+;+;+;;+; +;+;+;+;;+;;+; ;;;;;+;+;; ;+;+;;;+;;+; +;+;+;+;;+;;+; +;;+;;+;;;+; ;;+;+;+;;;+; +;+;;;;+;+;;
- Bourne shell
- 原始程序,应与任何 shell 兼容。
#!/bin/sh echo "Arch is the best!"
- Bourne shell (替代)
- 方便将输出通过管道传输到您最喜欢的 IRC/电子邮件/IM 客户端。应与任何 shell 一起使用。
#!/bin/sh yes Arch is the best!
- brainfuck
- 语言名称还不能解释它吗?
++>++++++>+++++<+[>[->+<]<->++++++++++<]>>.<[-]>[-<++>] <----------------.---------------.+++++.<+++[-<++++++++++>]<. >>+.++++++++++.<<.>>+.------------.---.<<.>>---. +++.++++++++++++++.+.<<+.[-]++++++++++.
- C
- 请注意本项目中使用的三个空格缩进,很像其他高级生物使用的缩进。
#include <stdio.h>
int main(void)
{
puts("Arch is the best!");
return 0;
}
- C#
- 旨在成为一种简单、现代、通用、面向对象的编程语言。
using System;
Console.WriteLine ("Arch is the best!");
- C++ (C++23 之前)
- Arch == Linux++
#include <iostream>
int main ()
{
std::cout << "Arch is the best!\n";
}
- C++23
- 新的 C++ 标准。
import std;
int main()
{
std::println("Arch is the best!");
}
- COBOL
- 一种简单、轻量级的编程语言。
IDENTIFICATION DIVISION.
PROGRAM-ID. TheBest.
PROCEDURE DIVISION.
DISPLAY "Arch is the best!".
STOP RUN.
- CoffeeScript
- 一种转译编译为 JavaScript 的编程语言。
alert 'Arch is the best!'
- Clojure
- 一种在 JVM 上运行的 Lisp 方言。
(prn "Arch is the best!")
- Common Lisp
- 一种 Lisp 方言
(princ "Arch is the best!")
- Crystal
- 一种面向对象的、类似 Ruby 的语言。
puts "Arch is the best!"
- Crystal (通过 Web 服务器)
- 用于一次性将消息分发给多个朋友。
# For giving the message to your friends
require "http/server"
server = HTTP::Server.new(80) do |context|
context.response.content_type = "text/plain"
context.response.print "Arch is the best!"
end
puts "Listening."
server.listen
- csh
- 一种类似 C 的 shell。
#!/bin/csh echo "Arch is the best!"
- CSS
- 一种样式表语言,广泛用于样式化网页。
body * {
display: none;
}
body::before {
content: "Arch is the best!";
font-family: monospace;
font-size: 2.7rem;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
- CVC5
- 来自斯坦福大学和爱荷华大学的 SMT 求解器
(set-logic QF_SLIA) (set-info :status sat) (set-option :produce-models true) (define-const arch String "Arch is the best") (declare-fun result () String) (assert (= arch result)) (check-sat) (get-value (result))
- D
- 一种 C 风格的语言。后见之明的优势,以及现代化的便利。
import std.stdio : writeln;
void main()
{
writeln("Arch is the best");
}
- Dart
- Google 的 JavaScript 杀手
main(){
print('Arch is the best');
}
- DreamBerd
- 一种完美的编程语言
print("Arch is the best")!
或者更好
const const const arch = "the best"!
- Dogescript
- 对狗狗友好的 JavaScript
console.loge with ' So Arch' console.loge with ' Much Good' console.loge with ' Wow'
- Ebuild
- Gentoo 的构建脚本格式。
DESCRIPTION="Arch is the best!"
SRC_URI="https://wiki.archlinux.org.cn/index.php/Arch_is_the_best"
LICENSE="GFDL_1.3"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND=""
src_compile() {
einfo "Arch is the best!"
}
- Enkelt
- 基于 Python,但语法是瑞典语。
skriv ("Arch är bäst!)
- Emacs Lisp
- GNU Emacs 和 XEmacs 文本编辑器使用的 Lisp 编程语言的一种方言
(message "Arch is the best!")
- Emojicode
- 一种无分隔符、面向对象、命令式、高级、混合型语言,使用表情符号作为固定点和方法。
🏁 🍇
😀 🔤Arch is the best!🔤❗️
🍉
- Elixir
- 一种动态、函数式语言,旨在构建可扩展且可维护的应用程序
IO.puts "Arch is the best!"
- Erlang
- 一种并发的、垃圾回收的编程语言和运行时系统。
-module(arch).
-export([is_the_best/0]).
is_the_best() -> io:fwrite("Arch is the best!\n").
- 或使用进程间消息传递
-module(arch).
-export([ultimate_question/0,the_answer/0]).
the_answer() ->
receive
{Client,who_is_the_best} ->
Client ! {self(),"Arch is the best!"};
{Client,_} ->
Client ! {self(),"Taco Taco Taco!"}
end,
the_answer().
ultimate_question() ->
Pid = spawn(arch,the_answer,[]),
Pid ! {self(),who_is_the_best},
receive
{Pid,Response} -> io:format("~s~n",[Response])
end.
- F#
- 一种强类型、函数优先的编程语言,用于编写简单的代码来解决复杂的问题。
printfn "Arch is the best!"
- Factor
- 高级的基于堆栈的语言。
"Arch is the best" print
- FIM++
- 一种冗长的、命令式的、动态类型的、解释型语言,可以使用 Java 类。
Dear Princess Celestia: Letter About Arch Linux.
Today I learned:
I wrote "Arch is the best!".
Your faithful student, Twilight Sparkle
- Fish
- 用户友好的命令行 shell。
function arch_is_the_best --on-event fish_prompt echo -ne "\e[94mArch is the best!\e[0m" end
- Forth
- 基于堆栈的语言。
." Arch is the best" cr -- kiss way
- Fortran95
program arch print *,"Arch is the best!" end program arch
- Gallina
- Coq 的规范语言,一种交互式定理证明器。
Require Import String.
Open Scope string_scope.
Compute ("Arch is the best!").
- Genie
- 一种新的编程语言,它允许更现代的编程风格,同时能够轻松地本地创建和使用 GObject。
init print "Arch is the best"
- Gjs
- GNOME 的 Javascript 绑定。它主要基于 Spidermonkey javascript 引擎和 GObject 内省框架。
#!/usr/bin/env gjs
print ('Arch is the best');
- Gleam
- 一种快速、友好且函数式的语言,用于构建类型安全、可扩展的系统。
import gleam/io
pub fn main() {
io.println("Arch is the best!")
}
- Go
- Google 创建的一种语言,是 C、C++ 和 Python 的爱情结晶。
package main
import "fmt"
func main() {
fmt.Println("Arch is the best!")
}
- Groovy
- 一种用于 Java 虚拟机的敏捷和动态语言。
println 'Arch is the best!'
- Guile
- GNU 通用智能扩展语言。一种可移植、可嵌入的 Scheme 实现。
#!/usr/local/bin/guile -s !# (display "Arch is the best!") (newline)
- Hare
- 一种旨在简单、稳定和健壮的系统编程语言。
use fmt;
export fn main() void = {
fmt::println("Arch is the best!")!;
};
- Haskell
- IO 简单且无问题的语言。
main = putStrLn "Arch is the best!"
- Haxe
- 一种基于 actionscript 的面向对象语言,具有函数式风味
package;
class Main {
public static function main() {
Sys.println("Arch is the best!");
}
}
- Hexagony
- Hexagony 是一种六边形网格上的二维深奥编程语言。
A ; r ; c
< l i n u x
> ; b ; e ; s
\ 2 3 * ; e ; h
; h ; * 3 2 ; i ;
; G N U @ ; < /
; t ; * 3 3 /
; t ; 2 < /
s ; * 3 /
- HolyC
- Terry A. Davis 创建的一种有趣的娱乐编程语言,用于构建 TempleOS。
"Arch is the best!\n";
- HTML
- 一种用于创建和定义网页及其内容的标记语言。
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Arch is the best!</title>
</head>
<body>
Arch is the best!
</body>
</html>
- Idris
- 一种通用的纯函数式编程语言,具有依赖类型。Haskell,但更疯狂。
module Main main : IO () main = putStrLn "Arch is the best!"
- initcpio
- 初始 ramdisk 环境
hook
#/bin/bash
run_hook() {
echo "Arch is the best"
}
install
install() {
inst_hook "$moddir/arch_is_the_best" "$hookdir/arch_is_the_best"
}
build() {
add_runscript
}
- INTERCAL
- “由两位黑客在 1972 年 5 月的一个清晨非常早的时候设计,他们至今仍在努力摆脱它。”
PLEASE NOTE THAT THIS WAS MADE FOR C-INTERCAL
DO ,10 <- #18
DO ,10SUB#1 <- #126
DO ,10SUB#2 <- #52
DO ,10SUB#3 <- #136
PLEASE DO ,10SUB#4 <- #176
DO ,10SUB#5 <- #18
DO ,10SUB#6 <- #110
DO ,10SUB#7 <- #200
PLEASE DO ,10SUB#8 <- #202
DO ,10SUB#9 <- #214
DO ,10SUB#10 <- #24
DO ,10SUB#11 <- #112
PLEASE DO ,10SUB#12 <- #162
DO ,10SUB#13 <- #190
DO ,10SUB#14 <- #160
PLEASE DO ,10SUB#15 <- #216
DO ,10SUB#16 <- #160
DO ,10SUB#17 <- #170
PLEASE DO ,10SUB#18 <- #52
DO READ OUT ,10
DO GIVE UP
还有一个更大的 ASCII 转码版本。
(必须使用不可移植的 C-INTERCAL I/O,因为 INTERCAL-72 不允许任意字符。)
- Io
- 一种纯粹的面向对象编程语言,灵感来自 Smalltalk、Self、Lua、Lisp、Act1 和 NewtonScript。
"Arch is the best!" println
- Java
- 一种极其可移植的语言,它几乎可以在任何东西上运行,甚至可以在你的烤面包机上运行!
public class ArchIsTheBest {
public static void main(String[] args) {
System.out.println("Arch is the best!");
}
}
- JavaScript
- 也称为 ECMAScript,一种基于原型的面向对象脚本语言。
console.log('Arch is the best!');
- JavaScript (在 Web 浏览器中)
alert('Arch is the best!');
- Julia
- 一种用于数值计算的全新方法。
println("Arch is the best!")
- jq
- 命令行 JSON 处理器
seq 1 100 | jq '"Arch is the best!"'
- Kochanowski
- 基于 JavaScript 的波兰语编程语言。
Drukuj("Arch is the best!").
- Kotlin
- JetBrains 试图统治世界的尝试。
fun main() {
println("Arch is the best!")
}
- LaTeX
- 一个排版框架和生态系统,在 TeX 之上实现(具有讽刺意味的是,比 TeX 更出名)。用于排版数学公式和图表的 “框架”。
\documentclass{standalone}
\begin{document}
Arch is the best!
\end{document}
- Lean
- 一种用于编写形式化证明的纯函数式语言。
def main : IO Unit := IO.println "Arch is the best!"
- LilyPond
- 一个功能强大的音乐雕刻程序,具有直观的类似 LaTeX 的输入语言。
\version "2.12.3"
\include "english.ly"
\header { title = "Arch is the best!" }
\score
{
<<
\relative c' { c4 e g c \bar "||" }
\addlyrics { Arch is the best! }
>>
}
- Latino
- 一种用西班牙语编写的编程语言。
poner("Arch es el mejor")
- LOLCODE
- 为什么不呢?
HAI CAN HAS STDIO? VISIBLE "ARCH IS TEH PWNZ LOL!" KTHXBYE
- LTac
- Coq 的策略语言,一种交互式定理证明器。(在一个微不足道的证明内部。)
Goal True. idtac "Arch is the best!". trivial. Qed.
- Lua
- 一种轻量级、可扩展的编程语言。
print "Arch is the best!"
- Malbolge
- 一种旨在使编程尽可能困难的语言。
bCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]
\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9y16543210/.-,+*)('&}C#"!~}|{zyxwvu
tsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLK-CgGFEDCBA@?>=<;:98x6543210/
.-,+*)('&%$#"!~}|u;yxwpun4rqpRhmf,jihgIe^$ba`_^]\[ZYXQVUTMqQPONMFjJI+A
eEDC%A:^>=<|:981U54t21*/.-&Jk)('&}C#"!aw={z\xwvun4lqpi/mlkjiKaf_%p
- Makefile
- Makefile 是一个包含 “代码” 的文件,有助于编译大型程序,如 Linux 内核。
archisthebest:
echo Arch is the best!
- Matlab
- MathWorks 开发的一种专有编程语言。
disp('Arch is the best!');
- Monicelli
- Monicelli 是一种深奥的编程语言,基于意大利喜剧杰作电影《我的朋友们》中所谓的 “supercazzole”。
Lei ha clacsonato
voglio antani, Mascetti come se fosse 0
voglio carattere, Mascetti
stuzzica
carattere come se fosse brematurata la supercazzola scrivi con antani o scherziamo?
carattere a posterdati
antani come se fosse antani più 1
e brematura anche, se antani minore o uguale di 16
carattere come se fosse 13 carattere a posterdati carattere come se fosse 10 carattere a posterdati
vaffanzum!
blinda la supercazzola Mascetti scrivi con ingresso Mascetti o scherziamo?
voglio spazio, Mascetti come se fosse 1 con scappellamento a sinistra per 5
voglio esci, Mascetti
che cos'è l'ingresso?
0: esci come se fosse 65
o magari 1: esci come se fosse 114
o magari 2: esci come se fosse ingresso per 49 più 1
o magari 3: esci come se fosse ingresso per 34 più 2
o magari 4: esci come se fosse spazio
o magari 5: esci come se fosse ingresso per 21
o magari 6: esci come se fosse 115
o magari 7: esci come se fosse spazio
o magari 8: esci come se fosse 116
o magari 9: esci come se fosse 104
o magari 10: esci come se fosse ingresso per 10 più 1
o magari 11: esci come se fosse spazio
o magari 12: esci come se fosse 66
o magari 13: esci come se fosse 101
o magari 14: esci come se fosse ingresso per 8 più 3
o magari 15: esci come se fosse ingresso per 7 più ingresso meno 4
o tarapia tapioco: esci come se fosse spazio più 1
e velocità di esecuzione
vaffanzum esci!
- Morpho
- Morpho 是一种多范式编程语言,支持过程式、面向对象和函数式编程。
writeln("Arch is the best!");
- mr-hashemi
- 其他语言太难了。请 Mr. Hashemi 为您做好这项工作!
bebin azinja() {
bechap("Arch is the best!");
}
- Myrddin
- 一种旨在控制和简洁的系统编程语言,具有强大的类型检查、泛型、类型推断、闭包和特征。
/* mbld -b aitb aitb.myr */
use std
const main = {
std.put("Arch is the best!\n")
}
- NASM / Yasm (i686)
- 请注意,字符串位于 .text section 中,这感觉更优越。
;nasm -f elf32 arch.asm
;ld -o arch arch.o
;./arch
section .text
global _start
_start:
mov edx,len
mov ecx,msg
mov ebx,1
mov eax,4
int 0x80
xor ebx,ebx
mov eax,1
int 0x80
msg:
db "Arch is the best!",10
len equ $-msg
- NASM / Yasm (x86_64)
- 以 AMD 性感的新指令 syscall 为特色。
;nasm -f elf64 arch.asm
;ld -o arch arch.o
;./arch
section .text
global _start
s:
db 'Arch is the best!',0ah
l equ $-s
_start:
mov rax,1
mov rdi,1
mov rsi,s
mov rdx,l
syscall
mov rax,60
xor rdi,rdi
syscall
- Nim
- 可移植的轻量级编程语言。
echo "Arch is the best!"
- node.js
- 一个构建在 Chrome 的 JavaScript 运行时之上的平台,用于轻松构建快速、可扩展的网络应用程序,使用事件驱动、非阻塞 I/O 模型,使其轻量级且高效,非常适合在分布式设备上运行的数据密集型实时应用程序。
console.log('Arch is the best!');
- node.js (http 服务器)
- 一个 node.js 程序,使用 HTTP 广播 “Arch 最棒!” 的信息
require('http').createServer((req,res) => {res.writeHead(200, {'Content-Type': 'text/plain'});res.end('Arch is the best!');}).listen(80);
- Objective-C
- 一种反射性的、面向对象的编程语言,它将 Smalltalk 风格的消息传递添加到 C 编程语言中。
NSLog(@"Arch is the best!");
- OCaml
- Caml 编程语言的主要实现。
print_endline "Arch is the best!"
- Octave
- 高级解释型语言,主要用于数值计算。
printf("Arch is the best!\n")
- Ook!
- brainfuck,翻译成猩猩语。
Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook. Ook. Ook! Ook? Ook. Ook? Ook! Ook? Ook! Ook! Ook. Ook? Ook. Ook. Ook? Ook. Ook? Ook! Ook? Ook. Ook! Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook? Ook! Ook. Ook? Ook. Ook? Ook! Ook. Ook? Ook. Ook! Ook? Ook! Ook! Ook? Ook! Ook. Ook? Ook! Ook? Ook! Ook! Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook! Ook! Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook! Ook. Ook! Ook? Ook! Ook! Ook? Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook.
- Pascal
- 一种有影响力的命令式和过程式编程语言。
program ArchIsTheBest;
begin
writeln('Arch is the best!');
end.
- 一种用于与打印机对话的语言。
%PDF-1.1 1 0 obj << /Type /Catalog /Pages 2 0 R >> endobj 2 0 obj << /Type /Pages /Kids [3 0 R] /Count 1 /MediaBox [0 0 595 842] >> endobj 3 0 obj << /Type /Page /Parent 2 0 R /Resources << /Font << /F1 << /Type /Font /Subtype /Type1 /BaseFont /Times-Roman >> >> >> /Contents 4 0 R >> endobj 4 0 obj << /Length 48 >> stream BT /F1 72 Tf 55 460 Td (Arch is the best!) Tj ET endstream endobj xref 0 5 0000000000 65535 f 0000000016 00000 n 0000000066 00000 n 0000000148 00000 n 0000000303 00000 n trailer << /Root 1 0 R /Size 5 >> startxref 402 %%EOF
- Perl
- 一种高级、通用、解释型、动态编程语言。
#!/usr/bin/env perl print "Arch is the best!\n";
- Perl 6
- Perl 家族的最新成员。
#!/usr/bin/env perl6 say 'Arch is the best!';
- PHP
- 一种通用脚本语言。
#!/usr/bin/env php <?php echo "Arch is the best!\n" ?>
- Pixilang
- 为我制作像素。
print("Arch is the best!",0,0,#1897D1)
frame
- PL/1
- IBM 的一种过程式、命令式编程语言。
ArchIsBest: proc options (main);
put skip list("Arch is the best!");
end ArchIsBest;
- Pony
- 一种面向对象、Actor 模型、功能安全、高性能编程语言。
actor Main
new create(env: Env) =>
env.out.print("Arch is the best!")
- 可移植的 GNU 汇编器
as -o arch.o arch.s && ld -o arch -O0 arch.o
.section .data archIsBest: .ascii "Arch is the best!\n" archIsBest_len: .long . - archIsBest .section .text .globl _start _start: xorl %ebx, %ebx movl $4, %eax xorl %ebx, %ebx incl %ebx leal archIsBest, %ecx movl archIsBest_len, %edx int $0x80 xorl %eax, %eax incl %eax xorl %ebx, %ebx int $0x80
- Porth
- 类似于 Forth 的基于堆栈的语言,但用 python 实现。
include "std.porth" proc main in "Arch is the best!" puts end
- Portugol
- Portugol 也被称为结构化葡萄牙语,是一个基于葡萄牙语的编程语言家族。
inicio escrever "Arco é o melhor!" fim
- PostScript
- 一种用于与打印机对话的较旧语言。
%!PS /monospace 60 selectfont 10 420 moveto (Arch is the best!) show showpage
- Powershell
- 一种基于任务的命令行 shell 和构建在 .NET 上的脚本语言。
Write-Output "Arch is the best!"
- Processing
- 一种为电子艺术和视觉设计构建的开源编程语言和 IDE。
println("Arch is the best!");
- Prolog
- 一种与人工智能和计算语言学相关的通用逻辑编程语言。
format('Arch is the best~n',[]).
- Python
- 一种通用高级编程语言。
print('Arch is the best!')
- q (kdb+)
- 一种用于数组处理的编程语言,用作 kdb+ 的查询语言。
show "Arch is the best!"
- QBASIC
- 一种基于 QuickBASIC 的 BASIC 编程语言变体的解释器。
PRINT "Arch is the best!"
- QML
- JavaScript 的超集,用于以声明方式构建 GUI。Qt 框架的一部分。
import QtQuick.Controls 2.15
Label{
text: "Arch is the best!"
font.pixelSize: 22
}
- R
- 一种用于统计计算的语言(以及更多!)。
archIsBest <- function() { cat("Arch is the best!\n") }
archIsBest()
- Racket
- Lisp-Scheme 家族中的一种通用、多范式编程语言。
#lang racket
(let ([str "Arch is the best!\n"])
(write-string str)
(values))
- Ruby
- 一种动态、反射性、通用面向对象的编程语言。
#!/usr/bin/ruby -w puts 'Arch is the best!'
- Rust
- Rust 是一种系统编程语言,运行速度极快,几乎可以防止所有崩溃,并消除数据竞争。
fn main() {
println!("Arch is the best!");
}
- Salt
- Salt 是一个自动化框架
salt '*' event.fire '{"data":"Arch Is the best!"}' 'arch/best'
- Scala
- 一种在 JVM 上运行的多范式语言。
object ArchIsBest extends App {
println("Arch is the best!")
}
- Scratch
- MIT 制作的一种基于块的编程语言。
链接到 scratchblocks,您可以在其中看到它作为实际 scratch 代码的样子
when green flag clicked say [Arch is the best!]
- Scheme
- Lisp 的一种方言。
(display "Arch is the best!\n")
- Seed
- 一个库和解释器,动态地将 WebKit JavaScriptCore 引擎与 GNOME 平台桥接。
#!/usr/bin/env seed
print ('Arch is the best');
- Shakespeare Programming Language
- 旨在“制作一种具有漂亮源代码的语言 [...]”
Arch is the Best.
Arthur, a young man who is the best.
Isabella, a likewise young woman who be.
The Ghost, an undead who is the article.
Beatrice, a young woman who is an adjective.
Act I: Setting of the Variables.
Scene I: Setting of Isabella and Arthur.
[Enter Arthur and Isabella]
Arthur:
You are as dirty as the square of the sum of a rotten smelly foul devil
and a vile lie! You are as bold as the sum of yourself and an evil hog!
Isabella:
Thou art as big as the square of a cute fair sweet flower! You are as proud
as the sum of thyself and a cow.
[Exit Arthur]
Scene II: Setting of The Ghost.
[Enter The Ghost]
Isabella:
You art as loving as myself. Thou are as huge as the sum of yourself and twice
a red old hair. You are as cowardly as the sum of yourself and a fat goat!
[Exit Isabella]
Scene III: Setting of Beatrice.
[Enter Beatrice]
The Ghost:
Thou are as good as the sum of Isabella and a mighty fine rich noble King.
[Exeunt The Ghost and Beatrice]
Act II: Printing Arch is the Best.
Scene I: Arch.
[Enter Arthur and Beatrice]
Beatrice:
Speak thy mind! You art as peaceful as the quotient between thyself and the
clearest Lord.
Arthur:
Speak your mind!
[Exeunt Arthur and Beatrice]
[Enter Isabella and The Ghost]
The Ghost:
Thou are as normal as the sum of thyself and a town. Speak thy mind!
Isabella:
Speak your mind!
[Exit Isabella]
[Enter Arthur]
The Ghost:
Speak thy mind!
[Exit Arthur]
Scene II: is.
[Enter Beatrice]
Beatrice:
Thou are as old as the sum of yourself and a nose. Speak your mind!
The Ghost:
You art as pretty as the sum of thyself and a face. Speak your mind.
[Exit The Ghost]
[Enter Arthur]
Beatrice:
Speak thy mind.
Scene III: the.
Arthur:
You are as blue as the sum of yourself and a hamster. Speak thy mind!
[Exit Arthur]
[Enter The Ghost]
Beatrice:
You are as prompt as the sum of thyself and a lie! Speak your mind.
[Exit Beatrice]
[Enter Isabella]
The Ghost:
You art as happy as the sum of thyself and a large moon. Speak thy mind!
[Exit The Ghost]
[Enter Arthur]
Isabella:
Speak thy mind.
[Exit Arthur]
Scene IV: Best.
[Enter Beatrice]
Beatrice:
Thou are as blue as the sum of the sum of a curse and thyself and a bad
codpiece. Speak your mind! You art as lovely as the sum of the sum of the
happiness and yourself and a blossoming flower. Speak thy mind.
Isabella:
You are as healthy as the sum of yourself and a plague! Speak thy mind.
Thou art as huge as the sum of thyself and a hero. Speak your mind!
[Exit Beatrice]
[Enter Arthur]
Isabella:
You art as green as the sum of thyself and a mother. Speak your mind.
[Exeunt]
- Shoes
- 使用 Shoes 作为 GUI 的 Ruby 版本。
Shoes.app :width => 135, :height => 30 do
para "Arch is the Best!"
end
- Smalltalk
- Smalltalk 是一种面向对象、动态类型、反射性的编程语言。
Transcript show: 'Arch is the best!'.
- Solidity
- 用于 Ethereum 智能合约的面向对象编程语言。
pragma solidity ^0.6.0;
contract ArchIsTheBest {
function archIsTheBest() external pure returns (string memory) {
return "Arch is the best!";
}
}
- SQL
- 结构化查询语言,关系数据库的查询语言
SELECT 'Arch is the best!'; SELECT 'Arch is the best!' from dual; -- for Oracle DB
- Standard ML
- 一种通用、模块化、函数式编程语言,具有编译时类型检查和类型推断。
print "Arch is the best!\n"
- Swift
- 苹果公司开发的一种通用、多范式、编译型编程语言。
print("Arch is the best!")
- Tcl/Tk
- 一种通常用于快速原型设计、脚本应用程序、GUI 和测试的脚本语言。
#!/usr/bin/env tclsh puts "Arch is the best!"
- TeX
- 一种旨在科学出版的排版语言。以能够以纯文本格式描述复杂方程而闻名。更著名的 LaTeX 的基础。
Arch is the best! \bye
- TrumpScript
- 一种基于特朗普总统言论的脚本语言。
say it with me, "Arch is the best!"; america is great.
- UEFI
- 一个可扩展的固件框架
#include <Uefi.h>
EFI_STATUS EFIAPI
ArchIsTheBest (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
{
SystemTable -> ConOut-> OutputString(SystemTable->ConOut, L"Arch is the best!\n");
return EFI_SUCCESS;
}
- V
- 用于开发可维护软件的简单、快速、安全、编译型语言。
fn main() {
println('Arch is the best!')
}
- Vala
- Vala 是一种新的编程语言,旨在为 GNOME 开发人员带来现代编程语言功能,而不会施加任何额外的运行时要求,并且与用 C 编写的应用程序和库相比,不会使用不同的 ABI。
void main(string[] args) {
stdout.printf("\nArch is the best!\n\n");
}
- var'aq
- 战士的编程语言
"Arch maj law' Hoch maj puS!" cha'
- Verilog
- 一种硬件描述语言,标准化为 IEEE 1364
module top;
initial $display("Arch is the best!");
endmodule
- VHDL
- VHSIC 硬件描述语言
use std.textio.all;
entity top is
end top;
architecture behaviour of top is begin
process begin
write (output, String'("Arch is the best!"));
wait;
end process;
end behaviour;
- Vim script
- Vim 文本编辑器的脚本语言。
echo "Arch is the best!"
- Visual Basic
- 微软的第三代事件驱动编程语言和集成开发环境 (IDE),用于其组件对象模型 (COM) 编程模型。
Module Arch
Sub Main()
MsgBox("Arch is the best!")
End Sub
End Module
- wenyan-lang
- 一种用于古代汉语的编程语言。
吾有一言。曰「「阿祺,盡善矣。」」。書之。
- Whenever
- Whenever 是一种没有紧迫感的编程语言。它会在任何时候做它想做的事情,而不是按照程序员指定的任何顺序。
42 print("Arch is the best!");
- Whitespace
- 一种所有非空白字符都是注释的语言。
这种语言在 wiki 中不能很好地工作,所以 这是代码。
- Wiring (Arduino)
- 建立在 Processing 之上,Processing 是在麻省理工学院开发的开源编程语言。
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.print("Arch is the best!");
}
- Wolfram
- Wolfram Inc 开发的专有编程语言,强调符号计算、函数式编程和基于规则的编程。
Print["Arch is the best"]
- X11
- X11 是一个架构独立的系统,用于显示图形用户界面。
cc -lX11 arch.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <X11/Xlib.h>
int main()
{
Display *d;
Window w;
XEvent e;
int s;
if (!(d = XOpenDisplay(NULL))) {
fprintf(stderr, "Couldn't open display, but Arch is the best!\n");
exit(1);
}
s = DefaultScreen(d);
w = XCreateSimpleWindow(d, RootWindow(d,s), 0, 0, 110, 20, 0,
0, WhitePixel(d,s));
XSelectInput(d, w, ExposureMask | KeyPressMask);
XMapWindow(d,w);
while (1) {
XNextEvent(d, &e);
if (e.type == Expose) {
XDrawString(d, w, DefaultGC(d, s), 5, 15, "Arch is the best!", 17);
}
}
XCloseDisplay(d);
return 0;
}
- Z3
- 来自微软研究院的定理证明器
(define-const arch String "Arch is the best") (simplify (str.++ arch))
- Zig
- 一种通用的编程语言和工具链,用于维护健壮、最优和可重用的软件。旨在弃用 C。
const std = @import("std");
pub fn main() !void {
std.debug.warn("Arch is the best!\n", .{});
}
- Zimbu
- 一种快速、易于学习且类似 JS 的编程语言。
FUNC Main() int
IO.write("Arch is the best!")
RETURN 0
}
- Zsh
- 一个 UNIX 命令解释器(shell),与 ksh 非常相似,但包含许多增强功能。
#!/bin/zsh -f
setopt extendedglob
print -- $(echoti setaf 2) ${$(<<<${${${(@j: :)${(@s:_:)${:-What_Linux_is_the_best?}}}/* (#b)([A-Z]i)/Arch $match[1]}} tr '?' '!')} $terminfo[sgr0]