0% found this document useful (0 votes)
33 views

Portable Code Compiler

Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-3 , April 2020,Pdf Url :https://www.ijtsrd.com/papers/ijtsrd30911.pdf Paper Url :https://www.ijtsrd.com/computer-science/programming-language/30911/portable-code-compiler/rimmy-kumari

Uploaded by

Editor IJTSRD
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Portable Code Compiler

Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-3 , April 2020,Pdf Url :https://www.ijtsrd.com/papers/ijtsrd30911.pdf Paper Url :https://www.ijtsrd.com/computer-science/programming-language/30911/portable-code-compiler/rimmy-kumari

Uploaded by

Editor IJTSRD
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

International Journal of Trend in Scientific Research and Development (IJTSRD)

Volume 4 Issue 4, June 2020 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470

Portable Code Compiler


Rimmy Kumari1, Ganeshan M2
1Master of Computer Application, 2Department of Computer Science and Information Technology,
1,2Jain University, Bengaluru, Karnataka, India

ABSTRACT How to cite this paper: Rimmy Kumari |


The interest of coding aptitudes is soaring and not just only for designers, Ganeshan M "Portable Code Compiler"
writing computer programs is assuming a greater job in each profession way. Published in
The main importance of ‘Code-Up’ is to learn to code interactively. In this International Journal
project we are providing interface with different levels of question to enhance of Trend in Scientific
their programming skills based on the level of the questions solved. We are Research and
using Servlet, JSP and oracle database with Model 2 architecture so that Development
request and response can be handled easily. We are using reflection (ijtsrd), ISSN: 2456-
Application Program interface (API) and runtime API for the execution and 6470, Volume-4 | IJTSRD30911
compilation of the code at runtime. An online based program compiler to Issue-4, June 2020,
enhance platform independent services for multiple languages support. pp.135-138, URL:
Regardless of dynamic working nature of compiling the program, it is also www.ijtsrd.com/papers/ijtsrd30911.pdf
capable of handling multiple request of code execution. Even though it is
specially designed for student programmers who want to learn and improve Copyright © 2020 by author(s) and
their knowledge about the multiple languages and understand the various International Journal of Trend in Scientific
complexities of code to be improved before implementing it into real world Research and Development Journal. This
software as a part or a component. This platform provides a web portal where is an Open Access article distributed
one makes their account for daily improvement as well as to-gather under the terms of
information about their coding knowledge growth and other important guide. the Creative
It will help indivisible, mainly student to increase their knowledge in the field Commons Attribution
of coding .The present working code compiler is available but it has a slate License (CC BY 4.0)
limitation it won’t execute all the programming languages. Moreover it might (http://creativecommons.org/licenses/by
sometime throw an error. /4.0)
Some of the language like java IDE (Integrated Development Environment)
(Eclipse, Net Beans) takes up a lot of space in the personal computer but the
portable code compiler is completely mobile and can be accessed from
anywhere in the world.

KEYWORDS: Code-up; Cloud Compiler; Web Based; Multi Languages etc


I. INTRODUCTION
To enhance the programming skills based on the level of the register themselves in this online coding website. The login
question solved. To provide different coding platform to section registers a user to the site and allows him to get
code in different languages (C, Java, Python). One can judge access the history of the sites visited. Cloud Compiler is a
themselves on the score basis and heir rank in the leader compiling tool which helps the programmers to compile
board. An option for uploading existing code is also available. their source code and run it online. Online compilers can
perform the same task which locally stored compilers can do
A lot of further modifications can be done to improve or except for the fact that they require the project’s source code
increase the scope of the project. The project is completed to be stored online and facilitate the user to access it via a
with the simple and basic use of languages like Servlet, jsp, web browser. The programmers can begin development of
html, CSS and java script. project quickly on any platform or device if the hardware
and software requirements are minimized. This facility is
The topic as the name suggests is a online coding website provided by online compilers as the user need not install
that provides the user with information regarding the each and every compiler locally. Modern online compilers
various programming language and the different level of have some limitations of capabilities when compared to
programming language to solve challenges into for those conventional compilers, however today's online compilers
specified language. The user can solve challenge according to are capable of compiling Java, C Sharp (programming
his or her need directly or can visit the site and look for the languages), VB.net, etc. Online compilers are an emerging
most popular language to decide in which language he/she technology and currently provides more functionalities than
will take challenge. The page provides description to the the conventional compilers. Few online compilers have
various programming language so that if a student is integrated reliable version control systems which are
confused to choose between any two or more language by necessary to store records of the previous iterations of
going through the website one may arrive at a final single projects. Online compilers have integrated a functionality of
decision of choosing the specified language. There are signup auto-save which solves this problem so that if the user’s
and login section provided so that the user can easily internet connection is lost, the project content is still not lost,

