WinBatch Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: ol4ol on July 17, 2017, 07:36:28 am

Title: Syntax Checker
Post by: ol4ol on July 17, 2017, 07:36:28 am
I noticed in the most recent release it stated there may be plans for a syntax checker to be implemented down the road. Just wondering if there are rough timelines around when that may occur, as it would save my team a great deal of time. Thanks for the consideration.
Title: Re: Syntax Checker
Post by: td on July 17, 2017, 11:33:34 am
No timeline.  The new company will be following the old WindowWare policy of not per-announcing releases - it is better to surprise than disappoint.

But thanks for confirm interest in this particular bit of functionality.
Title: Re: Syntax Checker
Post by: ....IFICantBYTE on July 18, 2017, 09:36:05 pm
There was a WinBatch forum member who had written a very good WinBatch Syntax checking utility about 10 years ago.... his name was Steffen Fraas (last known email for him was: sfraas@zoo.co.uk)  - not sure if he is still around and/or if his utility is available and up-to-date though.
Title: Re: Syntax Checker
Post by: td on July 19, 2017, 05:44:23 am
There are several in the Tech Database but they are all out of date to some extent:

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Samples~from~Users/Syntax~Checker+Another~Syntax~Checker.txt (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Samples~from~Users/Syntax~Checker+Another~Syntax~Checker.txt)

and

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Samples~from~Users/Syntax~Checker+Syntax~Checker~and~Other~Utilities~from~Serge.txt (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Samples~from~Users/Syntax~Checker+Syntax~Checker~and~Other~Utilities~from~Serge.txt)

The integrated syntax checker we have in mind would use the actual interpreter so it will never get out of date, be written in native code so that it would be extremely fast, and include click to go to the error functionality.
Title: Re: Syntax Checker
Post by: kdmoyers on July 20, 2017, 10:35:10 am
Wow! That sounds like [1] awesome sauce  AND  [2] a lot of work
Hope it works out.
Title: Re: Syntax Checker
Post by: td on July 20, 2017, 12:51:53 pm
The syntax checking is straight forward but the IDE integration could be a bit tricky.