diff options
Diffstat (limited to 'src/interp/sys-driver.boot')
-rw-r--r-- | src/interp/sys-driver.boot | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interp/sys-driver.boot b/src/interp/sys-driver.boot index 9b35d618..35681028 100644 --- a/src/interp/sys-driver.boot +++ b/src/interp/sys-driver.boot @@ -78,7 +78,6 @@ systemRootDirectory() == ensureTrailingSlash cdr dir $systemInstallationDirectory - +++ Returns the system algebra directory, as specified on command +++ line. nil, otherwise. systemAlgebraDirectory() == @@ -86,6 +85,12 @@ systemAlgebraDirectory() == ensureTrailingSlash cdr dir nil ++++ Returns a path to the directory containing algebra bootstsrap files. +algebraBootstrapDir() == + dir := ASSOC(Option '"strap",%systemOptions()) => + ensureTrailingSlash rest dir + nil + ++ stdStreamIsTerminal: ++ returns 1 if the standard stream is attached to a terminal; ++ otherwise 0. |