We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that some gawk functions are not supported by awka. Could those functions be supported?
$ awk 'BEGIN { x=x; print typeof(x) }' unassigned $ awka 'BEGIN { x=x; print typeof(x) }' > a.c $ gcc -lawka a.c a.c:16:44: error: implicit declaration of function 'typeof_fn' is invalid in C99 [-Werror,-Wimplicit-function-declaration] awka_print(NULL, 0, 0, awka_arg1(a_TEMP, typeof_fn(awka_arg1(a_TEMP, x_awk)))); ^ a.c:16:44: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'a_VAR *' [-Wint-conversion] awka_print(NULL, 0, 0, awka_arg1(a_TEMP, typeof_fn(awka_arg1(a_TEMP, x_awk)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/libawka.h:1405:35: note: passing argument to parameter here a_VARARG * awka_arg1(char, a_VAR *); ^ 1 warning and 1 error generated.
The text was updated successfully, but these errors were encountered:
typeof() and isarry() added in #12
Sorry, something went wrong.
typeof() is still not fully compatible. See below.
typeof()
main.sh> awk_code='BEGIN { x=x; print typeof(x) }' main.sh> awka "$awk_code" > "$tmpdir"/a.c main.sh> gcc -lawka -o "$tmpdir"/a.out "$tmpdir"/a.c main.sh> gawk "$awk_code" unassigned main.sh> "$tmpdir"/a.out untyped
No branches or pull requests
It seems that some gawk functions are not supported by awka. Could those functions be supported?
The text was updated successfully, but these errors were encountered: