关闭

关闭

关闭

封号提示

内容

首页 [Lisp相关文档].Land.of.Lisp

[Lisp相关文档].Land.of.Lisp.pdf

[Lisp相关文档].Land.of.Lisp

冥顽不灵
2010-12-18 0人阅读 0 0 0 暂无简介 举报

简介:本文档为《[Lisp相关文档].Land.of.Lisppdf》,可适用于IT/计算机领域

ConradBarski,MDLANDOFLISPLANDOFLISPLearntoPrograminLisp,OneGameataTime!byConradBarski,MDSanFranciscoLANDOFLISPCopyright©byConradBarski,MDAllrightsreservedNopartofthisworkmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orbyanyinformationstorageorretrievalsystem,withoutthepriorwrittenpermissionofthecopyrightownerandthepublisherPrintedinCanadaISBN:ISBN:Publisher:WilliamPollockProductionEditors:AnselStatonandSerenaYangDevelopmentalEditor:KeithFancherTechnicalReviewers:PhilipFominykhandHeowEideGoodmanCopyeditor:MarilynSmithCompositor:SusanGlinertStevensProofreader:LindaSeifertIndexer:NancyGuentherForinformationonbookdistributorsortranslations,pleasecontactNoStarchPress,Incdirectly:NoStarchPress,IncRingoldStreet,SanFrancisco,CAphone:fax:infonostarchcomwwwnostarchcomLibraryofCongressCataloginginPublicationDataBarski,ConradLandofLisp:learntoprograminLisp,onegameatatime!byConradBarskipcmIncludesindexISBN:ISBN:ComputergamesProgrammingCOMMONLISP(Computerprogramlanguage)LISP(Computerprogramlanguage)ITitleQACB'dcNoStarchPressandtheNoStarchPresslogoareregisteredtrademarksofNoStarchPress,IncOtherproductandcompanynamesmentionedhereinmaybethetrademarksoftheirrespectiveownersRatherthanuseatrademarksymbolwitheveryoccurrenceofatrademarkedname,weareusingthenamesonlyinaneditorialfashionandtothebenefitofthetrademarkowner,withnointentionofinfringementofthetrademarkTheinformationinthisbookisdistributedonan“AsIs”basis,withoutwarrantyWhileeveryprecautionhasbeentakeninthepreparationofthiswork,neithertheauthornorNoStarchPress,IncshallhaveanyliabilitytoanypersonorentitywithrespecttoanylossordamagecausedorallegedtobecauseddirectlyorindirectlybytheinformationcontainedinitForLaurenBRIEFCONTENTSAcknowledgmentsxviiIntroductionSECTIONI:LISPISPOWERChapter:GettingStartedwithLispChapter:CreatingYourFirstLispProgramChapter:ExploringtheSyntaxofLispCodeSECTIONII:LISPISSYMMETRYChapter:MakingDecisionswithConditionsChapter:BuildingaTextGameEngineChapter:InteractingwiththeWorld:ReadingandPrintinginLispChapter:lambda:AFunctionSoImportantItDeservesItsOwnChapterChapter:GoingBeyondBasicListsChapter:ThisAin’tYourDaddy’sWumpusChapter:AdvancedDatatypesandGenericProgrammingviiiBriefContentsSECTIONIII:LISPISHACKINGChapter:LoopingwiththeloopCommandChapter:PrintingTextwiththeformatFunctionChapter:WorkingwithStreamsChapter:Let’sCreateaWebServer!FunctionalProgrammingIsBeautifulSECTIONIV:LISPISSCIENCEChapter:RampingLispUpaNotchwithFunctionalProgrammingChapter:DiceofDoom,aGameWrittenintheFunctionalStyleChapter:TheMagicofLispMacrosChapter:DomainSpecificLanguagesChapter:LazyProgrammingChapter:CreatingaGraphical,WebBasedVersionofDiceofDoomChapter:MakingDiceofDoomMoreFunEpilogueIndexCONTENTSINDETAILACKNOWLEDGMENTSxviiINTRODUCTIONWhatMakesLispSoCoolandUnusualIfLispIsSoGreat,WhyDon’tMorePeopleUseItWhereDidLispComeFromWhereDoesLispGetItsPowerSECTIONI:LISPISPOWERGETTINGSTARTEDWITHLISPLispDialectsATaleofTwoLispsUpandComingLispsLispDialectsUsedforScriptingANSICommonLispGettingStartedwithCLISPInstallingCLISPStartingUpCLISPWhatYou’veLearnedCREATINGYOURFIRSTLISPPROGRAMTheGuessMyNumberGameDefiningGlobalVariablesinLispDefiningthesmallandbigVariablesAnAlternativeGlobalVariableDefinitionFunctionBasicLispEtiquetteDefiningGlobalFunctionsinLispDefiningtheguessmynumberFunctionDefiningthesmallerandbiggerFunctionsDefiningthestartoverFunctionDefiningLocalVariablesinLispDefiningLocalFunctionsinLispWhatYou’veLearnedxContentsinDetailEXPLORINGTHESYNTAXOFLISPCODESyntaxandSemanticsTheBuildingBlocksofLispSyntaxSymbolsNumbersStringsHowLispDistinguishesBetweenCodeandDataCodeModeDataModeListsinLispConsCellsListFunctionsNestedListsWhatYou’veLearnedSECTIONII:LISPISSYMMETRYMAKINGDECISIONSWITHCONDITIONSTheSymmetryofniland()EmptyEqualsFalseTheFourDisguisesof()TheConditionals:ifandBeyondOneThingataTimewithifGoingBeyondif:ThewhenandunlessAlternativesTheCommandThatDoesItAll:condBranchingwithcaseCoolTrickswithConditionsUsingtheStealthConditionalsandandorUsingFunctionsThatReturnMorethanJusttheTruthComparingStuff:eq,equal,andMoreWhatYou’veLearnedBUILDINGATEXTGAMEENGINETheWizard’sAdventureGameOurGameWorldBasicRequirementsDescribingtheScenerywithanAssociationListDescribingtheLocationDescribingthePathsHowQuasiquotingWorksDescribingMultiplePathsatOnceDescribingObjectsataSpecificLocationListingVisibleObjectsDescribingVisibleObjectsContentsinDetailxiDescribingItAllWalkingAroundinOurWorldPickingUpObjectsCheckingOurInventoryWhatYou’veLearnedINTERACTINGWITHTHEWORLD:READINGANDPRINTINGINLISPPrintingandReadingTextPrintingtotheScreenSayingHellototheUserStartingwithprintandreadReadingandPrintingStufftheWayHumansLikeItTheSymmetryBetweenCodeandDatainLispAddingaCustomInterfacetoOurGameEngineSettingUpaCustomREPLWritingaCustomreadFunctionWritingagameevalFunctionWritingagameprintFunctionTryingOutOurFancyNewGameInterfaceTheDangersofreadandevalWhatYou’veLearnedLAMBDA:AFUNCTIONSOIMPORTANTITDESERVESITSOWNCHAPTERWhatlambdaDoesWhylambdaIsSoImportantWhatYou’veLearnedGOINGBEYONDBASICLISTSExoticListsDottedListsPairsCircularListsAssociationListsCopingwithComplicatedDataVisualizingTreelikeDataVisualizingGraphsCreatingaGraphGeneratingtheDOTInformationTurningtheDOTFileintoaPictureCreatingaPictureofOurGraphCreatingUndirectedGraphsWhatYou’veLearnedxiiContentsinDetailTHISAIN’TYOURDADDY’SWUMPUSTheGrandTheftWumpusGameDefiningtheEdgesofCongestionCityGeneratingRandomEdgesLoopingwiththeloopCommandPreventingIslandsBuildingtheFinalEdgesforCongestionCityBuildingtheNodesforCongestionCityInitializingaNewGameofGrandTheftWumpusDrawingaMapofOurCityDrawingaCityfromPartialKnowledgeWalkingAroundTownLet’sHuntSomeWumpus!WhatYou’veLearnedADVANCEDDATATYPESANDGENERICPROGRAMMINGArraysWorkingwithArraysUsingaGenericSetterArraysvsListsHashTablesWorkingwithHashTablesReturningMultipleValuesHashTablePerformanceAFasterGrandTheftWumpusUsingHashTablesCommonLispStructuresWorkingwithStructuresWhentoUseStructuresHandlingDatainaGenericWayWorkingwithSequences

用户评价(2)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

评分:

/49

意见
反馈

立即扫码关注

爱问共享资料微信公众号

返回
顶部

举报
资料