Community discussions

MikroTik App
 
zetdotpi
just joined
Topic Author
Posts: 4
Joined: Wed Oct 02, 2019 10:08 am

Can one check script syntax without using RouterOS?

Thu Dec 07, 2023 8:31 pm

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?
 
optio
Long time Member
Long time Member
Posts: 618
Joined: Mon Dec 26, 2022 2:57 pm

Re: Can one check script syntax without using RouterOS?

Thu Dec 07, 2023 9:26 pm

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.

Who is online

Users browsing this forum: No registered users and 14 guests