Skip to content
This repository was archived by the owner on Oct 4, 2026. It is now read-only.

YPSH v3.0

Choose a tag to compare

@nercone-dev nercone-dev released this 28 Jun 10:02
· 261 commits to main since this release

YPSH - Your route of Programming is Starting from Here

New Library Management System

The @.import function now attempts to import .ypsh or .py files from either ~/.ypsh/libs or $YPSH_DIR/libs.

The import process follows this order:

  1. .ypsh file
  2. .py file
  3. Built-in module

The import uses the shallowest file available.
If none of these steps succeed, YPSH will raise error E0017.

❯ python ypsh.py
YPSH for Python (YPSH-NOTBUILT) [REPL]

>>> import("mylib")
Hello From YPSH
>>> import("mylib2")
Hello From Python
>>> exit()

❯ ls ~/.ypsh/libs
mylib.ypsh mylib2.py

Default Installation Path Changed

From now on, the official YPSH installer will install YPSH to ~/.ypsh/bin by default.
As before, it's still possible to specify a custom installation path.
This change does not affect manual binary installations or the Python version.

Crash on Ctrl+C Fixed

Fixed an issue where pressing Ctrl+C in the binary REPL mode would crash YPSH.

How to Check Build Status

Automatic builds via DGC-AutoBuild V4 will now begin.
You can check the build status at build.diamondgotcat.net.