intellij-awk
intellij-awk copied to clipboard
The missing IntelliJ IDEA language support plugin for AWK
![image](https://user-images.githubusercontent.com/11706893/115939049-6f5f2e80-a4a5-11eb-8787-bd164352ab51.png)
Looks like this is not cross-dialect ``` $ mawk 'function a (s) { print s } BEGIN { a ("A") }' A $ gawk 'function a (s) { print s...
See: - https://github.com/xonixx/intellij-awk/issues/73
Instead on relying on function naming `init*()` can rely on function being called from `BEGIN` block
See https://github.com/xonixx/intellij-awk/issues/57
Relates to https://github.com/xonixx/intellij-awk/issues/69 Understand what to do: ``` $ ./soft/gawk51 'function foo(gsub) { print gsub } BEGIN { foo(123) }' gawk51: cmd. line:1: function foo(gsub) { print gsub } BEGIN...
Should fail parsing: ```awk if::junk = 1 foo::match = 3 ```
https://invisible-island.net/mawk/