[muddle] [PATCH] Define rules for for fix and float

kaz at lambdaverse.org kaz at lambdaverse.org
Mon Feb 26 13:44:09 PST 2018


Merged.

On Fri, Feb 23, 2018 at 08:01:05PM -0800, Jason Self wrote:
> Signed-off-by: Jason Self <j at jxself.org>
> ---
>  ebnf.txt | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/ebnf.txt b/ebnf.txt
> index 1428afd..712ef6b 100644
> --- a/ebnf.txt
> +++ b/ebnf.txt
> @@ -14,4 +14,15 @@
>    alone or by combination of their contribution(s) with the work.
>  *)
>  
> -character = ? Any valid Unicode code point ? ;
> \ No newline at end of file
> +base8 = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" ;
> +
> +character = ? Any valid Unicode code point ? ;
> +
> +digit = base8 | "8" | "9" ;
> +
> +fix = ( "*" , base8 , { base8 } , "*" ) | ( [ ( "+" | "-" ) ] ,
> +      digit , { digit } , [ "." ] , [ ( "e" | "E" ) ,
> +      [ ( "+" | "-" ) ] , digit , { digit } ] ) ;
> +
> +float = [ ( "+" | "-" ) ] , { digit } , "." , digit ,
> +        [ ( "e" | "E" ) , [ ( "+" | "-" ) ] , digit , { digit } ] ;
> \ No newline at end of file
> -- 
> 1.9.1
> 
> _______________________________________________
> muddle mailing list
> muddle at muddlers.org
> https://muddlers.org/cgi-bin/mailman/listinfo/muddle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://muddlers.org/pipermail/muddle/attachments/20180226/6a71b82f/attachment.sig>


More information about the muddle mailing list