You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash
ang=1
while [ $ang -le 360 ]
do
echo "ang=$ang"
if [ $ang -gt 180 ]
then
newang=`expr $ang - 360`
else
newang=$ang
fi
3Drotate tilt=30 pan=$newang zoom=-1.5 mandril.jpg $tmp
done
Unable to parse script
Line 12, col 3:
11 | fi
> 12 | 3Drotate tilt=30 pan=$newang zoom=-1.5 mandril.jpg $tmp
^
13 |
Expected not an alpha-numeric character
Please include this output in the bug report
Please file a bug report at git+https://github.com/nfischer/shelljs-transpiler.git
```
The text was updated successfully, but these errors were encountered:
Seems it will fail if when calling a command which name start with a digit. probably around
Seems like a bug in the Bashword definition. echo 3three parses as echo(3, 'three') instead of echo('3three'). Bugfixes are encouraged, I don't actively work on this project anymore.
Aja, unfortunately I'm not currently using it, but if that's the case in the future I will. Also just a comment seems to be a descent grammar for bash but not peg but antlr https://github.com/antlr/grammars-v4, just in case. Thanks!
Seems it will fail if when calling a command which name start with a digit. probably around :
shelljs-transpiler/src/bash.ohm
Line 103 in a0fd697
BTW which grammar syntax are you using ?
The text was updated successfully, but these errors were encountered: