請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/6021
標題: | Objective-C對C#之有效轉換 An Objective-C to C# Translator |
作者: | Chun-Hao Kao 高峻皓 |
指導教授: | 廖世偉(Shih-Wei Liao) |
關鍵字: | 編譯器,源碼轉換,Objective-C,C#, Translator,Objective-C,C#, |
出版年 : | 2013 |
學位: | 碩士 |
摘要: | 隨著手持裝置的流行與發展,數個作業系統成為手持裝置作業系統的主流,對跨平台的支援成為目前佈局於手持裝置的關鍵。在有選擇的情況下,程式開發者不會想要維護兩份程式碼,在本篇論文中的Objective-C對C#轉譯器提供給程式開發者這種選擇: 降低成本,提升系統的維護性,更快速的釋出產品,開發人力的精簡能夠更快速的應變與更精緻的開發小組。本篇論文是第一篇探討iOS系統上開發所用到的語言- Objective-C與一被多種平台所支援之高階語言- C#語法上之差異,並實作一個能將Objective-C程式轉換成C#程式的工具,幫助程式開發者在跨平台開發的時間成本。
Xamarin不僅限於Windows Mobile並在多種平台上支援C#,但程式開發者仍須維護Objective-C的程式碼,此外多數的程式開發者已熟悉Objective-C,新的語言和在不熟悉的環境上開發學習成本較高,我們的轉譯器減輕了這樣的問題。 As the mobile devices are becoming prevalent, two or three operating systems on mobile devices are most dominant. The issue of cross-platform support is critical for comprehensive deployment on mobile devices. No developers want to maintain two codebases if they have a choice. This thesis presents our Objective-C to C# translator that offers developers such a choice: Unifying the codebases or eliminating the need of redundant codebases means cost-reduction, system maintainability, faster product release cycle, and a smaller development team with high agility and affordable expertise requirement, This thesis first investigates the syntactic differences between the Objective-C, one of the programming languages on the iOS system, and another high level language, C#, which is supported on more platforms. Next we present the design and implementation of the translator from Objective-C to C#. The translator helps the developers deploy solutions to a comprehensive set of mobile devices faster and cheaper. Note that Xamarin now supports C# on multiple platforms beyond just Windows Mobile, but developers still need to deal with existing Objective-C codebases. Furthermore, Objective-C may be more familiar with most mobile developers. Learning curve of a new language and an unfamiliar environment is uncertain and expensive. Our translator alleviates this learning curve issue as well. |
URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/6021 |
全文授權: | 同意授權(全球公開) |
顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-102-1.pdf | 3.16 MB | Adobe PDF | 檢視/開啟 |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。