Share your repls and programming experiences

← Back to all posts
My very own Linux Shell
[deleted]

BSH

If you don't know what a Linux Shell is, think of it as your cmd.exe. In other words, it is really just a programming language, like Python.

Now, when you go to the code, you are probably gonna be like "What, is it just cloning some virus from GitHub?"

No, it's just cloning my work off of GitHub (handle is @Ganesha2282882), and compiling it, then running it. It uses 2 builders, one written in Python and the other written in Make.

The Python one removes some temp, clones, and starts the compile process.

The Makefile is part of the actual code, and is used to compile the program itself.

When run, it will show a whole bunch of text, including some module installs. When finished, it should display a "%" on the console. Don't worry if it's red, It just outputing to /dev/stderr which makes it red. Kinda like the git clone, there is no error.

The unused PyInstaller module is so that it can compile properly. A breakdown of this:

Repl.it has a cool "auto-pip install" feature which if you import a module that does not exist, it will just install it.

And PyInstaller is part of pyinstaller seen on PyPI. pyinstaller lets us compile the Python script to .elf.

And it installs the command as well. So it's just saying "Hey Repl.it, can you install this whole package? I just need the module" but it has to install the other bloat, which actually has what we need, and we don't have control.

TLDR

It's just like any other Linux Shell, just tiny.

Anyway, feel free to run it. Let me know what you guys think!
Just in case if you can type...
Just hit Stop and hit Run.