Introduction: CLOGApplication & FeaturesGoalsTutorialVariablesStatementsFactsRulesDirectivesSimulatorProgram ModificationBreakoutLanguage Reference ManualLexicalFactsRulesVariablesBlocksStatementsComparisonsTypesDirectivesProgram ModificationInteraction- The Dot OperatorProject PlanResponsibilitiesTimelineSoftware Development EnvironmentArchitectureTest PlanTesting ScriptTest Case RationaleTesting ResultsLessons LearnedFrom DeveshFrom NishantFrom ChengFrom JohnAppendix: Test CasesandTestcommentsconst comparedotoperatorfactsglobal directiveillegalcharlearnForget1mainmain fall throughmult-mainnegativenoneqnot1plist-twiceprinter testprsimpleprstringsrangescopingsim dot1sim dot2sim movesim my locsim ndot2sim two testsimulator testsprint1unsupported directivevariable compAppendix: Code Listingsparser.mlyscanner.mllast.mliprinter.mltst.mlitrans.mlculog.mlsimulator.mlinterp.mlCµLOG Project Final ReportAn Entity Interaction Simulation LanguageJohn Demme (jdd2127)Nishant Shah (nrs2127)Devesh Dedhia (ddd2121)Cheng Cheng (cc2999)Columbia UniversityDecemb er 18, 2008Contents1 Introduction: CµLOG 31.1 Application & Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2 Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Tutorial 42.1 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.2 Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.3 Facts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.4 Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.5 Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.6 Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.7 Program Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.8 Breakout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Language Reference Manual 103.1 Lexical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103.2 Facts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103.3 Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.4 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.5 Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.6 Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123.7 Comparisons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.8 Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.9 Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.10 Program Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.11 Interaction- The Dot Operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Project Plan 144.1 Responsibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144.2 Timeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.3 Software Development Environment . . . . . . . . …
View Full Document