User:PrySigneToFry/Sandbox/Draft of 夸父
Jump to navigation
Jump to search
- This is still a work in progress. It may be changed in the future.
夸父 is alternated version of 易语言 in PsiLine, which is designed by Zhang Jiulong.
In OTL Universe, it is designed by PSTF.
Language Overview
夸父 uses Chinese as Programming Medium, is Turing-complete, and is pseudonatural.
Basic Syntax
Comment
# 这是一行单行的注释。 #* 这是一个注释块。 *#
I/O
Output
终端.输出("巴拉巴拉巴拉巴拉巴拉……", 结束符 = "锟斤拷烫烫烫")
This output the specified content to the terminal(which is also called Recepter) and with specified end symbol. At normal, it ends with endline.
Redirect output to other place
终端.输出.重定向(文件名)
Redirect the output to specified filename. Redirect to "标准输出" means to redirect to STDOUT.
Input
Evaluated Input
终端.求值输入(提示符 = "你倒是吱个声啊?")