Layman-Friendly Regional Language Unit Conversion Compiler

Authors

  • Aditya Bhanwadiya  Department of Information Technology, Dharmsinh Desai University, Nadiad, Gujarat, India
  • Gautam Rizwani  Department of Information Technology, Dharmsinh Desai University, Nadiad, Gujarat, India
  • Darshil Shah  Department of Information Technology, Dharmsinh Desai University, Nadiad, Gujarat, India

DOI:

https://doi.org/10.32628/CSEIT21761

Keywords:

Compiler, lexical, syntactic, semantic, FLEX, YACC

Abstract

A compiler converts source language code to machine-understandable code. This entire translation of code happens in different stages. So, one can define the compiler as a collection of many phases or stages, where every phase performs a single task and the code is translated. This paper is about brief information of the compiler on how the language or source code is evaluated and translated, from which phase what information is extracted in order to generate target code as output. For better clarity, an example of an easy-to-understand language is taken, all steps are explained, and a compiler is designed using FLEX and YACC.

References

  1. Vishal Trivedi. 2018. International Journal of Creative Research Thoughts. (Jan 2018), ISSN NO: 2320-2882
  2. Md. Alomgir Hossain, Rihab Rahman, Md. Hasibul Islam, Mahabub Azam.2019.American Journal of Engineering Research. (Dec 2019), e-ISSN NO: 2320-0847
  3. Nisha N. Shirvi, Mahesh H. Panchal.2014. International Journal of Computer Science and Mobile Computing. (Feb 2014), ISSN 2320–088X
  4. Vaikunta Pai T., A. Jayanthila Devi, P. S. Aithal. 2020.International Journal of Applied Engineering and Management Letters. (Dec 2020), ISSN: 2581-7000
  5. T.Æ. Mogensen. 2011. Springer-Verlag London Limited. DOI 10.1007/978-0-85729-829-4_2
  6. Neha Bhateja, Nishu Sethi. 2018. Journal of Emerging Technologies and Innovative Research. (June 2018), ISSN:2349-5162
  7. Anjan Kumar Sarma. 2015. International Journal of Computer Applications. (Dec 2015), ISSN NO: 0975 - 8887
  8. John Smit, Lexical Analysis (Analyzer) in Compiler Design with Example, Nov. 2021.Online]. Available:https://www.guru99.com/compiler-design-lexical-analysis.html
  9. Shivani Mittal, Flex (Fast Lexical Analyzer Generator,Aug.2021.Online].Available:https://www.geeksforgeeks.org/flex-fast-lexical-analyzer-generat or/
  10. Sanjay Monu, Classification of Top Down Parsers, Nov.2019.Online].Available:https://www.geeksforg eeks.org/classification-of-top-down-parsers/
  11. “Bottom-UpParsing”,Online]. Available:http://www.cs.ecu.edu/karl/5220/spr16/No tes/Parsing/bottomup.html
  12. Thakur Aman, Introduction to YACC, April. 2021.Online].Available:https://www.geeksforgeeks. org/introduction-to-yacc/
  13. John Smit, Syntax Analysis: Compiler Top Down & Bottom Up Parsing Types, Oct. 2021.Online]. Available:https://www.guru99.com/syntax-analysis-p arsing-types.html
  14. “Compiler Design Semantic Analysis-Compiler-Design”.Online].Available:https://www.w isdomjobs.com/e-university/compiler-design-tutorial -1144/compiler-design-semantic-analysis-25305.htm l
  15. Palak Singhal, Semantic Analysis in Compiler Design,April.2020.Online].Available:https://www.geeksforgeeks.org/semantic-analysis-in-compiler-design/
  16. John Smit, Phases of Compiler with Example: Compilation Process & Steps, Oct. 2021.Online]. Available:https://www.guru99.com/compiler-design-phases-of-compiler.html#4
  17. C.Naga Raju, Intermediate Code Generation, June. 2020.Online].Available:https://www.jntua.ac.in/gate -online-classes/registration/downloads/material/a159 254722029.pdf
  18. “Code Optimization in Compiler Design”, July.2020.Online].Available:https://www.geeksforge eks.org/code-optimization-in-compiler-design/
  19. Tom Niemann. “Lex And Yacc Tutorial” Online]. Available:https://cse.iitkgp.ac.in/~bivasm/notes/Lex AndYaccTutorial.pdf

Downloads

Published

2021-12-30

Issue

Section

Research Articles

How to Cite

[1]
Aditya Bhanwadiya, Gautam Rizwani, Darshil Shah, " Layman-Friendly Regional Language Unit Conversion Compiler" International Journal of Scientific Research in Computer Science, Engineering and Information Technology(IJSRCSEIT), ISSN : 2456-3307, Volume 7, Issue 6, pp.38-46, November-December-2021. Available at doi : https://doi.org/10.32628/CSEIT21761