-A very simplified programming language written in python imitating voices of the famous nintendo character named Kirby!
-Now supports Shell and Scripting both!! POYO!! (Interpreter based model)
-I know; an interpreter inside an interpreter, might be slow and not too efficient but its something I made for fun!
Open any code editor or python IDE and then run shell.py
The Syntax is based on kirby noises but mixed with english.
letyo
,
andpo
,
orpo
,
nopo
,
ifyo
,
butpoyo
,
elseyo
,
foryo
,
po
,
stepo
,
whileyo
,
power
,
thenpo
,
over
,
getpo
,
cmon
,
die
,
false
,
true
,
math_pi
, (pi value)
say
, BuiltInFunction print
say_ret
, BuiltInFunction print_ret
tellme
, BuiltInFunction for input
tellme_int
, BuiltInFunction for input in integer
boom
, BuiltInFunction for clear (terminal)
booms
, BuiltInFunction for mass clear (terminal)
is_numpo
, BuiltInFunction for checking if number
is_stringpo
, BuiltInFunction for checking if string
is_listpo
, BuiltInFunction for checking if list
is_power
, BuiltInFunction for checking if function exists
join
, BuiltInFunction for appending
explode
, BuiltInFunction for pop (stack/list)
stretch
, BuiltInFunction for extending (arrays or stack)
len
, BuiltInFunction for length
go
, BuiltInFunction for running a file
not equal to : !=
equals to : ==
less than : <
greater than : >
greater than or equal to : >=
less than or equal to : <=
and : andpo
or : orpo
not : nopo
letyo <var_name> = <value>
A variable can be declared while performing an operation too, for exmaple:
poyo> 5 + letyo a = 6
11
poyo> a
6
keywords: ifyo
, thenpo
, elseyo
ifyo <condition> thenpo <process> elseyo <process>
--For Else if statements:
keyword: butpoyo <condition>
ifyo <condition> thenpo <process> butpoyo <condition> thenpo <process> elseyo <process>
--For blocks of if statements:
ifyo <condition> thenpo
<your_code>
over