Recognises a floating-point number, i.e., an integer with a decimal part. One of them (either integer or decimal part) must be present.
Function to be executed if recognition succeeds. Character stream making up the token is passed as parameter to this function
Function to be executed if recognition does not succeed. Position of
Anonymous function, returning a list.
From input parameters, an anonymous function is defined. This function admits just one parameter, stream, with type
streamParser, and returns a three-field list:
"ok" or "fail"
error function output, depending on the case
With information about the input, after success or failure in recognition
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.