*python
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
*python (or that's python) is an esolang created by User:Ractangle where it's syntax is python but with major changes.
Syntax
Arguments:[arg1]|[arg2]|[arg3]
Variable creation::varname,varval;
Function definition:
:func func_name [arg1]|[arg2]; *Commands here :end;
Conditional:
:check a is 8; [Yes?]|[*Commands here] [No?]|[*Commands here]
Function call:return func_name [h]|[i]
C's printf command:form[]
Errors
If you try to do recursion:
Syntax not obeyed:Recursion cannot be returned
Examples
Hello, world!
form[string[Hello, world\n]]
Truth-machine
:func truth [i]; :check i is 0; [Yes?]|[form[0]] [No?]|[while 1[form[1]] :end; return truth [your input here]
replace your input here
with a 1 or a 0