git clone [email protected]:757aac28da96a131afdc.git indexlang-tools
cd indexlang-tools
make prep
./compiler "$(./converter "console.log('hello world');")"
./converter "$(cat jscode.js)" > test.indexlang
./compiler "$(cat test.indexlang)"
if{} = 8,5,26,27
console.log('hello world'); = 2,14,13,18,14,11,4,28,11,14,6,29,30,7,4,11,11,14,33,22,14,17,11,3,30,32,31
for(var i = 0; i < 10; i++){ console.log('hello world '+i); } = 5,14,17,29,21,0,17,47,8,47,36,47,37,31,47,8,47,33,47,38,37,31,47,8,35,35,32,26,47,2,14,13,18,14,11,4,28,11,14,6,29,30,7,4,11,11,14,47,22,14,17,11,3,47,30,35,8,32,31,47,27
INTERPRETER=python ./compiler "$(./converter "print 'hola'")"