pairwise-tech / pairwise

The Pairwise Codebase
https://app.pairwise.tech
6 stars 0 forks source link

Proof of Concept non JS Language Support #279

Closed bonham000 closed 3 years ago

bonham000 commented 3 years ago

This PR:

Notes:

[1] Regarding alternative languages, supporting a few popular ones like, for instance, Rust, Python, Go, or even Bash might be interesting. You could have a course on Rust for example which walks through all of the language basics in like 50-100 challenges, and then concludes with maybe 5 projects (e.g. command line tool, command line game, server/API, etc.). Something like that would definitely be enough to get someone new off the ground in a new language.

[2] Like the JS challenges, this is not a perfect runtime environment. However, I think it is workable enough to introduce basic concepts and get some hands-on working practice with these languages.

Todo:

Demo:

Rust code compiles and completes a challenge:

Screen Shot 2021-06-22 at 8 23 15 PM

Compiler errors are pretty readable:

Screen Shot 2021-06-22 at 8 23 24 PM

Python intro challenge:

Screen Shot 2021-06-23 at 12 16 17 AM

Golang intro challenge:

Screen Shot 2021-06-23 at 5 29 47 PM