You are browsing as a guest. Sign up (or log in) to start making projects!

5h 4m 22s logged

DONE!!! Finally! (hopefully)

I’ve done a bunch of bug hunting and working on the frontend in the past 5 hrs of work,,, so here is the breakdown

Frontend website

I created the frontend for the BASIC interpreter in the “style” of the Dartmouth by adding a CRT effect in CSS
I also made an input thingie from scratch to take keyboard inputs and put them on the screen, all capital letters, and (ctrl+)backspace, spaces, and enter works!
The frontend also connected to the backend API.py via a websocket

Actual interpreter code

I basically just added a case for divide by zero, which results in +infinity (which is ~5.78960e76)

Backend

I took the basis of the communicate.py and turned it into a class and gave one to each client that connected to the websocket server, created using websocket_server

Thats about it I think, i just need to put the server on nest and then change the api url to the prod url and upload the website on netlify

0
12

Comments 0

No comments yet. Be the first!