Download Latest Version vitelle-0.0.6.tar.gz (52.7 kB)
Home
Name Modified Size InfoDownloads / Week
documents < 2 hours ago
src < 2 hours ago
README.md < 2 hours ago 4.2 kB
Totals: 3 Items   4.2 kB 3

Vitelle - A modern successor to VTL-2

Introduction

VITELLE (Very Itchy Tiny Engaging Little Language Extended) is a modern reinterpretation of the classic VTL-2 (Very Tiny Language 2) programming language.

The goal of the project is not to reinvent VTL-2, but to remove historical limitations imposed by 1970s hardware while preserving the original spirit: a compact, expression-oriented language that is easy to learn, easy to embed, and pleasant to use for small programs.

Vitelle remains intentionally small. It is not intended to compete with general-purpose languages. Instead, it aims to provide a lightweight environment for experimentation, automation, numerical computing, and educational purposes.

Design Goals

Vitelle follows a few simple principles:

  • Keep the language small.
  • Preserve the expression-oriented nature of VTL-2.
  • Remove obsolete restrictions.
  • Provide a useful mathematical environment.
  • Favor simplicity over feature accumulation.

The project values consistency and clarity more than language complexity.

Main Differences from VTL-2:

No Line Numbers

Source code no longer requires line numbers. Programs are written as plain text and may use symbolic labels for flow control.

Modern Variable Names

Traditional VTL-2 single-character variables are fully supported: A, B, X

Vitelle also introduces modern identifiers beginning with lowercase letters like: value, counter, my_variable, temperature

This allows larger programs to remain readable while preserving compatibility with the traditional style.

Double Precision Arithmetic

The fundamental numeric type is IEEE-754 double precision floating point.

This greatly simplifies numerical calculations and provides predictable behavior across platforms.

Dynamic Lists

Vitelle introduces dynamic list structures that can grow and shrink at runtime.

This removes one of the major limitations of the original language and allows more expressive programs without increasing language complexity.

Improved Mathematics

A major focus of Vitelle is numerical computation.

The runtime provides access to a large collection of mathematical functions based on the GLib.Math library, including:

  • trigonometric functions
  • inverse trigonometric functions
  • exponential functions
  • logarithms
  • powers and roots
  • rounding functions
  • mathematical constants

The intention is to make Vitelle immediately useful for scientific and technical calculations.

Simplified Usage

Few historical ambiguities have been removed.

For example, the "=" character is no longer used for assignment, avoiding confusion between assignment and comparison operations.

Operator precedence is respected.

The language remains compact while becoming easier to read and implement.

Philosophy

Many modern language projects evolve by continuously adding features.

Vitelle follows the opposite approach.

Whenever possible, complexity is removed rather than added.

The project seeks to answer a simple question:

What would VTL-2 look like if it had been designed today while remaining recognizably VTL-2?

Example

A simple counting loop:

A 10
B 0
! L
&? B
B B + 1
#(B < A) * L

A mathematical example:

X 0
! L
&? X
&? X ^ 2
&? sin[X]
&? " "
X X + 0.5
#(X < 5) * L

Companion Tools

The project includes:

  • vitvm: a stripped down virtual machine based on C1316 virtual processor
  • vitelle: the software that compiles Vitelle down to C1316 instructions, and executes the script
  • winder: a minimal line-oriented editor designed for Vitelle source files
  • ragman: the official C1316 compiler

These tools favor simplicity and low resource usage over feature richness.

This project is a testbed for the tools that I developed for the CencioVM ecosystem.

Current Status

Vitelle is an active project, The C1316 VCPU is beta, the vitvm can still evolve a little but is almost feature complete. The language core is intentionally compact.

License

vitvm, vitelle, winder are GPL3, ragman and the examples are MIT

Source: README.md, updated 2026-11-28