嵌入式javascript脚本解释器的分析与实现-analysis and implementation of embedded javascript script interpreter.docxVIP
- 22
- 0
- 约3.61万字
- 约 49页
- 2018-07-28 发布于上海
- 举报
嵌入式javascript脚本解释器的分析与实现-analysis and implementation of embedded javascript script interpreter
摘要论文在深入研究C++对象模型的基础上,提出了一种针对嵌入式开发环境的{民运行成本和维护成本的对象模型一-ooc对象模型,其执行效率可以和C++对象模型相比。我们选择了嵌入式开发环境中普遍支持的C语言实现了该模型的程序设计环境,并在此环境中实现了解释器的前端。论文在考察了目前较先进的优化机制的基础上,考虑到嵌入式环境的资源限制,提出了适用于JavaScript解释器的优化框架。该框架利用后端程序动态运行信息,制导前端进行优化决策,在不降低系统可用性的前提下,选择出最有效的优化策略,从而使性能得到提高。论文中结合了嵌入式平台和JavaScript语言的特点,采用了前后端分离的架构以使解释器获得良好的移植性和扩展性。解释器前端的设计实现利用了面向对象技术。其中采用了对象来表示抽象语法树的结点,用对象之间的关联关系来表示语法成分之间的嵌套关系,并在字节码的生成过程中充分利用多态机制。同时,该解释器提供了良好的应用程序接口,不仅可以为嵌入式Web浏览器提供脚本支持,也可以为其他需要脚本支持的宿主环境提供支持。最后,我们开发的解释器通过了Mozi11a浏览器所采用的JavaScriptTestLibrary测试库的严格测试,可以说其正确性和健壮性已经达到了商用程度。关键词:嵌入式Web浏览器JavaScript解释器对象模型反馈制导优化?、AbstractThefirstcontributionofthisthesisisanewobjectmodelcalledOOCobjectmodel.ThemodelisoriginallybasedonC++objectmodel,butwiththeembeddedenvironmentsresourcesrestrictionconcemed,themodelhaslowruntimeoverheadandlowmaintenancecost,anditsperformanceinexecutioniscomparativetoC++objectmodel.WechoosetheClanguage,whichshouldbethemostpopul缸high-levellanguagesupportedinallembeddeddevelopmentenvironments,toimplementaprograrnmingenvironmentofthemodel.Thefront-endoftheinterpreter,whichwillbeaddressedinnextp缸agraph,istotallyimplementedinthisprograrnmingenvironment.ThesecondcontributionofthisthesisisthedesignandimplementationofanembeddedJavaScriptinterpreterfortheembeddedwebbrowser.Intheinterpreter,afront-endlback-endarchitectureisusedtoachieveagooddegreeofportabilityandextendibility,andafeedback-àirectedoptimizationframeworkisusedtoimprovetheinterpretersperformance.Also,theinterpreterprovidesthehostenvironmentwithasetofwell-definedAPIs.Atlast,theinterpreterhaspassedthestricttestwithJavaScriptTestLibraryusedby孔10zillabrowser.Thetestingresultsprovethattheinterpreterscorrectnessandrobustnesshavereachedahighlevelkeywords:EmbeddedWebBrowser,JavaScriptInterpreter,ObjectModel,Feedback-DirectedOptimization第1绪论1.1.背景及意义1.1.1.嵌入式系统的广泛应用计算机技术的应用已经渗透到科学研究、工程设计、军事技术、各类产业和商业文化艺术、娱乐业及人们的日常生活,每-个人都在日常生活中利用计算机技术提供的服务σ在这其中,嵌入式系统扮演着十分重要的角色。随着嵌入式计算机、VCD、车载PC等与人们日常生活息息相关的嵌入式应用越来越多,普通人接触的嵌入式系统也越来越广泛:在家里,嵌入式系统可以存在于他家的洗衣机、空调器等家用电器里:外出时,嵌
您可能关注的文档
- 莆田涵江镇传统民居建筑形态分析-analysis on architectural form of traditional residential buildings in hanjiang town, putian.docx
- 葡萄vitisvinifera×v.labrusca和刺梨rosaroxburghii对锰胁迫的生理响应差异-physiological responses of vitis vinifera × v labrusca and rosa roxburghii roxburghii to manganese stress.docx
- 葡萄vitisvinifera×vlabrusca和刺梨rosaroxburghii对锰胁迫的生理响应差异-physiological responses of vitis vinifera× vla brusca and rosa roxburghiumghi to manganese stress.docx
- 葡萄糖浓度波动对兔视网膜müller细胞的作用及可能机制-effect and possible mechanism of glucose concentration fluctuation on rabbit retinal m ü ller cells.docx
- 葡萄糖催化氧化制备葡萄糖酸钠-preparation of sodium gluconate by catalytic oxidation of glucose.docx
- 葡萄砧木钾吸收动力学及不同土壤类型供钾能力分析-potassium absorption kinetics of grape rootstock and analysis of potassium supply capacity of different soil types.docx
- 葡萄中主要抗病虫害农药残留的测定及去除方法的分析-analysis of determination and removal methods of pesticide residues against diseases and insect pests in grape.docx
- 葡萄种质表型遗传多样性研究及初级核心种质构建-study on genetic diversity of grape germplasm phenotype and construction of primary core germplasm.docx
- 葡萄组织中白藜芦醇提取工艺优化及含量差异性研究-study on optimization of extraction process and content difference of resveratrol in grape tissue.docx
- 蒲安臣的理想主义外交实践——也谈蒲安臣代清出使研究-pu anchen's idealistic diplomatic practice - also on pu anchen's diplomatic mission of dai qing.docx
- 嵌入式linux下媒体播放器关键技术的分析与应用-analysis and application of key technologies of media player under embedded linux.docx
- 嵌入式linux可定制用户界面的分析与实现-analysis and implementation of embedded linux customizable user interface.docx
- 嵌入式gpu中光栅化及深度预测试单元的分析与设计-analysis and design of raster and depth prediction test unit in embedded gpu.docx
- 嵌入式linux下无线视频智能监控系统分析与实现-analysis and implementation of wireless video intelligent monitoring system based on embedded linux.docx
- 嵌入式linux下阻抗测量系统及图形界面分析与实现-analysis and implementation of impedance measurement system and graphical interface under embedded linux.docx
- 嵌入式pci-e设备驱动程序的开发与应用-development and application of embedded pci - e device driver.docx
- 嵌入式nas中raid控制器io算法的研究与实现-research and implementation of io algorithm for raid controller in embedded nas.docx
- 嵌入式ph值和高于ph值的碱百分比浓度测试仪的分析与设计-analysis and design of embedded ph value and alkali percentage concentration tester higher than ph value.docx
- 嵌入式tcpip在mcf52235工业控制板上的实现研究-research on implementation of embedded tcpip on mcf 52235 industrial control board.docx
- 嵌入式rfid数据采集方案及其关键技术分析-embedded rfid data acquisition scheme and its key technology analysis.docx
最近下载
- Linux系统管理与自动化运维期末试题与答案.pdf VIP
- 小学五年级数学小数混合运算计算专项练习题(每日一练,共17份).docx VIP
- 县商务和经济合作局党组2025年度(五个带头)民主生活会班子对照检查材料.docx VIP
- 心律失常患者心电图识别及护理.pptx VIP
- 空调系统安装施工方案.docx VIP
- 2026年云南省从优秀村(社区)干部中定向招聘乡镇(街道)事业单位工作人员历年参考题库含答案详解.docx VIP
- 小学五年级数学小数混合运算计算专项练习题(每日一练,共18份).pdf VIP
- 人体工程学--常用的尺度测量.ppt VIP
- 阿特拉斯空压机使用说明书.pdf
- 2026年云南省村(社区)干部定向招聘乡镇(街道)事业单位工作人员考试(公共基础知识)历年参考题库含.docx VIP
原创力文档

文档评论(0)