Between "+=()[]", "+>()[]" and "!<()[]", which one will result in less jsfuck characters per code character?
Sylvain Pollet-Villard
@sylvainpolletvillard
= can be used to store some patterns and avoid repetition, so it's the best choice here
Donald Tsang
@DonaldTsang
@sylvainpolletvillard The problem arises when I am making a char-to-char translator, assuming that I am not using any shortcuts. The only goal is for each ASCII character to be represented by the shortest sequence of "the mighty six".
Sylvain Pollet-Villard
@sylvainpolletvillard
after a few dozens of characters you generaly want to use String.fromCharCode
JSFuck team has made advanced researches on how to save chars for each character representation but I don't think they tried to optimize a String.fromCharCode based compiler
Edoardo Gargano
@cnt000
hi all
Anton Khlynovskiy
@subzey
Hi!
Sylvain Pollet-Villard
@sylvainpolletvillard
hello guys
Edoardo Gargano
@cnt000
guys, this is amazing
can you explain me how translate alert ?
i understand basic theory like numbers, array, but ho to code a "primitive"?
Finally a working compiler ! It has been hard to write compared to JSFuck subset. I suggest you to read the source, crazy stuff in there
Alexander Zaytsev
@hazzik
Nice!
farteryhr
@farteryhr
a small idea, anyone tried to mess around "new Date(NUM)"?
Sylvain Pollet-Villard
@sylvainpolletvillard
how do you bring the new operator ? requires eval() and wD
Mohamed Aymane Zizi
@AymaneZizi
hello guys, what about the inverse, instead of entering alert(1) and we got the square barracks, we want to decode the square barracks to form of alert (..), is there any solution ?
Alexander Zaytsev
@hazzik
@AymaneZizi remove trailing ()
Sylvain Pollet-Villard
@sylvainpolletvillard
@hazzik or use prepack :)
Martin Datsev
@mortein69_twitter
can we use []["find"]["constructor"]("return true")() for booleans and save 1 symbol (!)
George Kalpakas
@gkalpak
How are you going to get constructor. IIRC, we need booleans to get some of the letters for constructor (but I might be wrong).
Martin Datsev
@mortein69_twitter
hmm you must be right
Sylvain Pollet-Villard
@sylvainpolletvillard
@mortein69_twitter with only []+ subset, we can get :