This PR adds a -y command line option to format the input instead of compiling it. -f may be used to set the formatting parameters, e.g. ./qb64pe -y source/qb64pe.bas -f:autolayout=true -f:keywordcapitals=true -f:autoindent=true -f:autoindentsize=4 -f:indentsubs=true -o source/qb64pe.bas
Leaving in draft state until some tests for format mode can also be added.
Closes #215
This PR adds a
-y
command line option to format the input instead of compiling it.-f
may be used to set the formatting parameters, e.g../qb64pe -y source/qb64pe.bas -f:autolayout=true -f:keywordcapitals=true -f:autoindent=true -f:autoindentsize=4 -f:indentsubs=true -o source/qb64pe.bas
Leaving in draft state until some tests for format mode can also be added.