This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const zero = '+[]'; // 1 | |
const one = '+!![]'; // 1 | |
const two = '('+ one + one +')'; // 2 | |
const three = '('+ one + one + one +')'; // 3 | |
const four = '('+ one + one + '<<' + one +')'; // 3 | |
const five = '('+ four + one +')'; // 4 | |
const six = '('+ one + one + one + '<<' + one +')'; // 4 | |
const seven = '('+ six + one +')'; | |
const eight = '('+ one + one + '<<' + one + one +')'; // 4 | |
const int_lits = {0: zero, 1: one, 2: two, 3: three, 4: four, 5: five, 6: six, 7: seven, 8: eight}; |