Page namespace (page_namespace) | 0 |
Page title (without namespace) (page_title) | 'Septem Lingua' |
Full page title (page_prefixedtitle) | 'Septem Lingua' |
Old content model (old_content_model) | 'wikitext' |
New content model (new_content_model) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext) | 'Septem Lingua is designed by PSTF. It has 7 basic commands, and everyone can add more commands into this language.
= Disclaimer =
The name of this language literally means 'seven languages,' but it has no direct connection to seven languages. Septem stands for 7, which means this has 7 command.
= Development Team =
Leader: PSTF
1st-batch members: islptng, Yoyolin0409, Hammy, cleverxia
= Rules =
What a coincidence—the rules of this language are seven, and the basic commands are also seven.
# Do not add non-computable commands to this language.
# Adding joke commands is prohibited. Septem Lingua is a serious language.
# Unless otherwise specified, all commands will be treated as functions.
# Adding built-in data storage is prohibited. We stipulate that all data in this language must be stored in variables. However, commands are allowed to access registers or memory to implement more complex programs, and it is permissible to add data types or simulate stacks, queues, deques, binary trees, hash tables, etc., through functions.
# No memes are allowed to add in the command, nor appear in the description. The purpose of creating this language was not to become [[🏳️⚧️🦞|worse]] or [[User_talk:/w/wiki/index.php/Talk:index.php/Main_page|more chaotic]].
# Allow a command to execute other programming languages, but only those that have been implemented, such as Python. Self-evaluation or self-interpretation is allowed, but interpreting unimplemented languages is not permitted.
# Allow manipulation of system files, but do not allow a single command to directly damage the system. For example, this command violates this rule: <span style="font-family: Serif;"><tt>death</tt> - Delete all files on the device that is running this command.</span>
= Reserved Area =
* <code>[} {]</code> is a comment block.
* String literals are quoted in double quotation marks, and single quotation mark is for Rune type.
* Escaping Sequence is same as in Python.
* stdin means user's raw input.
* There is '''''<span style='color:red'>NO</span>''''' boolean literals. Non-empty value is used as true and empty value(for example, 0, or "") is false.
* List are enclosed in brackets.
x+y
Return x+y
x-y
Return x-y
x*y
Return x×y
x/y
Return x÷y
x^y
Return x<sup>y</sup>
Judgment:
x==y
x!=y
x<y
x>y
x<=y
x>=y
= Command Table =
print arg_list, sep <- "", end <- "\n", filename <- "CON"
Output a series of contents separated by ''sep'' and ''ending'' with end to the file pointed to by ''filename''. By default, filename points to CON, that is, the console.
let x <- y
Let x be y. If x is already defined, then "let" must be omitted.
label x:
Define a label.
jump x
Point the code pointer to the corresponding label.
if x then y else z end
Evaluates to y if x is true otherwise z.
while x do y end
Repeatly do y until x is not true.
halt
Halt.
Note: <code>do end</code> is a code block.
= Extended Command Table =
== By PSTF himself ==
type x
Return x after converting it to the corresponding data type.
typeof x
Return x's type.
lambda arg_list do function_body end
Function definition. Can be assigned to variable.
== By Yoyolin0409 ==
long x
Return string x's long
x.long
Return list x's long
nop
[[nop]]
try:
when [Error Name|"Error"]:
without [Error Name|"Error"]:
whatever:
These are the components of the try block.
They will attempt to execute the code under try: If an error is specified by when:, the code under when: will execute. If no error is specified by without:, the code under without: will execute. The code under whatever: will execute regardless.
All blocks except try are optional.
The word "Error" alone can match all errors.
x[y]
The y-th item in list x. The index of the list starts from 0.
@no_tab_on
@no_tab_off
This allows for tab less via a switch, but an "end" statement is still required. It's not recommended unless absolutely necessary.
[x]*y
Used for list content, to make x repeat y times.
ascii_encode(x)
Retrun convert string x to ASCII code's result, The length of x must be 1
ascii_decode(x)
Retrun convert int x to its corresponding ASCII character's result
= Examples =
== Hello, world!==
print "Hello, world!"
halt
== Better Machine ==
let x <- int(stdin)
let y <- int(stdin)
if (x - y) = 0 then do
let a <- x + y
while a != 0 do
print 0
a <- a - 1
end
else
while 1 do
print 1
end
end
halt
== Turing completeness proof using [[brainfuck]] ==
[}setup{]
let tape <- list([0]*3000)
let ptr <- int(0)
@no_tab_on
[}<{]
let ptr <- ptr-1
[}>{]
let ptr <- ptr+1
[}+{]
let tape[ptr] <- tape[ptr]+1
[}-{]
let tape[ptr] <- tape[ptr]-1
[},{]
try:
let a <- ascii_encode(int(stdin))
let tape[ptr] <- a
end
[}.{]
print ascii_decode(tape[ptr])
[}[{]
while tape[ptr] != 0 do
[}]{]
end
= Categories =
[[Category:2026]] [[Category:Languages]] [[Category:User Edited]]' |
New page wikitext, after the edit (new_wikitext) | 'Septem Lingua is designed by PSTF. It has 7 basic commands, and everyone can add more commands into this language.
= Disclaimer =
The name of this language literally means 'seven languages,' but it has no direct connection to seven languages. Septem stands for 7, which means this has 7 command.
= Development Team =
Leader: [[User:PrySigneToFry|PSTF]]
1st-batch members: [[User:I am islptng|islptng]], [[User:Yoyolin0409|Yoyolin0409]], [[User:Hammy|Hammy]], [[User:cleverxia|cleverxia]]
= Rules =
What a coincidence—the rules of this language are seven, and the basic commands are also seven.
# Do not add non-computable commands to this language.
# Adding joke commands is prohibited. Septem Lingua is a serious language.
# Unless otherwise specified, all commands will be treated as functions.
# Adding built-in data storage is prohibited. We stipulate that all data in this language must be stored in variables. However, commands are allowed to access registers or memory to implement more complex programs, and it is permissible to add data types or simulate stacks, queues, deques, binary trees, hash tables, etc., through functions.
# No memes are allowed to add in the command, nor appear in the description. The purpose of creating this language was not to become [[🏳️⚧️🦞|worse]] or [[User_talk:/w/wiki/index.php/Talk:index.php/Main_page|more chaotic]].
# Allow a command to execute other programming languages, but only those that have been implemented, such as Python. Self-evaluation or self-interpretation is allowed, but interpreting unimplemented languages is not permitted.
# Allow manipulation of system files, but do not allow a single command to directly damage the system. For example, this command violates this rule: <span style="font-family: Serif;"><tt>death</tt> - Delete all files on the device that is running this command.</span>
= Reserved Area =
* <code>[} {]</code> is a comment block.
* String literals are quoted in double quotation marks, and single quotation mark is for Rune type.
* Escaping Sequence is same as in Python.
* stdin means user's raw input.
* There is '''''<span style='color:red'>NO</span>''''' boolean literals. Non-empty value is used as true and empty value(for example, 0, or "") is false.
* List are enclosed in brackets.
x+y
Return x+y
x-y
Return x-y
x*y
Return x×y
x/y
Return x÷y
x^y
Return x<sup>y</sup>
Judgment:
x==y
x!=y
x<y
x>y
x<=y
x>=y
= Command Table =
print arg_list, sep <- "", end <- "\n", filename <- "CON"
Output a series of contents separated by ''sep'' and ''ending'' with end to the file pointed to by ''filename''. By default, filename points to CON, that is, the console.
let x <- y
Let x be y. If x is already defined, then "let" must be omitted.
label x:
Define a label.
jump x
Point the code pointer to the corresponding label.
if x then y else z end
Evaluates to y if x is true otherwise z.
while x do y end
Repeatly do y until x is not true.
halt
Halt.
Note: <code>do end</code> is a code block.
= Extended Command Table =
== By PSTF himself ==
type x
Return x after converting it to the corresponding data type.
typeof x
Return x's type.
lambda arg_list do function_body end
Function definition. Can be assigned to variable.
== By Yoyolin0409 ==
long x
Return string x's long
x.long
Return list x's long
nop
[[nop]]
try:
when [Error Name|"Error"]:
without [Error Name|"Error"]:
whatever:
These are the components of the try block.
They will attempt to execute the code under try: If an error is specified by when:, the code under when: will execute. If no error is specified by without:, the code under without: will execute. The code under whatever: will execute regardless.
All blocks except try are optional.
The word "Error" alone can match all errors.
x[y]
The y-th item in list x. The index of the list starts from 0.
@no_tab_on
@no_tab_off
This allows for tab less via a switch, but an "end" statement is still required. It's not recommended unless absolutely necessary.
[x]*y
Used for list content, to make x repeat y times.
ascii_encode(x)
Retrun convert string x to ASCII code's result, The length of x must be 1
ascii_decode(x)
Retrun convert int x to its corresponding ASCII character's result
= Examples =
== Hello, world!==
print "Hello, world!"
halt
== Better Machine ==
let x <- int(stdin)
let y <- int(stdin)
if (x - y) = 0 then do
let a <- x + y
while a != 0 do
print 0
a <- a - 1
end
else
while 1 do
print 1
end
end
halt
== Turing completeness proof using [[brainfuck]] ==
[}setup{]
let tape <- list([0]*3000)
let ptr <- int(0)
@no_tab_on
[}<{]
let ptr <- ptr-1
[}>{]
let ptr <- ptr+1
[}+{]
let tape[ptr] <- tape[ptr]+1
[}-{]
let tape[ptr] <- tape[ptr]-1
[},{]
try:
let a <- ascii_encode(int(stdin))
let tape[ptr] <- a
end
[}.{]
print ascii_decode(tape[ptr])
[}[{]
while tape[ptr] != 0 do
[}]{]
end
= Categories =
[[Category:2026]] [[Category:Languages]] [[Category:User Edited]]' |
Unified diff of changes made by edit (edit_diff) | '@@ -5,7 +5,7 @@
= Development Team =
-Leader: PSTF
+Leader: [[User:PrySigneToFry|PSTF]]
-1st-batch members: islptng, Yoyolin0409, Hammy, cleverxia
+1st-batch members: [[User:I am islptng|islptng]], [[User:Yoyolin0409|Yoyolin0409]], [[User:Hammy|Hammy]], [[User:cleverxia|cleverxia]]
= Rules =
' |