schorrm / ypp

Yid++ Compiler
101 stars 5 forks source link

Shem Hashem can't be optimized by ypp compiler #4

Open yehuda-c opened 5 years ago

yehuda-c commented 5 years ago

Unfortunately, the compiler is not able to optimize code which contains shem Hashem. Instead, for fear of being oyver on mechikas Hashem, the compiler simply fails with a segmentation fault. This renders the compiler unusable rachmono litzlan. With anovah I suggest parsing the Shem hashem and replacing the byte code with kinuyyim, such that code can be optimized effectively.

Kol tuv.

schorrm commented 5 years ago

Sheimos in code? Oy oy oy. What kind of oysvorf, what vilde chaye does that? Shouldn’t compile in the first place.