edu.isi.stella
Class SystemDefinition

java.lang.Object
  extended by edu.isi.stella.Stella_Object
      extended by edu.isi.stella.StandardObject
          extended by edu.isi.stella.SystemDefinition

public class SystemDefinition
extends StandardObject

The System-Definition class is used to define systems of files that constitute Stella applications.


Field Summary
 java.lang.String banner
           
 java.lang.String binaryRootDirectory
           
 java.lang.String cardinalModule
           
 Cons cppOnlyFiles
           
 Cons dataFiles
           
 Cons developmentSettings
           
 java.lang.String directory
           
 Cons files
           
 Symbol finalizationFunction
           
 Cons javaOnlyFiles
           
 Cons lispOnlyFiles
           
 boolean loadedP
           
 java.lang.String name
           
 java.lang.String nativeRootDirectory
           
 Cons preprocessedFiles
           
 Cons productionSettings
           
 Cons requiredSystems
           
 java.lang.String sourceRootDirectory
           
 boolean upToDateP
           
 
Constructor Summary
SystemDefinition()
           
 
Method Summary
static Stella_Object accessSystemDefinitionSlotValue(SystemDefinition self, Symbol slotname, Stella_Object value, boolean setvalueP)
           
static Cons collectStartupFormsFromSystemFile(SystemDefinition system)
           
static void computeOptimizationLevels(SystemDefinition system, boolean productionmodeP)
           
static void createSystemStartupFile(SystemDefinition system)
           
static Module getCardinalModule(SystemDefinition system)
           
static List getSystemFiles(SystemDefinition system, Keyword type, boolean probefilesP)
           
static SystemDefinition newSystemDefinition()
           
 Surrogate primaryType()
          Returns the primary type of self.
 void printObject(java.io.PrintStream stream)
           
static void runSystemFinalization(SystemDefinition system)
           
static void runSystemStartupFunction(SystemDefinition system)
           
static Cons systemDefinitionNativeFiles(SystemDefinition system)
           
static Cons systemDefinitionSourceFiles(SystemDefinition system)
           
static java.lang.String systemStartupFileName(SystemDefinition system)
           
 java.lang.String systemStartupFunctionName()
           
static Symbol systemStartupFunctionSymbol(SystemDefinition system)
           
static Cons yieldStartupRequiredSystems(SystemDefinition system)
           
 
Methods inherited from class edu.isi.stella.StandardObject
arrayTypeSpecifierP, baseTypeToTypeSpec, cantOverwriteActiveCollectionSlot, compatibleParameterTypesP, computeAnchoredTypeSpec, computeRelativeTypeSpec, conformingTypeSpecP, copyWrappedLiteral, cppNonPointerTypeP, cppReferenceTypeP, cppReferencizeType, cppTranslateAndPointerizeTypeSpec, cppTranslateAndReferencizeTypeSpec, cppTranslateTypeSpec, cppTypeWithoutInteriorPointersP, dropSlotValue, extractParameterType, extractRequiredArgumentValues, getSlot, hashCode_, idlTranslateTypeSpec, inverseSlotDemon, javaLiteralP, javaNativeLiteralWrapperNames, javaSpecialSetterName, javaTranslateArrayOfTypeSpec, javaTranslateTypeSpec, javaTranslateTypeSpecForFunction, javaTranslateTypeSpecHelper, javaYieldClassObjectArrayExpression, javaYieldClassObjectExpression, javaYieldFullyQualifiedTypeName, javaYieldTranslatedClassAndMethodNames, listifyTypeSpec, lookupClTypeFromStellaType, objectEqlP, putSlotValue, readSlotValue, runConstructorDemons, runDestructorDemons, runSlotDemons, runSlotGuardDemonsP, standardObjectP, subTypeSpecOfP, twoArgumentLeastCommonSupertype, typeSpecToBaseType, typeSpecToClass, typeToWalkedNullValueTree, validateTypeSpecifier, voidP, walkTypeSpecIsNativeTypeP, writeSlotValue, yieldTypeSpecTree
 
