2014-04-04 11:06 GMT+02:00 Jan Nijtmans <jan.nijtm...@gmail.com>:
> Since th1 is supposed to be a subset of Tcl, I don't think
> that th1 should invent any syntax which Tcl doesn't support.
> (Feel free to write a Tcl TIP, but I don't think it has a high
> chance to be accepted.)

Noted that the floating point format accepted for TH1
is a subset of that accepted by Tcl already:

    $ tclsh8.6
    % expr 0+1.
    1.0
    % expr 0+1e-1
    0.1

    $ fossil test-th-eval "expr 0+1."
    TH_ERROR: expected number, got: "1."
    $ fossil test-th-eval "expr 0+1e-1"
    TH_ERROR: syntax error in expression: "0+1e-1"

I'm not going to enhance fossil to accept the same
floating point syntax as Tcl (since I simply don't need
it), but if someone else needs it I wouldn't object.

Regards,
       Jan Nijtmans
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to