Page 1 of 1

Can one check script syntax without using RouterOS?

Posted: Thu Dec 07, 2023 8:31 pm
by zetdotpi
Is there any way I can check script syntax without using RouterOS or any Mikrotik device? Any library or cli application? Or maybe something like docker image of RouterOS?

Re: Can one check script syntax without using RouterOS?

Posted: Thu Dec 07, 2023 9:26 pm
by optio
I think non-RouterOS rsc script interpreter doesn't exists, there are syntax highlighting plugins/extensions for some text editors/ide (notepad++, sublime text, vsc) but highlighting can't guarantee if syntax is accurate. You can use CHR on VirtualBox as free solution for this.