thengascript icon indicating copy to clipboard operation
thengascript copied to clipboard

script transpiles string literals too.

Open shanavas786 opened this issue 5 years ago • 1 comments

console.log("ആണെങ്കിൽ")

prints if.

One solution could be to translate string to some intermediate representation before translating keywords.

shanavas786 avatar Oct 08 '18 09:10 shanavas786

Yup. I acknowledge this bug. In the process of writing a new parser to fix this.

prathyvsh avatar Oct 08 '18 15:10 prathyvsh

Ok ഇത് എങ്ങനെ ശരിയാക്കാൻ പറ്റും.

ByteJoseph avatar Oct 04 '23 02:10 ByteJoseph

Ok ഇത് എങ്ങനെ ശരിയാക്കാൻ പറ്റും.

ഈ വാരാവസാനം സമയം ഒത്തു വരുകയാങ്കിൽ ഒന്നു പണിഞ്ഞു നോക്കാം ബ്രൊ.

prathyvsh avatar Oct 04 '23 15:10 prathyvsh

Ok ഇത് എങ്ങനെ ശരിയാക്കാൻ പറ്റും.

ഈ വാരാവസാനം സമയം ഒത്തു വരുകയാങ്കിൽ ഒന്നു പണിഞ്ഞു നോക്കാം ബ്രൊ.

ഞാനും ശ്രമിക്കാം. ശരിയാകുവാണെങ്കാൽ ഇവിടെ വരാം.

ByteJoseph avatar Oct 06 '23 06:10 ByteJoseph

പാർസിങ്ങിന് esprima ഉപയോഗിച്ചൂടേ ?

shanavas786 avatar Oct 07 '23 14:10 shanavas786

@shanavas786 പരമാവതി മറ്റുള്ള ലൈബ്രറികൾ അശ്രയിക്കാതെ തേങ്ങാസ്ക്രിപ്റ്റ് നിർമ്മിക്കാനാണ് തുടർച്ചയായ പരിശ്രമം. പക്ഷെ കേരളത്തിൽ നിന്നും ആരെങ്കിലും ഒരു ജാവാസ്ക്രിപ്റ്റ് പാർസർ എഴുതിയിട്ടുണ്ടെങ്കിൽ അതിന്റെ അനുയോജ്യത ഒന്നു വിലയിരുത്തിയ ശേഷം ഉപയോഗിക്കാൻ ഞങ്ങൾ ഒരുക്കമാണ്!

prathyvsh avatar Oct 07 '23 20:10 prathyvsh

@its-joseph-230606 ഒരു പുതിയ പതിപ്പ് പ്രസിദ്ധീകരിച്ചിട്ടുണ്ട് (v0.1.3) ഉപയോഗിച്ച് നോക്കി അഭിപ്രായം അറിയിക്കാമോ?

prathyvsh avatar Oct 07 '23 23:10 prathyvsh

@its-joseph-230606 ഒരു പുതിയ പതിപ്പ് പ്രസിദ്ധീകരിച്ചിട്ടുണ്ട് (v0.1.3) ഉപയോഗിച്ച് നോക്കി അഭിപ്രായം അറിയിക്കാമോ?

Good. Issue solved

ByteJoseph avatar Oct 09 '23 03:10 ByteJoseph