FrancescoXX / rustcrab

An Open Source project with everything you need to learn about Rust.
https://rustcrab.com
MIT License
402 stars 69 forks source link

[FEATURE] CREATE AN COMPILER SECTION #116

Open anshumalivfx opened 1 month ago

anshumalivfx commented 1 month ago

Overview

Develop a new feature for the Rust Learning Web Application that includes a compiler section. This section will allow users to write, compile, and execute Rust code directly within the application. The goal is to provide an interactive and practical learning experience for users, helping them understand Rust concepts more effectively.

devvsakib commented 1 month ago

I think it's not needed at the moment as the site is incomplete and requires significant improvement. But we can add it later

felixoder commented 1 month ago

Hello @FrancescoXX I had gone through so many options for the api handler of plaground got one "JDoodle" that give access of 200 compilation /day

I got this result

https://github.com/user-attachments/assets/abe03672-435e-4471-87fd-3ccb4b53b19a

anshumalivfx commented 1 month ago

Hey @FrancescoXX I started working on Compiler and I got this Result

Screenshot 2024-07-15 at 22 09 38
felixoder commented 1 month ago

@anshumalivfx is it working like is it running?

anshumalivfx commented 1 month ago

@felixoder I'm still working on the API calls to run rust snippets

anshumalivfx commented 1 month ago

Hey @FrancescoXX Here's my idea for playground

https://github.com/user-attachments/assets/645c0a06-619b-4dbc-8295-df5fb35d5444

FrancescoXX commented 1 month ago

hey @anshumalivfx , thank you. please check the pr. I think the title on the navbar can be just "playground"

I like how dry it is. win the future we might want to add other stuff

FrancescoXX commented 1 month ago

@devvsakib this might be interested but we can leave it hidden for now, so the community can work on it or visit it at a specific url (we will not have it in the navbar)

anshumalivfx commented 1 month ago

@FrancescoXX that'll work we can make it smooth and eventually get rid of Jdoodle in future and make our own API

github-actions[bot] commented 3 weeks ago

Hello! :wave:

This issue has been automatically marked as stale due to inactivity :sleeping:

It will be closed in 180 days if no further activity occurs. To keep it active, please add a comment with more details.