Vulpin is a tiny, single character command scripting language that runs on top of C!
It was designed to let you write the smallest possible program's.
Installation
-
Go to Vulpin Website
-
Then tab to the Download button on novbar
-
and Download and Install the version of Vulpin that you want!
Quick Start
- Create a
.vulfile. Likehello.vul:G "Hello World!"
- Run it:
vulpin hello.vul
Basic Syntax
name="Armin"
G"Hello" # Prints with newline
P"Loading..." # Prints without newline
G 5 + 3 # Prints 8
Gname # Prints value of variable name
Output
Hello
Loading...8
Armin
Input
K user "Your name: "
G"Hi, " + user
# Typed input (invalid → default value)
K age"Age: "I # Integer (default 0)
K price"Price: "F # Float (default 0.0)
K letter"Guess: "L # Single letter (default "")
Kinput"K can write like this! :)"
Type characters for K:
| Char | Type | Default if invalid |
|---|---|---|
I |
Integer | 0 |
F |
Float | 0.0 |
N |
Number (int/float) | 0 |
L |
Single letter | "" |
W |
Word (letters only) | "" |
E |
Lowercase only | "" |
U |
Uppercase only | "" |
A |
Letters + spaces | "" |
P |
Alphanumeric + spaces | "" |
Variables
x=10 # Direct assignment
name="Vul"
A"x"+5 # x = x + 5
S"name""Vul""VUL" # Replace in string
D"y" # Delete variable
String shortcuts:
| Shortcut | Method | Example ($msg.S) |
|---|---|---|
.U |
upper() |
"hello".U → "HELLO" |
.L |
lower() |
"HELLO".L → "hello" |
.S |
strip() |
" hi ".S → "hi" |
.T |
title() |
"hi there".T → "Hi There" |
.C |
capitalize() |
"hello".C → "Hello" |
Delay
D1 # wait 1 second
D0.5 # wait 0.5 seconds
D delay # wait the value of variable
Imports
You can Import C or Vulpin Modules with using U.
U"os"
G os.getcwd()
os.system("echo Hello")
U"math"
G math.sqrt(16)
Control Flow
If / Else
score=85
? score >= 90
G"A"
:
? score >= 80
G"B"
:
G"C"
;
;
Conditional Jump
x=5
? x > 3 J skip
G"Not printed"
L skip
G"Printed"
While Loop
i=0
@ i < 5
G i
i=i+1
&
Infinite Loop
@1
G"Running forever..."
&
For‑Range Loop
O i 0 5 # 0,1,2,3,4
G i # or Gi
&
O x 10 0 -2 # 10,8,6,4,2
G x # or Gx
&
Switch / Case
fruit="apple"
W fruit
V"banana"
G"yellow"
V"apple"
G"red or green"
N
G"unknown"
Z
Labels & Jumps
J end
G"Skipped"
L end
G"Done"
Functions
F add(a, b)
R a + b
~
G add(3, 4) # 7
F greet(name)
G"Hello " + name
~
greet("World")
Error Handling
T
x=10
y=0
G x/y # division by zero!
C"err"
G"Error: " + err
Y
G"Continues..."
Output
Error: division by zero
Continues...
Complete Examples
Hello World
G"Hello World"
Guessing Game
U"random"
secret=random.randint(1,10)
tries=0
L guess
K"num""Guess (1-10): ""I"
tries=tries+1
? num=secret
G"Correct! Tries: "+tries
Q
:? num<secret G"Higher"
: G"Lower"
;
;
J guess
Factorial
F factorial(n)
? n<=1
R 1
;
R n*factorial($n-1)
~
G factorial(5) # 120
Checking vul version
To check the version of Vul you are running:
vulpin version
Output:
Vul 0.8
Build your apps!
vulpin build
Troubleshooting
Let's fix your problems!
- Python Type Hint Syntax Error:
this is known error in new Vulpin version like you can see it at most in version
0.5but thats easy to fix!- on vulpin 0.5 this error might be in line of
682or line of77or etc...! take a look at here to see how to fix: https://github.com/orgs/community/discussions/199748
- on vulpin 0.5 this error might be in line of
Some of the notes
- Spaces are optional after commands.
G"Hi"andG "Hi"both work. - The dot operator (like
os.name) works correctly in the latest release. If you encounter issues, use the--debugflag to see detailed parser output.
License
MIT LICENCE. CHECK OUT LICENCE. ICONS ARE UNDER LICENCE TOO.
Happy coding with Vulpin!
Sponsers:
FluxCast
Metadata
Release files for vulpin 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vulpin-0.9.tar.gz | 13.6 kB | Without provenance | Details for vulpin-0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vulpin-0.9-py3-none-any.whl | Python 3 | none | any | Details for vulpin-0.9-py3-none-any.whl |
Total release size: 19.4 kB
Release files / vulpin-0.9.tar.gz
| Download URL | vulpin-0.9.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fe363b9e4179a1d3d18822a11c474b491d966710f0eff7899d32e9b88ae3190
|
|
BLAKE2b-256 checksum How to use checksums |
6924b087b05c1657a7c068ea73cbc10246054206a30a34189eed093b0d0d46e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / vulpin-0.9-py3-none-any.whl
| Download URL | vulpin-0.9-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75b6a68ca6a3d034d18ff4ebd2831489d3e4ac1fd74a10a0de04f70600ce49da
|
|
BLAKE2b-256 checksum How to use checksums |
5afe3f50c67acfcef9192c0fe2f1468c73dc2e24f32c3a3a4b66391a3bb6a880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for vulpin 0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.