- Python 3.11 or higher,
- Rust with Cargo (if not using Windows or want to build from source)
- free port
32666
(localhost|127.0.0.1) <- or else you need to change files:src/rust/file_reader.rs
andsrc/python/listener.py
.
-
Clone repository
-
Go to
scripts/
-
Reading scripts:
-
If you want to open default file:
main.z0s
then openfile_reader.exe
, -
If you want to open custom/specific file then open via cmd with
file_reader.exe -- <relative path to file>
NOTE: You can placefile_reader.exe
anywhere you want, because it doesnt need to be inscripts/
folder, but code file needs to be in relative path
-
-
Run
main.py
fromsrc/python/
folder -
Your code is running 😃
-
Clone repository
-
Go to
src/rust/
-
Run
cargo build -r
-
Open
src/rust/target/release/
-
Move
file_reader
file toscripts/
(or else you need to place z0 script file insrc/rust/target/release
folder) -
Go to
scripts/
-
Reading scripts:
-
If you want to open default file:
main.z0s
then openfile_reader
file, -
If you want to open custom/specific file then open via cmd with
./file_reader -- <relative path to file>
NOTE: You can placefile_reader
anywhere you want, because it doesnt need to be inscripts/
folder, but code file needs to be in relative path
-
-
Run
main.py
fromsrc/python/
folder -
Your code is running 😃
#log("Hello, World!");