daniel-sc / bash-shell-to-bat-converter

Converter for bash shell scripts to windows batch files.
https://daniel-sc.github.io/bash-shell-to-bat-converter
MIT License
229 stars 45 forks source link

converter doesn't like the `function` keyword. #65

Closed daniel-sc closed 1 year ago

daniel-sc commented 1 year ago
          Today I discovered that the converter doesn't like the `function` keyword.
function hisayer() {
echo "hi"
}
hisayer

Results in parse error: Error: Parse error on line 1: Unexpected 'OPEN_PAREN'

Originally posted by @TurekBot in https://github.com/daniel-sc/bash-shell-to-bat-converter/issues/10#issuecomment-1408935929