Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

hugomg
Copy link
Member

@hugomg hugomg commented Aug 31, 2024

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.

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 hugomg marked this pull request as draft August 31, 2024 17:49
@hugomg
Copy link
Member Author

hugomg commented Aug 31, 2024

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

@hugomg hugomg closed this Sep 5, 2024
@hugomg
Copy link
Member Author

hugomg commented Sep 5, 2024

Properly implemented in #631

@hugomg hugomg deleted the remove-math-ln-shim branch September 5, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant