-
Notifications
You must be signed in to change notification settings - Fork 82
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
[Feature] Loop used with range should compile to for loop #120
Comments
Also, I think the syntax for the for-loop is not optimized, since it relies on the external command ( for ((i=0; i<repeated_times; i++)); do
... |
@daoanhthanh this is fixed in #107. Stay tuned. The optimisation features will come soon. I'll rename this issue title to be focused on the for-loop optimisation. |
Ph0enixKM
changed the title
Does not add shebang after compiling.
✨ Loop used with range should compile to for loop
May 28, 2024
Ph0enixKM
changed the title
✨ Loop used with range should compile to for loop
[Feature] Loop used with range should compile to for loop
Jul 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I read your documentation and noticed that one of Amber's features is adding Shebang at the top of the compiled file.
However, in my case, it does not work.
My
.ab
file:and my
.sh
file generated byamber input.ab output.sh
Notice that there is no shebang at the top.
Is this a bug, or did I miss some information here?
The text was updated successfully, but these errors were encountered: