PrySigneToFry-complete-lang
Jump to navigation
Jump to search
- This is still a work in progress. It may be changed in the future.
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
PrySigneToFry-complete-lang is an esolang by User:Yoyolin0409. It's PrySigneToFry-complete.
Creative Process
Level 1
This Esolang must be able to output "問天地好在" or "Hello, world!".
It was simple, so I took over Wenyan's output and var specifications.
吾有一言。曰「「問天地好在」」。書之。 吾有一言。曰「「Hello World」」。書之。
What next?
This Esolang must be able to output User:PrySigneToFry/烂下攫用乴 constant by using loop.
烂下攫用乴 constant is the decimal number like this: 0.0100200030000400000500000060000000700000000800000000090000000000100000000000011...
okay... We need to find something that can connect things together and then output. At least I believe a calculator can meet this requirement. In addition, we have added loop, segmentation, string length, input, turn to str() functions.
type calculator 0
type calculator .
有數零。名之曰「甲」。
有數input("Type times:")。名之曰「丙」。
有數零。名之曰「丁」。
loop 丙
加「甲」以一。名之曰「乙」。昔之「甲」者。今「乙」是矣。
loop 甲
type calculator 0
loop 甲.length
加「丁」以一。名之曰「戊」。昔之「丁」者。今「戊」是矣。
type calculator (str(甲))[丁]
昔之「丁」者。今零是矣。
type calculator =
Done!
This Esolang must be able to do User:PrySigneToFry/烂下攫用乴 function.
烂下攫用乴 function is a function that defined as: pstf(x)=sin(1³+1)×sin(2³+1)×...×sin(x³+1)
Well...
吾嘗觀「「算經」」之書。方悟「正弦」之義。
有數input("Type number:")。名之曰「甲」。
有數零。名之曰「乙」。
吾有一列。名之曰「戊」。
有數一。名之曰「我忘了」。
吾有inf列。名之曰「...1」。「...2」。「...3」。「...4」。...「...inf」。
loop 甲
加「乙」以一。名之曰「丙」。昔之「乙」者。今「丙」是矣。
乘「丙」以「丙」。加其以一。名之曰「丙丁」。昔之「丙」者。今「丁」是矣。
施「正弦」於「丙」。
充「戊」以「丙」。
loop 戊.length
加「我忘了」以一。名之曰「是辛嗎?」
乘「戊[我忘了]」以「戊[是辛嗎?]」。名之曰「不知道」。
加「我忘了」以二。名之曰「啥?」。昔之「我忘了」者。今「啥?」是矣。
充「...1」以「不知道」。
loop ...<num>length %<num>=range(1,inf)
加「我忘了」以一。名之曰「是辛嗎?」。
乘「...<num>[我忘了]」以「...<num>[是辛嗎?]」。名之曰「不知道」。
加「我忘了」以二。名之曰「啥?」。昔之「我忘了」者。今「啥?」是矣。
充「...<num>」以「不知道」。
if ...<num>[2]=...<num>[1]:
有數<num>。名之曰「啊哈!」。
break
有數「啊哈!」。書之。
So hard
This Esolang must be able to input 2 integers and output their sum. Additional, to be more PrySigneToFry-complete, this Esolang must be able to do Disan Count.
WHAT?
#Output sum
有數input("Type first number")。名之曰「甲」
有數input("Type second number")。名之曰「乙」
加「甲」以「乙」。書之
#Disan Count
有數input("Type number")。名之曰「甲」
有數零。名之曰「乙」。書之
loop inf
加「乙」以一。名之曰「丙」。昔之「甲」者。今「丙」是矣。
除「乙」以二。名之曰「丁」。
try:
int(丁)
except: %oof=乙
吾有一言。曰「「<oof> is prime」」。書之。
else: %oof=乙
吾有一言。曰「「<oof> is even」」。書之。