I'm trying to port some C code to LLJS using a simple string replacement script. In the C code, I have some logic like:
u8 i = (u8) ~(u8) (1 << 3);
but when attempting to compile that with LLJS compiler, I get an error:
t.js:4:18: error: Unexpected token ~
let u8 i = (u8) ~(u8) (1 << 3);
Seems it doesn't like the ~ char.