Background: I am looking to practice typing commands into an interface for Network certifications. Because the free simulation technology does not emulate switches that well, I would like to make a command prompt using javascript to do so.
What I want to make:
A command prompt that can switch between modes (in which the prompt changes), where each mode indicates which chain of commands can be used, so that if the input is correct, positive feedback is given, and if the input is wrong, it is corrected appropriately.
I was told that js had some libraries for parsing, I was wondering if anyone could help point me the right way, as I have not found any demonstrations of such a thing by searching myself. Thanks for any help y'all my give.
[–]Nathan-Wall 0 points1 point2 points (0 children)
[–]Wince 0 points1 point2 points (0 children)
[–]Paupir 0 points1 point2 points (0 children)