User:YamTokWae/Sandbox
Jump to navigation
Jump to search
New Malbolge?→Filename will be the option. (how many letters?)
How Pxem can be improved?
.p
,.o
, and.n
:I'm not sure I should output newlines or shouldn't.- Why don't you tell from lowercase to UPPERCASE?
- So many features are very ambiguous.
New Standard/Extension of Pxem "TpayamPxem 2018 Standard"
- lowercase and UPPERCASE will be told clearly.
- Example.
ak.-akbuzz.-ak4.-akfizz.-ak2.-1.p05.-.tab.z01.-.c.m.+.c.t05.-.%.w.s01.-.m03.-.%.W.s.m.nak.-.p00.-.c.c.c.a.wak.-fizz.p00.-.c.c.a.a.w01.-.m03.-.%.w.sak.-buzz.p00.-.c.c.a.wak.-fizzbuzz.p00.-.c.a.a.md2.-02.-.!.a.d.pxe
will never work anymore: writeak.-akbuzz.-ak4.-akfizz.-ak2.-1.p05.-.tab.z01.-.c.m.+.c.t05.-.%.w.s01.-.m03.-.%.w.s.m.nak.-.p00.-.c.c.c.a.wak.-fizz.p00.-.c.c.a.a.w01.-.m03.-.%.w.sak.-buzz.p00.-.c.c.a.wak.-fizzbuzz.p00.-.c.a.a.md2.-02.-.!.a.d.pxe
instead.
- Example.
- New Commands and Command Changes
.p
,.o
, and.n
output newline too while.P
,.O
, and.N
won't..w
,.x
,.y
, and.z
will have these options:- Should the content of stack be empty when you do .x, .y, or .z and stack has only a data?
- Should you allow to jump to .a if stack's elements are not enough?
- Some Clarifications
- (If possible)You can define new functions on content of file!
- But in this case the format of content of file must be like below:
(content you will run with .e or print with .f, in a line) [newline] (function name(it must be like ".g", ".j", and "(a dot and another character)")) [tab](content of function in a line) [newline] (and so on....)
Pxem + Brainfuck = Pxemfu-?
- must be
.pf
- Has a vector, a stack, and a temporary region
- Pxem's commands must begin with . while Bf's must be with ,
- ,+:Increment the vector .+:pop twice and push back those sum
Programming Language using toki pona?
toki pali pona li toki pali kepeken toki pona.
- Restrictions?
- You can use characters below only.
- a e i j k l m n o p s t u w . , : ! ? A E I J K L M N O P S T U W
- How to declare new variables?
- Like these.
- o pali e poki Esan!
- variable named "Esan" will be created.
- poki Esolan li lon.
- variable named "Esolan" will be created.
- o pali e poki Esan!
- How to substitute values to variables
- If you are substituting numeral ones...
- poki Esan o jo e nanpa tu wan!
- variable "Esan" will have 3.
- nanpa luka luka li lon insa poki Esolan.
- variable "Esolan" will have 10.
- o pana e nanpa mute tawa poki Niju!
- variable "Nuju" will have 20.
- poki Esan o jo e nanpa tu wan!
- What about characters?→Perhaps no way because I'm not sure how you say the word "characters" in toki pona.
- Strings? Below.
- poki Kijalata o jo e ni: sina wile ala wile toki kepeken toki pona?
- "Kijalata" will have "sina wile ala wile toki kepeken toki pona?"
- poki Kijalata o jo e ni: sina wile ala wile toki kepeken toki pona?
- Numeral Systems
- Unsigned integers only, for now.
- How to output?
- o toki e ni: toki!
- "toki!" will be output.
- How to output new lines?
- I must find the word "new line" in toki pona....
also
- poki Metaka nanpa tu wan
- Metaka[3]
- in toki pali pona, index begins with 1.
- poki Metaka nanpa tu wan li jo ala jo e nanpa tu wan?
- if(Metaka[3]==3)
- poki ni li jo la o toki e ni
- pona a!
- if(Metaka[3]==3) cout << "pona a!";
- poki ni li jo ala la toki e ni
- ike a!
- else cout << "ike a!";