Outputtting uuid in tlcore
tlcore --uuid
%%
x=5;;
%%
x;;
4557f67592cb498fa684d50f5511a65
intmp<5>
This is neat, here are a few comments.
1. The output from the equations section should be separated from the output from the expressions section with a %%.
2. The uuid “4557f67592cb498fa684d50f5511a65” should read “uuid<4557f67592cb498fa684d50f5511a65>“.
3. The output from the equations section is not taking into account the –verbose option.
4. In –verbose mode, we should output equations, demands and expressions as eqn<…>, dem<…> and expr<…>, respectively.
5. Should there be ;; at the end of each line of output?
6. Should there be a separator between the input and output? As in a line —?
jarro2783 11:21 on 2010/08/26 Permalink |
uuid or uuid … ?
The rest is easily fixed.
cartesianprogramming 11:23 on 2010/08/26 Permalink |
Problems with angle brackets. Now fixed.
jarro2783 11:24 on 2010/08/26 Permalink
and my reply got broken with the angle brackets too, that doesn’t say what I intended it to.
cartesianprogramming 12:01 on 2010/08/26 Permalink |
The fix looks good. Points 5 and 6 should be tried out. For point 6, that is two dashes on a separate line, to separate the input lines from the output lines. In the reactive mode, there should be two lines with two dashes, before and after each output. If this is too verbose, we can remove it.