This adds a JSON server example for rivescript-go.
Unlike the JSON server example in the Python version, the Go one is suitable for production use (given some caveats). As such it provides many command line options to control and tune the server's behavior.
See its README for details.
This also fixes a bug in the parser where lines weren't trimmed after inline comments are removed.
This adds a JSON server example for rivescript-go.
Unlike the JSON server example in the Python version, the Go one is suitable for production use (given some caveats). As such it provides many command line options to control and tune the server's behavior.
See its README for details.
This also fixes a bug in the parser where lines weren't trimmed after inline comments are removed.