replit.com
Contents
replit.com
replit.com is an online browser based compiler that supports a wide range of programming languages. Code is written directly in a browser, compiled and executed on replit.com’s server and the output is sent back to the browser. This ensures that all students have access to the same software without installation issues. Additionally because the code is compiled and executed remotely on replit.com’s servers it ensures that any computer with a browser and an internet connection can be used.
You can sign up for a replit.com account for free at https://replit.com/. I recommend you do so using your York St John email account address.
replit.com In Browser
repli.t can be embedded within a webpage. I will do this throughout the webpages for this module, allowing me to illustrate with runnable code. It will also be used for some exercises that accompany the lessons.
Below is an example of replit.com running Java.
Creating A New Project
- Log in to replit.com
- Click “+New repl” at the top of the lefh hand bar.
- Choose the language you wish to work in
- Assembly Language projects require a couple more steps, see below.
- Enter a name for your project (replit.com calls projects “repl”s)
- Click create repl
- You should be taken to your new project.
Coding In replit.com
Your replit.com project should look like this when first set up.
replit.com Layout
The bar on the left-hand side shows the files that are in the project.
You can add new files (and folders) by clicking on the buttons next to “Files”.
On the side are three symbols.
Files shows you the files in your project
Version Control takes you to your repository options
Settings shows project settings
The centre section shows the content of the files in the project. This is your coding window.
The “Run” button in the middle of the top bar will compile and execute your project.
The right hand section shows the output of your. This includes the compile output. You can also enter commands here.
- Previous
- Next