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

protlin-language-support

v1.0.1

Published

Language support for Protlin programming language - VS Code extension and npm package

Readme

Protlin™ Programming Language

License Version Platform Company VS Code Installs npm npm downloads

Official Repository | Copyright © 2026 Moude AI LLC and Moude Corp


Overview

Protlin is a proprietary, modern programming language designed for high-performance computing with integrated graphics capabilities, intelligent theme management, and advanced module systems. This is the official implementation of the Protlin language specification.

Legal Notice

⚠️ IMPORTANT: Protlin is copyrighted software owned by Moude AI LLC and Moude Corp. Unauthorized copying, cloning, distribution, or commercial use is strictly prohibited. See LICENSE for complete terms.


Language Specifications

Core Architecture

Language Statistics:

  • 471 Keywords - Comprehensive language coverage across all paradigms
  • 10 Core Modules - Modular architecture for maintainability
  • Cross-Platform - Linux, macOS, Windows support
  • Real-Time Graphics - Native window management and rendering

Supported Paradigms:

  • Imperative Programming
  • Object-Oriented Programming (OOP)
  • Functional Programming (FP)
  • Concurrent Programming
  • Asynchronous Programming
  • Pattern Matching
  • Metaprogramming

Technical Features

1. Graphics Subsystem

Window Management:

  • Native window creation via minifb integration
  • Multi-window support with independent rendering contexts
  • Hardware-accelerated rendering pipeline
  • Event-driven input handling

Drawing Primitives:

  • Rectangles (filled and outlined)
  • Circles (Bresenham algorithm)
  • Lines (anti-aliased)
  • Triangles (polygon rendering)
  • Custom shapes via path composition

Component System:

  • Layer-based UI architecture
  • Clickable components (buttons, panels, labels)
  • Hit detection with bounding box optimization
  • Event propagation and handling

2. Theme Management System

Automatic Theme Detection:

  • OS-level theme detection (dark/light modes)
  • Fallback detection via system settings (gsettings, registry)
  • Real-time theme switching support

