内容简介
ProgrammingLanguagePragmaticsisthemostcomprehensiveprogramminglanguagetextbookavailabletoday.Takingtheperspectivethatlanguagedesignandlanguageimplementationaretightlyinterconnected,andthatneithercanbefullyunderstoodinisola
作者简介
Asatextbooksuitablefortheclassroomorself-study,MichaelScott'sProgrammingLanguagePragmaticsprovidesaworthytourofthetheoryandpracticeofhowprogramminglanguagesarerunontoday'scomputers.Clearlyorganizedandfilledwithawide-rangingperspectiveonover40differentlanguages,thisbookwillbeappreciatedforitsdepthandbreadthofcoverageonanessentialtopicincomputerscience.Withreferencestodozensofprogramminglanguages,fromAdatoTuringandeverythinginbetween(includingC,C++,Java,andPerl),thisbookisatrulyin-depthguidetohowcodeiscompiled(orinterpreted)andexecutedoncomputerhardware.Earlychapterstendtobeslightlymoretheoretical(withcoverageofregularexpressionsandcontext-freegrammars)andwillbemostvaluabletothecomputersciencestudent,butmuchofthisbookisaccessibletoanyoneseekingtowidentheirknowledge(especiallysincerecentstandardssurroundingXMLmakeuseofsomeofthesamevocabularypresentedhere).Thebookhasacomprehensivediscussionofcompilationandlinking,aswellashowdatatypesareimplementedinmemory.Sectionsonfunctionalandlogicalprogramming(illustratedwithSchemeandProlog,whichareoftenusedinAIresearch)canexpandyourunderstandingofhowprogramminglanguageswork.Finalsectionsontheadvantages--andcomplexities--ofconcurrentprocessing,plusanicetreatmentofcodeoptimizationtechniques,roundoutthetexthere.Eachchapterprovidesnumerousexercises,soyoucantryouttheideasonyourown.