Methods inherited from class edu.isi.stella.Stella_Object
_, accessInContext, addPropertyValue, amPm, anchoredTypeSpecifierP, andOrNotTreeP, applyCoercionMethod, atomicExpressionP, bindToSurrogateP, booleanP, bootstrapIsaP, bquotify, cast, characterP, chooseSortPredicate, clConditionalizeTypeDeclarationTree, clTranslateAtomicTree, clTranslateATree, clTranslateBooleanTest, clTranslatePlainBooleanTest, clTranslateVerbatimBodySymbols, clYieldTypedExpressionTree, coerceATree, coerceEvaluatedTree, coerceMvTree, coerceOptionValue, coerceToBoolean, coerceToFloat, coerceToHashSet, coerceToModule, coerceToModuleName, coerceToString, coerceToSymbol, coerceToXmlElement, coerceValueToBoolean, coerceValueToFloat, coerceValueToString, coerceValueToType, coercibleP, collectFeatureList, collectKeyValueList, commonLispSymbolP, computeExpressionType, consify, consifyListsAndIterators, consP, consTreeMatchP, convertToLiteral, copyConsTree, cppArgumentIsStreamP, cppBinaryOperatorP, cppBlockP, cppMaybeOutputStatementWithParentheses, cppOperatorP, cppOutputAtomicExpression, cppOutputLiteral, cppOutputOneActualParameter, cppOutputStatement, cppOutputTypedEntity, cppPrognifyStatement, cppPrognP, cppStatementToList, cppStreamIsStandardOutputP, cpptrans, cppTranslateAtomicTree, cppTranslateATree, cppTranslatedArrayTypeP, csValueP, dateDivider, dateTimeDivider, day, dealWithAmPm, dealWithEra, dealWithNoonMidn, decrementReferenceCount, defaultOptionHandler, defineSystem, defmodule, deletedP, describe, describeObject, describeTersely, destructureMethodNameTree, deUglifyParseTree, either, eqlP, eqlToBooleanP, eqlToCharacterP, eqlToFloatP, eqlToIntegerP, eqlToLongIntegerP, eqlToStringP, equalConsTreesP, equalHashCode, equalP, era, estimatedEvaluationCost, evaluate, evaluateArgumentTree, evaluateAtomicTree, evaluateCommand, expandBquoteTree, filterModuleP, floatP, free, get, getObject, getProperty, hashlist, hashMemoizedArguments, helpBquotify, helpClTranslateATree, helpCoerceATree, helpLptrans, helpPrintOutline, helpTransformBooleanProceduralExpression, helpWalkATree, homeModule, hour, idlOutputAtomicExpression, idlOutputLiteral, idlOutputStatement, idlTranslateAtomicTree, idlTranslateATree, illegalTreeP, implodePathname, incrementallyTranslate, incrementReferenceCount, inlineUnwrapBoolean, inlineWrapBoolean, inModule, integerP, isaP, javaBinaryOperatorP, javaBlockP, javaEndOfLineTokenP, javaHelpOutputPrintStream, javaMaybeOutputStatementWithParentheses, javaOperatorP, javaOutputLiteral, javaOutputStatement, javaPrognP, javaStreamIsStandardOutputP, javaSymbolCaseP, javaTranslateAtomicTree, javaTranslateATree, javaTranslateWithNativeWrapper, jptrans, keywordP, legalTokenizerFromStateP, legalTokenizerStateP, legalTokenizerToStateP, literalEqlP, logLevelLE, longIntegerP, lptrans, makeEvaluatableBquoteTree, makeFileNameFromRelativePath, makeMemoizedValueEntry, makeMemoizedValueEntryn, matchConsTree, methodSlotP, minute, month, nameToString, nilP, noonMidn, numberWrapperToFloat, objectEqualP, objectHashCode, one, oneI, onlyIf, parametricTypeSpecifierP, parseArrayDimensionsSpec, parseOptions, parseTokenizerCharacterSpec, parseTokenizerStateModifiers, permanentCopy, permanentify, permanentifyForm, po, prettyPrintLiteral, primaryClass, printOutline, printStellaCode, printStellaDefinition, printUndefinedSuperClasses, proceduralExpressionP, ptrans, publicSlots, registerRecycledItem, runOptionHandlerP, safeEqualHashCode, safeHashCode, safePrimaryType, safeYieldTypeSpecifier, searchConsTreeP, searchConsTreeWithFilterP, searchForObject, secondp, setProperty, sideEffectFreeExpressionP, simplifyBquoteTree, specialp, stella_Increment, stellaClassP, stellaCollectionP, stellaNeedToCompileP, stellaNeedToTranslateP, stellaObjectP, stellify, storageSlotP, stringifyInModule, stringP, substituteConsTree, substituteOnce, surrogateP, surrogatify, sweep, symbolCaseP, symbolP, sysTree, targetLanguageType, taxonomyIsaP, timeDivider, timeMultiply, tokenizerIncludeSpecP, tokenizerToStateAlias, tokenizerToStateName, toString, traceIf, traceKeywordP, transientifyForm, transientObjectP, transientSymbolP, translateWalkedTree, treeSize, treeToTrees, trueOptionP, tryToEvaluate, typeP, typify, unmake, unregisterRecycledItem, updateInContext, valuesTreeP, variableExpressionP, verbatimStringP, verbatimTreeP, vetOptions, vrletExpressionP, walkAtomicTree, walkATree, walkCollectionTree, walkDontCallMeTree, walkedExpressionExpression, walkedExpressionType, walkExpressionTree, walkMvExpressionTree, walkMvTree, walkStatement, walkTopLevelExpression, walkWithoutTypeTree, warnAboutUnknownSourceType, weekday, withinContext, withinModule, withinWorld, withStellaTokenizer, withSystemDefinition, withTokenizer, wrapperP, wrapWhereTest, xmlAttributeP, xmlBaseAttributeP, xmlCdataFormP, xmlCdataP, xmlDeclarationFormP, xmlDeclarationP, xmlDoctypeFormP, xmlElementFormP, xmlElementP, xmlGlobalAttributeP, xmlLocalAttributeP, xmlnsAttributeP, xmlProcessingInstructionFormP, xmlProcessingInstructionP, xmlTagCase, year, yieldCondTest, yieldCondTestOrTests, yieldHardcodedCaseSymbolIdOrIds, yieldInCursorClausesForArgumentList, yieldInCursorClausesForGeneralCollection, yieldInCursorClausesForVector, yieldTypeSpecifier, zone, zoneMinute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name

