欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    (2.1)--Samuel's Ch0编译原理与实践英文版.ppt

    • 资源ID:96359267       资源大小:1.68MB        全文页数:23页
    • 资源格式: PPT        下载积分:15金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要15金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    (2.1)--Samuel's Ch0编译原理与实践英文版.ppt

    TanvirCompiler Principles and ImplementationTanvirSpring 10-week 2016 mInstructor:Liu(Samuel)Gangm mLectures:Tuesday15:25 p.m.17:50 p.m.(week1-10)m Thursday 9:55 a.m.12:20 a.m.(week1-9)m In classroom21B#512mOffice:21#523mOffice Hours:TBAmTelephone:13796683635 mEmail:mFinal:May 14th,2016 TanvirSpring 15-week 2014 mInstructor:Liu(Samuel)Gangm mLab:Tuesday8:00 a.m.11:20 a.m.(week13-15)m Tuesday 14:00 p.m.17:20 p.m.(week14-15)m In Lab21#427 (20112011、20112012)m 21#428(20112013、20112014)mOffice:21#523mOffice Hours:TBAmTelephone:13796683635 mEmail:SmFinal:June 28,2014 TanvirTextbooks and Class MaterialsmClass Textbook:qCompiler Principles and Implementation,Prof.Zhang Jing,mWeb facilitiesqCourse Notes will be available qhttp:/ and Class MaterialsmReference Book:qCompiler Construction:principles and practice,Kenneth Louden,mWeb facilitiesqCourse Notes will be available qhttp:/qThe website will be our prime means of communication.TanvirCourse Goals and ObjectivesTo provide an introduction to the field of compiler construction.To understand the importance of efficient compilation process for modern computing.To study the basic organization and operation of a compiler.To study theoretical techniques,such as automata theory,involved in compiler development.TanvirCheating/Collaboration1.Not Tolerated in Any Form.2.Severe Penalties are Likely.3.All Homeworks/Some Projects Represent Individual Effort(or if team work is assignmed they represent the collaborative efforts of the teams members)4.Cooperative Problem Solving and Sharing Code is NOT Permitted and Will Likely Lead to Fs!TanvirLateness Policies/ExamsmLate Assignments(Homeworks/Projects)will be Accepted with Penalties.No penalties will apply only to students who obtain prior permission.mPrior Permission:Contact the Instructor Three Days Before the Due DatemEmergencies:Illness,Death in the Family,etc.mPenalty for late homework assignment is 5 points a day.mNo homework is accepted after it is discussed in class.mNo homework is accepted after the last day of class.TanvirClass AttendanceClass attendance is recommended.On occasions that you cannot avoid being absent,you are responsible for getting class notes and assignments.Students are encouraged to ask questions and make suggestions.TanvirComputing in the beginning of time.TanvirComputing in the beginning of time.?TanvirComputing in the beginning of timehow do you program this?Changing Gears!the man.the legendand thisis onlya smallpart ofthe machine!the programmerCharles BabbageCharles BabbageThe Difference Engine”(1822)The Difference Engine”(1822)Lady Ada of LovelaceLady Ada of LovelaceTanvirComputers!mElectronic Numerical Integrator and Computer-ENIAC,1942how do you program this?Flicking Switches!TanvirCOMPILERSmA compiler is a program takes a program written in a source language and translates it into an equivalent program in a target language.source program target programerror messages(Normally a program written in a high-level programming language)COMPILER COMPILER(Normally the equivalent program inmachine code relocatable object file)TanvirOther ApplicationsmIn addition to the development of a compiler,the techniques used in compiler design can be applicable to many problems in computer science.qTechniques used in a lexical analyzer can be used in text editors,information retrieval system,and pattern recognition programs.qTechniques used in a parser can be used in a query processing system such as SQL.qMany software having a complex front-end may need techniques used in compiler design.A symbolic equation solver which takes an equation as input.That program should parse the given input equation.TanvirTimelinemthe 1940s.Code is hand generated at 0-1 level and entered by physical switches.Hardware is rewired according to the program.mthe early 1950s.First attempts to abstraction.Grace Murray Hopper:q“translation is a compilation of a sequence of machine-language subprograms selected from a library.”qfirst“compiler”A-0(by G.M.Hopper)qCode now is written in Assembly form.mthe late 1950s.FORTRAN is born together with its Compiler!TanvirFortrandiagram from http:/ 1960smALGOL 60qThe first Language with a formal grammar specificationqmore on this later on(in every meeting of this class!)mFORTRAN gets improved.mLanguage theory is better understood,it evolves and revolutionizes compiler design.mFirst“Syntax-Directed Compiler”is born in 1961.mPASCAL is born(Wirth,1968).mFirst attempts at automating compiler construction using elements of Formal Language Theory.TanvirThe 1970s,80s,90smC programming Language is born with its compiler(1972).Distributed as part of the UNIX operating system.mBASIC is born(1975).m“Compiler-Compiler”Tools start to be developed and used extensively.mSuccess of PCs brings compilers and interpreters in everyones home.TanvirTodaymCompilers are everywhere.m“Programming”(in the strict sense)is only one application domain.qTeX and LaTeXlanguage source is compiled into a document.qPostscriptlanguage source is translated by laser printers to printer machine level instructions that print a document.qMathematica/Matlabuse a language to specify mathematical operations.qVerilog/VHDLcompiles into a circuitTanvirYou Name It!TanvirHappy Term

    注意事项

    本文((2.1)--Samuel's Ch0编译原理与实践英文版.ppt)为本站会员(奉***)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开