NTMDev
(Math Is Fun!)
January 14, 2026, 3:50pm
1
BrainFK is well… an esoteric coding language. And the FK part stands for a not good word. But anyways, I made an interpreter for it in Desmos . It works, and is pretty cool. Everything works except for nested loops. So if anyone got a solution, I will be very happy.
People who might be interested: @port @Guzman_Tierno @Daniel_Grubbs @Daniel_Wekselgreene
port
(Thomas)
January 14, 2026, 3:52pm
2
i just realized, didnt someone kinda do this? Brainf### interpreter in Desmos
NTMDev
(Math Is Fun!)
January 14, 2026, 3:54pm
3
I mean, its extremely slow and mine is… uh well better (maybe im biased but like the graphics and stuff)
port
(Thomas)
January 14, 2026, 3:54pm
4
also the ascii aspect of it might be difficult for inputs and outputs
NTMDev
(Math Is Fun!)
January 14, 2026, 3:56pm
5
Like are you saying mine is bad or theirs? Cause I thought that you really wanted ascii output so I made a long character set.
port
(Thomas)
January 14, 2026, 3:57pm
6
yeah but did you make the part where it like translates the ascii properly?
NTMDev
(Math Is Fun!)
January 14, 2026, 3:58pm
7
Yes. for example, 65 → A and 48 → 0
NTMDev
(Math Is Fun!)
January 14, 2026, 4:00pm
9
NTMDev
(Math Is Fun!)
January 14, 2026, 4:06pm
10
@port , do you have any idea how to make nested loops?
port
(Thomas)
January 14, 2026, 4:08pm
11
didnt @anonymous_aardvark make them earlier? but again im not very good at desmos
I’m interested in your interpreter but for a week or two I’ll be really busy … so I won’t have time to check it …
port
(Thomas)
January 14, 2026, 4:47pm
13
if youre reading this heres a four function calculator
+>+>+>+>>>,.>++++[<---------->-]<-------[-<[>>+<<-]>>[<<++++++++++>>-]<[<+>-],.>++++[<---------->-]<–[>+<-]>[<<<<<<<->>>>>>>-[<<<<<<->>>>>>–[<<<<<->>>>>–[<<<<<<<+>+>+>>>>>[<+>-]]]]]<]>,.>++++[<---------->-]<-------[-<[>>+<<-]>>[<<++++++++++>>-]<[<+>-],.>++++[<---------->-]<-------[>+>+<<-]>>[<<+>>-] ← [-[-[-[-[-[-[-[-[-[<[-]>[-]]]]]]]]]]]<]<<<<<<<[->->->->>[>>+<<-]>[>[<<+>>>+<-]>[<+>-]<<-]>[-]<<<<<<<]>[->->->>>[<+>-]<<<<<]>[->->+>>[>+<-]>>+<[>-<[<+>-]]>[-<<<<->[>+<-]>>>]<<<[->-[>+<-]>>+<[>-<[<+>-]]>[-<<<<->[>+<-]>>>]<<<]>[<+>-]<<<<]>[->>>>>+[-<<<[>>>+>+<<<<-]>>>[<<<+>>>-]<<[>>+>>+<<<<-]>>[<<+>>-]>[->->>+<<[>+<-]>[>-<[<+>-]]>[-<<<<+<+<<[-]>>>>[<<<<+>>>>-]>>>]<<<]>[-]<<]<<[-]<[>+<-]>>[<<+>>-]<<<<]>>>[>>+[<<[>>>+>+<<<<-]>>>>[<<<<+>>>>-]+<[-[-[-[-[-[-[-[-[-[>-<<<<---------->+>>[-]]]]]]]]]]]>[ → [>]>++++[<++++++++++>-]<++++++++[<]<<<<[>>>>>[>]<+[<]<<<<-]>>-<[>+<[<+>-]]>>>]<<]>>>[>]>++++[<++++++++++>-]<++++++>>++++[<++++++++++>-]<++++++>>++++[<++++++++++>-]<++++++[<]<<<<]>+[<<[>>>+>+<<<<-]>>>>[<<<<+>>>>-]+<[-[-[-[-[-[-[-[-[-[>-<<<<---------->+>>[-]]]]]]]]]]]>[->>[>]>++++[<++++++++++>-]<++++++++[<]<<<<<[>>>>>>[>]<+[<]<<<<<-]>>-<[>+<[<+>-]]>>>]<<]<<<[->>>>>>>[>]>++++[<++++++++++>-]<+++++[<]<<<<<<]>>>>>>>[>]<[.<]
NTMDev
(Math Is Fun!)
January 14, 2026, 7:07pm
14
That’s okay. I understand
NTMDev
(Math Is Fun!)
January 14, 2026, 7:09pm
15
@port , should I add a lowercase character set or is upper good enough?
port
(Thomas)
January 14, 2026, 7:09pm
16
uppercase is fine, if you want to you can
NTMDev
(Math Is Fun!)
January 14, 2026, 7:11pm
17
Okay, I will just keep uppercase then