directory

public java.lang.String directory

files

public Cons files

lispOnlyFiles

public Cons lispOnlyFiles

cppOnlyFiles

public Cons cppOnlyFiles

javaOnlyFiles

public Cons javaOnlyFiles

dataFiles

public Cons dataFiles

preprocessedFiles

public Cons preprocessedFiles

requiredSystems

public Cons requiredSystems

loadedP

public boolean loadedP

upToDateP

public boolean upToDateP

cardinalModule

public java.lang.String cardinalModule

sourceRootDirectory

public java.lang.String sourceRootDirectory

nativeRootDirectory

public java.lang.String nativeRootDirectory

binaryRootDirectory

public java.lang.String binaryRootDirectory

banner

public java.lang.String banner

productionSettings

public Cons productionSettings

developmentSettings

public Cons developmentSettings

finalizationFunction

public Symbol finalizationFunction
Constructor Detail

SystemDefinition

public SystemDefinition()
Method Detail

newSystemDefinition

public static SystemDefinition newSystemDefinition()

createSystemStartupFile

public static void createSystemStartupFile(SystemDefinition system)

collectStartupFormsFromSystemFile

public static Cons collectStartupFormsFromSystemFile(SystemDefinition system)

yieldStartupRequiredSystems

public static Cons yieldStartupRequiredSystems(SystemDefinition system)

systemStartupFileName

public static java.lang.String systemStartupFileName(SystemDefinition system)

systemStartupFunctionSymbol

public static Symbol systemStartupFunctionSymbol(SystemDefinition system)

systemStartupFunctionName

public java.lang.String systemStartupFunctionName()

runSystemStartupFunction

public static void runSystemStartupFunction(SystemDefinition system)

systemDefinitionNativeFiles

public static Cons systemDefinitionNativeFiles(SystemDefinition system)

systemDefinitionSourceFiles

public static Cons systemDefinitionSourceFiles(SystemDefinition system)

runSystemFinalization

public static void runSystemFinalization(SystemDefinition system)

computeOptimizationLevels

public static void computeOptimizationLevels(SystemDefinition system,
                                             boolean productionmodeP)

getSystemFiles

public static List getSystemFiles(SystemDefinition system,
                                  Keyword type,
                                  boolean probefilesP)

getCardinalModule

public static Module getCardinalModule(SystemDefinition system)

printObject

public void printObject(java.io.PrintStream stream)
Overrides:
printObject in class Stella_Object

accessSystemDefinitionSlotValue

public static Stella_Object accessSystemDefinitionSlotValue(SystemDefinition self,
                                                            Symbol slotname,
                                                            Stella_Object value,
                                                            boolean setvalueP)

primaryType

public Surrogate primaryType()
Description copied from class: Stella_Object
Returns the primary type of self. Gets defined automatically for every non-abstract subclass of OBJECT.

Overrides:
primaryType in class Stella_Object
Returns:
Surrogate