npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vladx

v1.6.2

Published

VladX - Linguaggio di programmazione con sintassi italiana

Downloads

83

Readme

🇮🇹 VladX

VladX è un linguaggio di programmazione moderno con sintassi italiana, progettato per essere potente, leggibile e completo. Include un interprete robusto, una libreria standard (StdLib) estesa e un package manager dedicato (VladPM).


🚀 Installazione

Puoi installare VladX in due modi:

Metodo 1: NPM (Consigliato)

Se hai Node.js installato:

npm install -g vladx

Metodo 2: Script di installazione

chmod +x install.sh
./install.sh

🛠️ Utilizzo CLI

  • vladx - Avvia il REPL interattivo.
  • vladx programma.vx - Esegue un file VladX.
  • vladx ast programma.vx - Mostra l'Abstract Syntax Tree.
  • vladx lex programma.vx - Mostra i token analizzati.

📝 Sintassi in breve

Variabili e Costanti

variabile nome = "Vlad";
costante PI = 3.14;

Controllo del Flusso

se (x > 10) {
    stampa("Maggiore di 10");
} altrimenti {
    stampa("Minore o uguale a 10");
}

per (variabile i = 0; i < 5; i++) {
    stampa(i);
}

mentre (condizione) { ... }

Funzioni e Arrow Functions

funzione saluta(nome) {
    ritorna "Ciao, " + nome;
}

costante somma = (a, b) => a + b;

Classi

classe Persona {
    funzione costruttore(nome, eta) {
        questo.nome = nome;
        questo.eta = eta;
    }

    funzione saluta() {
        stampa("Ciao, sono " + questo.nome);
    }
}

variabile p = nuovo Persona("Mario", 25);
p.saluta();

Gestione Errori (Try/Catch)

prova {
    lancia "Ops!";
} cattura (err) {
    stampa("Errore: " + err);
} finalmente {
    stampa("Fine.");
}

📦 Sistema Moduli

Dividi il tuo codice in più file:

// math.vx
esporta costante PI = 3.14;
esporta funzione doppia(n) { ritorna n * 2; }

// app.vx
importa { PI, doppia } da "./math.vx";
stampa(doppia(PI));

📚 Libreria Standard (StdLib)

VladX include moduli nativi potenti:

  • Archivio: leggi, scrivi, esiste, elimina.
  • Sistema: esegui (shell), argomenti, piattaforma, esci.
  • Rete: chiama (HTTP GET), server (Crea server web).

📦 VladPM (Package Manager)

VladPM è il gestore di pacchetti ufficiale per VladX.

  • vladpm init - Inizializza un nuovo progetto (vladx.json).
  • vladpm install <nome> - Installa un pacchetto dal registry.
  • vladpm publish - Pubblica il tuo pacchetto.
  • vladpm start / vladpm run <script> - Esegue gli script definiti nel progetto.

🌟 Esempi

Trovi molti esempi nella cartella examples/:

  • test_eccezioni.vx - Test try/catch.
  • test_stdlib_fs.vx - Test File System.
  • test_stdlib_rete.vx - Test HTTP e Server.
  • moduli/ - Esempio di sistema a moduli.

Creato con ❤️ per la comunità italiana.