Skip to main content

Vulpin Banner

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 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 Quick Start

  1. Create a .vul file. Like hello.vul:
    G "Hello World!"
    
  2. Run it:
    vulpin hello.vul
    

basic syntax 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 Output

Hello
Loading...8
Armin

input 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 ""

vars 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 Delay

D1          # wait 1 second
D0.5        # wait 0.5 seconds
D delay    # wait the value of variable

modules 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 Control Flow

if else If / Else

score=85
? score >= 90
    G"A"
:
? score >= 80
    G"B"
:
    G"C"
;
;

jump Conditional Jump

x=5
? x > 3 J skip
G"Not printed"
L skip
G"Printed"

while While Loop

i=0
@ i < 5
    G i
    i=i+1
&

infinite loop Infinite Loop

@1
    G"Running forever..."
&

for range 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 Switch / Case

fruit="apple"
W fruit
V"banana"
G"yellow"
V"apple"
G"red or green"
N
G"unknown"
Z

lables and jumps Labels & Jumps

J end
G"Skipped"
L end
G"Done"

Functions Functions

F add(a, b)
    R a + b
~

G add(3, 4)       # 7

F greet(name)
    G"Hello " + name
~

greet("World")

error handling Error Handling

T
    x=10
    y=0
    G x/y        # division by zero!
C"err"
    G"Error: " + err
Y
G"Continues..."

output Output

Error: division by zero
Continues...

complete examples Complete Examples

hello world Hello World

G"Hello World"

guess 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

factory Factorial

F factorial(n)
    ? n<=1
        R 1
    ;
    R n*factorial($n-1)
~

G factorial(5)   # 120

information Checking vul version

To check the version of Vul you are running:

vulpin version

Output:

Vul 0.8

build Build your apps!

vulpin build

fix 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.5 but thats easy to fix!

sotn Some of the notes

  • Spaces are optional after commands. G"Hi" and G "Hi" both work.
  • The dot operator (like os.name) works correctly in the latest release. If you encounter issues, use the --debug flag to see detailed parser output.

licence License

MIT LICENCE. CHECK OUT LICENCE. ICONS ARE UNDER LICENCE TOO.


party popper

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)

Source distribution for vulpin 0.9
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)

Table of built distributions (wheels) for vulpin 0.9
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

0.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page