Theme Modes:

  • auto - Automatic OS theme detection
  • dark - Force dark theme (#000000)
  • light - Force light theme (#FFFFFF)
  • custom - User-defined RGB colors

Alpha Blending:

  • Canvas transparency with alpha channel (0-255)
  • Theme color blending based on alpha percentage
  • Per-pixel alpha compositing

3. Module System

Import Mechanisms:

import(source: String, alias?: String) -> Module
  • Web URL imports (HTTP/HTTPS)
  • Native library loading (native:*)
  • Local file imports with path resolution

Export System:

export(name: String, value: Any) -> Void
  • Function exports
  • Variable exports
  • Class/Type exports
  • Global export registry

Code Loading:

load(filepath: String, range?: String) -> String
  • Full file loading
  • Partial loading: head:n, tail:n, lines:start-end
  • Line-based code injection

Module Unloading:

unload(module: String, range?: String) -> Void
  • Memory management
  • Partial unloading support
  • Garbage collection integration

Installation

VS Code Extension (Recommended)

Install the official Protlin language support extension directly from the VS Code Marketplace:

Install from VS Code Marketplace

Or install via VS Code:

  1. Open VS Code
  2. Press Ctrl+P (or Cmd+P on macOS)
  3. Type: ext install MoudeAI.protlin-language-support
  4. Press Enter

Features:

  • Syntax highlighting for .prot files
  • Language configuration and support
  • Automatic file association

NPM Package

Install Protlin as an npm package for Node.js integration:

npm install protlin-language-support

Usage in Node.js:

const protlin = require('protlin-language-support');

// Run a Protlin file
protlin.run('script.prot');

// Start REPL
protlin.repl();

// Check syntax
protlin.check('script.prot');

System Requirements

Minimum:

  • Rust 1.70+ (stable)
  • Cargo package manager
  • 2GB RAM
  • 500MB disk space

Recommended:

  • Rust 1.75+ (latest stable)
  • 4GB RAM
  • 1GB disk space
  • GPU with OpenGL 3.3+ support

Build from Source

# Build release version
cargo build --release

# Verify installation
cargo run --release examples/hello.prot

Quick Start Guide

Hello World

println("Hello, Protlin!")

Graphics Application

// Create window and canvas
window mainWindow 800 600
canvas mainCanvas 800 600

// Configure theme
window_set_theme(mainWindow, "auto")

// Draw shapes
set_color(mainCanvas, 255, 0, 0)
draw mainCanvas rectangle 100 100 600 400

set_color(mainCanvas, 0, 255, 0)
draw mainCanvas circle 400 300 100

// Render
render mainWindow mainCanvas

Theme System

// Auto-detect OS theme
window win 400 300
canvas canvas 400 300
window_set_theme(win, "auto")

// Set canvas transparency
canvas_set_alpha(canvas, 128)  // 50% transparent

// Render with theme blending
render win canvas

Documentation

Official Documentation

Examples

See examples/ directory for official code samples:

  • hello.prot - Basic syntax demonstration
  • graphics_demo.prot - Graphics system showcase
  • theme_demo.prot - Theme system examples

Project Structure

Protlin/
├── src/
│   ├── main.rs           # Application entry point
│   ├── lexer.rs          # Lexical analysis (66,887 lines)
│   ├── parser.rs         # Syntax analysis (307,244 lines)
│   ├── ast.rs            # Abstract Syntax Tree (40,026 lines)
│   ├── interpreter.rs    # Runtime execution (186,895 lines)
│   ├── builtins.rs       # Standard library (318,518 lines)
│   ├── environment.rs    # Scope management (76,697 lines)
│   ├── types.rs          # Type system (4,001 lines)
│   ├── error.rs          # Error handling (2,165 lines)
│   └── graphics.rs       # Graphics subsystem (23,363 lines)
├── examples/             # Official examples
├── docs/                 # Official documentation
├── Cargo.toml           # Rust dependencies
├── LICENSE              # Proprietary license
└── README.md            # This file

Total Lines of Code: 925,796 lines


Dependencies

Core Dependencies

  • minifb (v0.27) - Cross-platform window creation and rendering
  • dark-light (v1.0) - OS theme detection

Development Dependencies

  • Rust Standard Library
  • Cargo build system

Contributing

Protlin accepts contributions under strict terms. By contributing, you:

  1. Grant exclusive rights to Moude AI LLC and Moude Corp
  2. Agree to the Contributor License Agreement
  3. Certify original authorship of contributions
  4. Waive ownership claims to contributed code

See CONTRIBUTING.md for detailed guidelines.


Roadmap

Version 1.1 (Q2 2026)

  • [ ] Complete import/export implementation
  • [ ] Native library system
  • [ ] Web URL downloading
  • [ ] Standard library expansion

Version 1.2 (Q3 2026)

  • [ ] REPL (Read-Eval-Print Loop)
  • [ ] Interactive debugger
  • [ ] Performance profiler

Version 2.0 (Q4 2026)

  • [ ] Language Server Protocol (LSP)
  • [ ] VS Code extension
  • [ ] Package manager
  • [ ] Online playground

Support

Official Channels

Commercial Support

For commercial licensing, enterprise support, or custom development:


License

Proprietary License - Copyright © 2026 Moude AI LLC and Moude Corp. All Rights Reserved.

This software is proprietary and copyrighted. Unauthorized use, copying, distribution, or modification is strictly prohibited. See LICENSE for complete terms.

Protlin™ is a registered trademark of Moude AI LLC and Moude Corp.


Company Information

Moude AI LLC

Moude Corp


Acknowledgments

Built with Rust and dedication to programming language innovation.

Copyright © 2026 Moude AI LLC and Moude Corp. All Rights Reserved.