thengascript
thengascript copied to clipboard
Reference Error in malayalam
INPUT:
let k = "console.log('english')";
eval(k);
OUTPUT:
english
I tried this in Thengascript INPUT:
ആവട്ടെ ക = "കാണിക്കുക('മലയാളം')";
മൂല്യനിർണ്ണയം(ക);
OUTPUT:
Error: ReferenceError: കാണിക്കുക is not defined
Tested in nodejs
Hey, that’s a good report. Well spotted! This can right now be solved by using മൂല്യനിർണ്ണയം(compile(ക)) where ക will be compiled to Thengascript and then evaluated.
A better way might be to put the compile step inside മൂല്യനിർണ്ണയം. Though, I think it might have some wrinkles if not thought through before pulling off. So let me give it a bit of time before I commit. Please consider using the compile inside for now.
And thanks a lot for the consistent bug reports 🙏❤️.
any updates