资源描述:
《人工智能人工神经网络及其语言ai&annprogramming in emacs lisp》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ProgramminginEmacsLispAnIntroductionProgramminginEmacsLispAnIntroductionEdition1.05,21October1997byRobertJ.ChassellcCopyright1990,'91,'92,'93,'94,'95,'97FreeSoftwareFoundation,Inc.PublishedbytheFreeSoftwareFoundation,Inc.59TemplePlace,Suite330Boston,MA021
2、11-1307USAISBN-1882114-41-8Permissionisgrantedtomakeanddistributeverbatimcopiesofthismanualprovidedthecopyrightnoticeandthispermissionnoticearepreservedonallcopies.Permissionisgrantedtocopyanddistributemodiedversionsofthismanualunderthecon-ditionsforverb
3、atimcopying,providedthattheentireresultingderivedworkisdistributedunderthetermsofapermissionnoticeidenticaltothisone.Permissionisgrantedtocopyanddistributetranslationsofthismanualintoanotherlan-guage,undertheaboveconditionsformodiedversions,exceptthatthi
4、spermissionnoticemaybestatedinatranslationapprovedbytheFreeSoftwareFoundation.PrefaceixPrefaceMostoftheGNUEmacstexteditoriswrittenintheprogramminglanguagecalledEmacsLisp.Thecodewritteninthisprogramminglanguageisthesoftware
5、thesetsofinstructions
6、thattellth
7、ecomputerwhattodowhenyougiveitcommands.EmacsisdesignedsothatyoucanwritenewcodeinEmacsLispandeasilyinstallitasanextensiontotheeditor.ThisiswhyEmacsiscalledtheextensibleeditor".(Indeed,sinceEmacsdoessomuchmorethanprovideeditingcapabilities,itshouldper-haps
8、becalledanextensiblecomputingenvironment",butthatphraseisquiteamouthful.Also,everythingyoudoinEmacs
9、ndtheMayandateandphasesofthemoon,simplifypolynomials,debugcode,manageles,readletters,writebooks
10、alltheseactivitiesarekindsofeditinginthemostgeneralsense
11、oftheword.)AlthoughEmacsLispisusuallythoughtofinassociationwiththetexteditor,itisafullcomputerprogramminglanguage.Youcanuseitasyouwouldanyotherprogramminglanguage.PerhapsyouwanttounderstandprogrammingperhapsyouwanttoextendEmacsorperhapsyouwanttobecomeap
12、rogrammer.ThisintroductiontoEmacsLispisdesignedtogetyoustarted:toguideyouinlearningthefundamentalsofprogramming,andmoreimportantly,toshowyouhowyoucanteachyourselftogofurther.Allthroughthisdocument,youwillseelittlesa