@ IJTSRD | Unique Paper ID – IJTSRD30911 | Volume – 4 | Issue – 4 | May-June 2020 Page 135
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
however reliable version control has yet to be implemented.
Team collaboration can sometimes be the main reason for
the difficulties with online compilers, as for the security
reason, some online-cloud based compilers do not allow
users to share their source code with other user profiles.
Online compilers have also provided the feature of importing
sharing project with colleagues which is a temporary
solution to the currently facing problem. Syntax highlighting
is additional problem for some online compilers, which is
still unresolved. Basically, cloud-based compilers give a
platform free condition to code, aggregate, investigate and
execute programming programs. The motivation behind this
is the lack of availability of such compilers in the literature
that provide the combination of both: cloud and open-source V. LIMITATION AND FUTURE PROSPECTS
computing technologies. These programs can be easily Limitations:
performed through android application interface and a web  No calculation of time and space complexity
browser using any internet enabled device.  Access to the internet
 Blockage of Malicious
II. REQUIREMENT ANALYSIS
A. Technical Feasibility Code Future aspects:
This is very efficient as user can access it from any location.  More programming language can be added.
This web site stores all the information about the different  Courses can be added.
programming language and we can see different options on  Review and rating can be added.
just a click. The concept of web designing is implemented  Leader board
here which gives an interactive view to the user.
VI. RELATED WORK
B. Economical Feasibility The paper presents a web-based compilation system. It helps
This is economical as there is no need of extra investment as any particular user to compile any code file on the go, based
there is detail information about the different programming on computer languages like C, C++, Java& Python. A review
language. Not much of hardware tool is required for this. was done on different topics which would be a hurdle while
designing the code compiler. Some of the key ideas are
III. METHODOLOGY ADOPTED described as follows: The paper [1], provides different
Here we can learn different programming languages and strategies and plans that have been experimented in order to
getting the information about the that programming enhance understanding of Prolog to Computer Science
languages. Simple concepts of Servlet, JSP, HTML, CSS and graduates in the Institute of Automatics at AGH University of
JavaScript are used to create this website. The designing of Science and Technology is given. Of course the topic of
the page is done as per the convenience of the user, so that difficulties with technique Prolog is not new. The paper has
the user can interact easily. Then it operates with the help of records of different ways implemented in teaching Prolog to
web browser and user can easily access to it. Computer Science students. These recorded experiences
help build an interactive web portal for teaching support.
IV. ARCITECTURE Also different guidelines to be kept in mind are also given. A
Model 2 (Model View Compiler) :- prototype implementation which is based on (Doku Wiki) is
Here, we will be using Model View Controller Architecture also outlined by the respective paper.
because it is suitable for enterprise level applications. This
architecture has 3 main components (View, Controller and The paper [2], focuses on solving the problem of storage and
Model) portability of compilers. The client need not to introduce any
compiler, just needs to present the program into the UI
View: View is concerned with the viewable resources using given. The controller ultimately decides which compiler
the following component:- server the program should be assigned to compile,
 HTML depending on the design of backend compilers. Then servers
 CSS intended to compile the programs will compile and execute
 JavaScript the programs. The output is then displayed to the user on his
screen. The dispersion of burden on the controller is checked
Controller: This layer is also called presentation layer. by contrasting the complete reaction time of the projects in
Controller is responsible for taking request from client side both sequential and equal program designation to
and if database access is required, it forwards the data to the compilation level. The paper [3], provides a solution for
model layer various which makes it difficult for programmers to compile
programs of a certain programming language on any
Model: Model is divided into 2 Sub-layers: machine they use, which offers open-source compilers which
 Business Layer are cloud based. We provide the necessary system, imminent
 DAO (Data Access Object) Layer partners, foreseen highlights, and potential difficulties of
sending such sort of compilers, considering the best in class
Business layer consists of the plane java code. It forwards endeavours in this unique circumstance. The paper [4],
the request to DAO layer for validation and modification. proposed a Meta-scheduler design to be utilized on Cloud
Computing situations. The essential thought process of the
Meta-scheduler design is to deal with the accommodation of

