Notifications are newline terminated strings sent from clients to the Pedro server. A valid notification is a string that represents an atom, a list or a compound Pedro term (with a following newline). The Pedro server reads characters from a client until it gets a newline. The server will then attempt to parse the characters up to (but not including) the newline as a compound Pedro term. If this succeeds then the server processes the notification term; otherwise the string is ignored.
Examples (trailing newline removed):
Valid:info(fred, 42, "some string")
Invalid (not compound, atom or list):"bad"
X
Invalid (does not parse):f(a;b)
f([a,b))
The server will acknowledge the client with a 1 if the notification is valid and a 0 otherwise.