Custom network protocol command parser
- Ragel
- Graphviz (if you want to plot the generated diagram).
- C Compiler
- GNU Make
You probably want linux or OSX for this, good luck on windows.
$ make all
This will also generate a diagram of the assignment parsing FSM as parse_assignment.png
$ ./text_parse_assignment
fish = "haddock"
Name: fish
Value = (str): haddock
crabs = 12
Name: crabs
Value = (int): 12
$ ./test_netprot_process_command
SET CHANNEL NAME='CHN 1'
+OK
GET CHANNEL NAME
+CHN 1