Closed AlbinShaji closed 6 years ago
u have to include type="text/thengascript" with script tag. example,
<script src="node_modules/thengascript/thengascript.js"></script>
<script type="text/thengascript">
var ക = 2; var ച = 4;
document.write(ക + ച);
function വിളി(പേര്) {
document.write( " കമോണ്ട്രാ " + പേര് + "!");
};
വിളി("മഹേഷേ");
</script>
The script has been pushed online, can you please verify if it's working now?
Update: Plan is to implement parsing using Acorn now: See https://github.com/bunchaeffinamateurs/thengascript/issues/8
as you can see in the script even the examples you guys gave are not working in a proper way.