https://github.com/fries-byte/cp-sc
pistud's compiler, studc or studcompiler, its created to replace python's interpreter and using python's compiler to convert pistud files into exe
https://github.com/fries-byte/cp-sc
Last synced: about 1 year ago
JSON representation
pistud's compiler, studc or studcompiler, its created to replace python's interpreter and using python's compiler to convert pistud files into exe
- Host: GitHub
- URL: https://github.com/fries-byte/cp-sc
- Owner: Fries-byte
- Created: 2025-02-10T10:22:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T11:43:02.000Z (over 1 year ago)
- Last Synced: 2025-02-13T12:33:54.471Z (over 1 year ago)
- Language: Python
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compile PiStud | studc
a compiler for pisted to replace pythons inerpreter, you have to [download Piargs](https://github.com/Fries-byte/pistud/raw/refs/heads/main/exe/piargs.exe) to get the compiler, the compiler is still in development and not bug free
# How it works
When you use the pistud interpreter, it converts it into python code and runs that code, but when you use the compiler the interpreter converts it into python code and runs it to check for errors before running the compiler and converts it into an exe file
### Interpreter:

### Compiler:

# How to use
download pyinstaller before using, since its code is pyinstaller included (compiler is not the same as pyinstaller)
```
pip install pyinstaller
```
after you've downloaded it, here are some options to choose
There are two type of compilers, the clean one and the developer one, for clean one use piargs, do
```
ping install studc
```
but if you want the developer version and create your own, do (in terminal)
```
git clone https://github.com/Fries-byte/cp-sc
```
to compile the file, use
```
python runtime.py filename.py
```
and replace "filename" with the file you want to compile
This program currently works on Windows only (i think)
# License
the compiler is open source and free for everyone, read the [license](https://github.com/fries-byte/pistud?tab=License-1-ov-file) and [security policy](https://github.com/fries-byte/pistud?tab=security-ov-file) to know what you may and may not use or do with our code.