New page wikitext, after the edit (new_wikitext) | 'Home
robert19066 edited this page yesterday · 1 revision
Welcome to the Robert's Super Romanian Proggraming Language wiki! Yes the wiki is in english,but the proggraming language is in romanian ;)
this is an esolang,dont get mad on me if you will use translate more than ever in your life XD
NOTE THIS ONLY WORKS ON WINDOWS,macOS and Linux support in the next updates!
Running Code
You need to run it in a terminal and type python src and it will ask about the name of the file. Put the name of the file wihout the extension(.rspr) and it will run your code
Syntax:
Variabiles:
There is just one variabile type:numerical RSRPL runs on Python,so it automaticly asigning the type of variabile.
Example:
x = 10
Printing
The print() equivalent in RSRPL is arata sau afiseaza is the same thing.
Examples:
arata "so good"
arata x
Taking user input:
Unfortunaty,user input can only be numerical.The equivalent of input() in RSRPL is intrare
Example
intrare x
Coments
The RSRPL comments are the same as in python btw
Example
# this is a verry bombastic comment :)
Logic
If else statement
If statements are replaced by the word daca and have currly braces.Same for else but else is replaced with altfel
Example
daca x > y {
# something
} altfel {
# idk
}
While loop
While loops are replaced with cat.Unfortunatly,RSRPL BETA(current version) hasn't got boolean suport,but you can replace boolean values with statements:
Example
x = 0 # true statement
cat x < 10 {
# lol
}
Example code:
x = 10
y = 11
intrare x
intrare y
daca x > y {
afiseaza "x e mai mare"
} altfel {
afiseaza "y e mai mare"
}
Add a custom footer
Pages 1
Find a page…
Home
this is an esolang,dont get mad on me if you will use translate more than ever in your life XD
Running Code
Syntax:
Variabiles:
Example:
x = 10
Printing
Examples:
arata "so good"
arata x
Taking user input:
Example
intrare x
Coments
Example
# this is a verry bombastic comment :)
Logic
If else statement
Example
While loop
Example
Example code:
Add a custom sidebar
Clone this wiki locally
https://github.com/robert19066/Robert-s-Super-Romanian-Proggraming-Language.wiki.git
Footer' |
Lines added in edit (added_lines) | [
0 => 'Home',
1 => ' ',
2 => 'robert19066 edited this page yesterday · 1 revision',
3 => 'Welcome to the Robert's Super Romanian Proggraming Language wiki! Yes the wiki is in english,but the proggraming language is in romanian ;)',
4 => '',
5 => 'this is an esolang,dont get mad on me if you will use translate more than ever in your life XD',
6 => 'NOTE THIS ONLY WORKS ON WINDOWS,macOS and Linux support in the next updates!',
7 => '',
8 => 'Running Code',
9 => 'You need to run it in a terminal and type python src and it will ask about the name of the file. Put the name of the file wihout the extension(.rspr) and it will run your code',
10 => '',
11 => 'Syntax:',
12 => 'Variabiles:',
13 => 'There is just one variabile type:numerical RSRPL runs on Python,so it automaticly asigning the type of variabile.',
14 => '',
15 => 'Example:',
16 => 'x = 10',
17 => 'Printing',
18 => 'The print() equivalent in RSRPL is arata sau afiseaza is the same thing.',
19 => '',
20 => 'Examples:',
21 => 'arata "so good"',
22 => 'arata x',
23 => 'Taking user input:',
24 => 'Unfortunaty,user input can only be numerical.The equivalent of input() in RSRPL is intrare',
25 => '',
26 => 'Example',
27 => 'intrare x',
28 => 'Coments',
29 => 'The RSRPL comments are the same as in python btw',
30 => '',
31 => 'Example',
32 => '# this is a verry bombastic comment :)',
33 => 'Logic',
34 => 'If else statement',
35 => 'If statements are replaced by the word daca and have currly braces.Same for else but else is replaced with altfel',
36 => '',
37 => 'Example',
38 => 'daca x > y {',
39 => ' # something',
40 => '} altfel {',
41 => ' # idk',
42 => '}',
43 => 'While loop',
44 => 'While loops are replaced with cat.Unfortunatly,RSRPL BETA(current version) hasn't got boolean suport,but you can replace boolean values with statements:',
45 => '',
46 => 'Example',
47 => 'x = 0 # true statement',
48 => 'cat x < 10 {',
49 => ' # lol',
50 => '}',
51 => 'Example code:',
52 => 'x = 10',
53 => 'y = 11',
54 => '',
55 => 'intrare x',
56 => 'intrare y',
57 => '',
58 => 'daca x > y {',
59 => ' afiseaza "x e mai mare"',
60 => '} altfel {',
61 => ' afiseaza "y e mai mare"',
62 => '}',
63 => ' Add a custom footer',
64 => 'Pages 1',
65 => 'Find a page…',
66 => 'Home',
67 => 'this is an esolang,dont get mad on me if you will use translate more than ever in your life XD',
68 => 'Running Code',
69 => 'Syntax:',
70 => 'Variabiles:',
71 => 'Example:',
72 => 'x = 10',
73 => 'Printing',
74 => 'Examples:',
75 => 'arata "so good"',
76 => 'arata x',
77 => 'Taking user input:',
78 => 'Example',
79 => 'intrare x',
80 => 'Coments',
81 => 'Example',
82 => '# this is a verry bombastic comment :)',
83 => 'Logic',
84 => 'If else statement',
85 => 'Example',
86 => 'While loop',
87 => 'Example',
88 => 'Example code:',
89 => ' Add a custom sidebar',
90 => 'Clone this wiki locally',
91 => 'https://github.com/robert19066/Robert-s-Super-Romanian-Proggraming-Language.wiki.git',
92 => 'Footer'
] |