Skip to main content

Design and Implementation of an Objective-C Compiler for the Virtual Machine on Smart Phone

  • Conference paper
Multimedia, Computer Graphics and Broadcasting (MulGraB 2011)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 262))

Abstract

For each platform, for smart phone contents, a unique development environment exists and thus suitable development methods and development languages must be used for each platform. A problem of this development environment is that when contents are created for a number of platforms, an increase in expenses occurs. SVM(Smart Virtual Machine) is a virtual machine solution which is being developed to overcome this problem by using SIL(Smart Intermediate Language) as an intermediate language. SIL is capable of accommodating ISO/IEC C++, Java, Objective-C and other object-oriented programming. In this paper, the Objective-C compiler for the virtual machine is designed and virtualized which creates stack based virtual machine codes, not objective codes when using contents previously developed for the use on other platforms.

This research was supported by Basic Science Research Program through the National Research Foundation of Korea(NRF) funded by the Ministry of Education, Science and Technology(No.20110006884).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Yun, S.L., Nam, D.G., Oh, S.M., Kim, J.S.: Virtual Machine Code for Embed-ded Systems. In: International Conference on CIMCA, pp. 206–214 (2004)

    Google Scholar 

  2. Meyer, J., Downing, T.: JAVA Virtual Machine. O’REYLLY (1997)

    Google Scholar 

  3. Lindin, S.: Inside Microsoft .NET IL Assembler. Microsoft Press (2002)

    Google Scholar 

  4. The Objective-C Programming Language, Apple, http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html

  5. Aho, A.V., Lam, M.S., Sethi, R., Ullman, J.D.: Compilers: Principles, Techniques, & Tools. Addision-Wesley (2007)

    Google Scholar 

  6. Grune, D., Bal, H.E., Jacobs, C.J.H., Langendoen, K.G.: Modern Compiler Design. John Wiley & Sons (2000)

    Google Scholar 

  7. Oh, S.M.: Introduction to Compilers, 3rd edn. Jungik Publishing, Seoul (2006)

    Google Scholar 

  8. Cerecke, C.: Repairing Syntax Errors in LR-Based Parsers. In: Proceedings of the 25th Australasian Conference on Computer Science, vol. 4, pp. 17–22 (2002)

    Google Scholar 

  9. Oh, S.M., Kim, J.S.: Extension of SG Compiler. Project Report, Research Center for Information Communication. Dongguk University (2001)

    Google Scholar 

  10. Kim, I.S., Choe, K.M.: Error Repair with Validation in LR-Based Parsing. ACM Transactions on Programming Languages and Systems 23(4), 451–471 (2001)

    Article  MathSciNet  Google Scholar 

  11. Son, Y.S.: 2-Level Code Generation using Semantic Tree, Master Thesis, Dongguk University (2006)

    Google Scholar 

  12. Aho, A.V., Johnson, S.C.: LR Parsing. ACM Computing Surveys 6(2), 99–124 (1974)

    Article  MATH  Google Scholar 

  13. Barth, J.M.: A practical interprocedural data flow analysis algorithm. Communications of the ACM 21(9), 724–736 (1978)

    Article  Google Scholar 

  14. Gough, J.: Compiling for the .NET Common Language Runtime(CLR). Prentice-Hall (2002)

    Google Scholar 

  15. Graham, S.L., Haley, C.B., Joy, W.N.: Practical LR Error Recovery. In: Proceedings of the SIGPLAN Sym. on Compiler Construction, SIGPLAN Notices, vol. 13(8), pp. 168–175 (1979)

    Google Scholar 

  16. Kim, Y.G., Kwon, H.J., Lee, Y.S.: Design and Implementation of a Decom-piler for Verification and Analysis of Intermediate Code in ANSI C Compiler. Journal of Korea Multimedia Society 10(3), 411–419 (2007)

    Google Scholar 

  17. Knuth, D.E.: The Genesis of Attribute Grammars. In: ACM Proceedings of the International Conference on Attribute Grammars and Their Applications, pp. 1–12 (1990)

    Google Scholar 

  18. Lee, G.O.: Prediction of Reduction Goals: Deterministic Approach. Journal of Korea Institute of Information Scientist and Engineers 30(5.6), 461–465 (2003)

    Google Scholar 

  19. Lee, Y.S., Oh, S.M., Kim, Y.G., Kwon, H.J., Son, Y.S., Park, S.H.: Development of ANSI C Compiler for Embedded Systems. Industry-Academia Cooperation Foundation of Seokyeong University (2004)

    Google Scholar 

  20. Lee, Y.S., Oh, S.M., Bae, S.M., Son, M.S., Son, Y.S., Shin, Y.H.: Development of C++ Compiler for Embedded Systems. Industry-Academia Cooperation Foundation of Seokyeong University (2006)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Son, Y., Lee, Y. (2011). Design and Implementation of an Objective-C Compiler for the Virtual Machine on Smart Phone. In: Kim, Th., et al. Multimedia, Computer Graphics and Broadcasting. MulGraB 2011. Communications in Computer and Information Science, vol 262. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-27204-2_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-27204-2_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-27203-5

  • Online ISBN: 978-3-642-27204-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics