improved the interactive input handling if isocline is available
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-27 19:17:07 +09:00
parent a60bcfef80
commit 431840f77b
16 changed files with 311 additions and 68 deletions

View File

@ -372,6 +372,7 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
ISOCLINE_LIBS = @ISOCLINE_LIBS@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBM = @LIBM@

View File

@ -130,4 +130,17 @@ i := (- -16r123abcd128738279878172387123aabbea19849d8282882822332332 123)
k := -1919784483373631008405784517212288102153752573650638404319957951405
if (== i k) { printf "OK: i is %d\n" i k } \
else { printf "ERROR: i is not equal to %d\n" k }
a := #{
(if (> 10 20) true else false ): 10,
(if (< 10 20) true else false ): 20
}
b := (dic.get a true)
c := (dic.get a false)
if (== b 20) { printf "OK: b is %d\n" b } \
else { printf "ERROR: b is %d, not 20\n" b }
if (== c 10) { printf "OK: b is %d\n" b } \
else { printf "ERROR: b is %d, not 10\n" b }
} ## END