@ IJTSRD | Unique Paper ID – IJTSRD30911 | Volume – 4 | Issue – 4 | May-June 2020 Page 136
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
administrations to the server in a proficient way and integrated development environment according his own
furthermore to deal with the framework concerning the convenience. One assumption about the product is that it
matrix assets having a place with the Cloud. Furthermore, will always be used on mobile phones and Desktop, Laptop,
this Meta scheduler also aims of building the best pool of PCs that have enough storage. If the device does not have
available resources for the basic implementation of the enough hardware resources or a proper internet connection
requests which are issued by the users. To handle this, an available for the application, there may be scenarios where
economy model situated in approach of supply/request is the application does not work as intended or even at all.
received. Additionally, the paper presents a different Cloud manager acts as an identifier, It identifies the
approach for the communications between pairs of entities programming language used in the program/code and sends
of the collaborative environment. This architecture extends the program/code to the respective compiler. Once the
the hierarchical model and implements the communication program/code is compiled successfully it generates the
via hierarchical P2P scheme. The central idea on this model accurate outputs. The proposed system showed how web
is to make use of the upper level Meta-scheduler (named services and cloud services could be combined to eliminate
Super-scheduler) to control partial overload and to impose the problem of storage, making it useful for different user
performance under service demand. from wide variety of backgrounds. Also, the storage can be
eliminated by simply creating user account and have their
VII. SYSTEM REQUIREMENT private space for files and project sharing.
Software Requirements
 Operating System IX. IX. SNAPSHOTS
 Tomcat server
 Oracle Database
 JDK & GCC compiler

Hardware Requirements
 Personal Computer
 Net Connectivity

VIII. PROPOSED ALGORITHUM


The system is eventually intended for the software
developers. Product will be deployed to web site and an
android application. All users of this system will make use of
the same via a website or an application. There is availability
of cloud server where all the client information is kept and
all the execution is carried out. Website and Android
Application will only be the interface for the user data and
the execution of provided functionalities. Fig1. Home Page

Users are required to register through the interface provided


on the website and android application. Whenever a new
user is registered, all the required data will be created in the
server-side database. The user can log in or logout of the
system at instant of time he wishes to. Each operation that
the user wishes to perform or performs will directly
replicate on the database stored on the server. User will be
able to compile programs on language specific compilers and
debuggers (C, C++, Java, python, etc) available on the system.

Fig2.Input/ Output Format

CONCLUSION
Cloud Computing is a technology which enables the users to
utilize the services like computation, storage and data
retrieval. The technology can be used without any technical
details of the system’s configuration and physical location of
the network provider. The most approaching idea behind
developing this technology is to eliminate the installation of
multiple compilers in a device or a system as it is a compiler
for multiple-languages. Cloud computing is also known as
centralized repository for multiple-language compilers
where in, the best feature is user’s will have a facility of
Fig1. Overall System flow storing the programs and accessing their files through their
registered credentials. Also this technology has a
Compiling and running the programs will be executed on personalized authentication process to maintain the high
cloud server so that user will be able to access his own data security. Cloud computing helps in cost reduction and

@ IJTSRD | Unique Paper ID – IJTSRD30911 | Volume – 4 | Issue – 4 | May-June 2020 Page 137
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
reduces waste of paper. Data on cloud computing gets [7] M. L. Peixoto, M. J. Santana, J. C. Estrella, T. C. Tavares,
upgraded and updated automatically after regular interval of B. T. Kuehne,and R. H. Santana, “A metascheduler
time which makes this technology more effective and architecture to provide qosonthe cloud computing,” in
efficient for the user to use. Telecommunications (ICT), 2010 IEEE
17thInternational Conference on, pp. 650–657, IEEE,
REFERENCE 2010.
[1] https://www.javatpoint.com/
[8] R. A. Calvo, S. T. O’Rourke, J. Jones, K. Yacef, and P.
[2] https://www.w3schools.com/ Reimann, “Collaborative writing support tools on the
cloud,” IEEE Transactions on Learning Technologies,
[3] https://www.tutorialspoint.com/java/index.htm
vol. 4, no. 1, pp. 88–97, 2011.
[4] file:///C:/Users/Rimmy/Desktop/IJARCCE%20163%2
[9] J. Feller and B. Fitzgerald, “A framework analysis of the
01.pdf
open source software development paradigm,” in
[5] file:///C:/Users/Rimmy/Desktop/IJARCCE%20163%2 Proceedings of the twenty first international
01.pdf conference on Information systems, pp. 58–69,
Association for Information Systems, 2000.
[6] T. A. Ghaleb, “Toward open-source compilers in a
cloud-based environment: the need and current [10] A. Fox, R. Griffith, A. Joseph, R. Katz, A. Konwinski, G.
challenges,” in Open Source Software Computing Lee, D. Patterson, A. Rabkin, and I. Stoica, “Above the
(OSSCOM), 2015 International Conference on, pp. 1–6, clouds: A berkeley view of cloud computing,” Dept.
IEEE,2015. Electrical Eng. and Computer. Sciences, University of
California, Berkeley, Rep. UCB/EECS, vol. 28, no. 13, p.
2009, 2009.

@ IJTSRD | Unique Paper ID – IJTSRD30911 | Volume – 4 | Issue – 4 | May-June 2020 Page 138

You might also like