pallene-lang / pallene

Pallene Compiler
MIT License
697 stars 29 forks source link

--emit-lua: Don't "math.ln=math.log" at the start of every file #630

Closed hugomg closed 2 months ago

hugomg commented 3 months ago

It cluttered the start of every file, for something that was a corner case. I've replaced it with a simple gsub for math.ln-->math.log. It's not perfect, but should be good enough until we can get rid of math.ln.

hugomg commented 3 months ago

Wait a second... I need to edit the input before I compile it, otherwise the indexing math will be off.

hugomg commented 2 months ago

Properly implemented in #631