Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
For anyone who doesn't understand this: JavaScript has a very obvious way to interpret this and generate a string: See here https://github.com/denysdovhan/...
To generate such strings see here:
https://bluewings.github.io/en/... -
@kobenz Brainfuck makes at least sense for what is trying to do. JavaScript is supposed to be a practical language.
-
@kobenz >>>+[[-]>>[-]++>+>+++++++[<++++>>++<-]++>>+>+>+++++[>++>++++++<<-]+>>>,<++[[>[ ->>]<[>>]<<-]<[<]<+>>[>]>[<+>-[[<+>-]>]<[[[-]<]++<-[<+++++++++>[<->-]>>]>>]]<< ]<]<[[<]>[[>]>>[>>]+[<<]<[<]<+>>-]>[>]+[->>]<<<<[[<<]<[<]+<<[+>+<<-[>-->+<<-[> +<[>>+<<-]]]>[<+>-]<]++>>-->[>]>>[>>]]<<[>>+<[[<]<]>[[<<]<[<]+[-<+>>-[<<+>++>- [<->[<<+>>-]]]<[>+<-]>]>[>]>]>[>>]>>]<<[>>+>>+>>]<<[->>>>>>>>]<<[>.>>>>>>>]<<[ >->>>>>]<<[>,>>>]<<[>+>]<<[+<<]<]
-
@kobenz Sorry, i don't understand that. Can you rephrase it with a different sentence?
-
@kobenz I am too stupid to understand that.
Assuming it is brainfuck: There is no input. But the output depends on cell size, with a 8 bit cell the output is "Wiqqe" followed by some binary data i don't understand.
00000000: 5769 7171 6587 b1a8 8ca9 adb4 abb7 b5ac Wiqqe...........
00000010: b9b0 6b11 180f 0409 02fb f6ef e4eb e2cd ..k.............
00000020: fb02 fdf6 ....
Or: V2lxcWWHsaiMqa20q7e1rLmwaxEYDwQJAvv27+Tr4s37Av32
??? What does that mean? -
@kobenz You know that >>>+[[-]>>[-]++>+>+++++++[<++++>>++<-]++>>+>+>+++++[>++>++++++<<-]+>>>,<++[[>[ ->>]<[>>]<<-]<[<]<+>>[>]>[<+>-[[<+>-]>]<[[[-]<]++<-[<+++++++++>[<->-]>>]>>]]<< ]<]<[[<]>[[>]>>[>>]+[<<]<[<]<+>>-]>[>]+[->>]<<<<[[<<]<[<]+<<[+>+<<-[>-->+<<-[> +<[>>+<<-]]]>[<+>-]<]++>>-->[>]>>[>>]]<<[>>+<[[<]<]>[[<<]<[<]+[-<+>>-[<<+>++>- [<->[<<+>>-]]]<[>+<-]>]>[>]>]>[>>]>>]<<[>>+>>+>>]<<[->>>>>>>>]<<[>.>>>>>>>]<<[ >->>>>>]<<[>,>>>]<<[>+>]<<[+<<]<] is a interpreter for brainfuck? (not written by me).
-
@happygimp0 challange: write a program in brainfuck which takes another brainfuck program as input and then outputs "yes" if that input program eventually halts and otherwise "no".
-
@Lensflare For that it either has only a limited number of cells with a limited maximum, a limited number of steps or i would have to solve every mathematical problem (and there are an infinite amount of them).
Limited means: If it wants to access more cells, it has to wrap around (same with the value of a cell which can't be infinite). Or after N steps it is considered that it doesn't halt, even if it would after N+M steps. -
@Lensflare I have a much easier challenge for you: Write a program that outputs the busy beaver numbers from 0 to 100. Couldn't be that hard?
I mean, just start with:
BB0: 0
BB1: 1
BB2: 4
BB3: 6
BB4: 13
And then continue till BB100
([]+{})[+!![]+[+[]]]+(![]+[])[!+[]+!![]+!![]]+(+{}+{})[+!![]+[+[]]]+(![]+[]+[][[]])[+!![]+[+[]]]+(![]+[])[!+[]+!![]+!![]]+(+{}+{})[+!![]+[+[]]]+([]+{})[+!![]+[+!![]]]+(![]+[])[+!![]]+(![]+[])[!+[]+!![]+!![]]+(+{}+[]+ +!![]/+![])[+!![]+[+[]]]+(+{}+{})[+!![]+[+[]]]+(!![]+[])[+[]]+([]+{})[+!![]]+(+{}+{})[+!![]+[+[]]]+(!![]+[])[+!![]]+([]+{})[+!![]+[+!![]]]+(![]+[])[+!![]]+([][[]]+[])[!+[]+!![]]+(+{}+{})[+!![]+[+[]]]+(![]+[])[+!![]]+([][[]]+[])[+!![]]+([][[]]+[])[!+[]+!![]]+(+{}+{})[+!![]+[+[]]]+([][[]]+[])[+[]]+([][[]]+[])[+!![]]+([][[]]+[])[!+[]+!![]]+([]+{})[+!![]+[+!![]]]+(!![]+[])[+!![]]+(![]+[])[!+[]+!![]+!![]]+(!![]+[])[+[]]+(![]+[])[+!![]]+([][[]]+[])[+!![]]+([][[]]+[])[!+[]+!![]]
joke/meme
readable
obvious
javascript