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

Inline functions #319

Open
Sainan opened this issue Jul 17, 2023 · 0 comments
Open

Inline functions #319

Sainan opened this issue Jul 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Sainan
Copy link
Collaborator

Sainan commented Jul 17, 2023

For example, the following code:

inline function add(a, b)
    return a + b
end
print(add(1, 2))

should compile as if the following was written:

print(1 + 2)

Some work regarding this has already been done in #117.

@Sainan Sainan added the enhancement New feature or request label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant