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

aclang

v1.0.0

Published

AC Language - Multi-Backend Compiler for Modern Development. Write once, compile to 10+ target languages including C, C++, JavaScript, Python, Rust, Go, V, Java, HTML, and CSS.

Readme

AC Language - Multi-Backend Compiler

npm version License: MIT Node.js CI

Write once, compile everywhere. AC Language is a revolutionary multi-backend compiler that lets you write code once and compile it to 10+ different target languages and platforms.

🚀 Quick Start

# Install globally
npm install -g aclang

# Create your first AC program
echo '<mainloop>
AC->JS
<LOGIC>
     message = $Hello, AC Language!$
     display message
<LOGIC>
<mainloop>' > hello.ac

# Compile and run
ac compile hello.ac --backend js --output hello.js
node hello.js

🎯 Supported Backends

| Backend | Performance | Use Case | Status | |---------|-------------|----------|--------| | Binary (x86-64) | 21.20ms ⚡ | Native performance | ✅ | | Go | 22.85ms ⚡ | Concurrent systems | ✅ | | V | 28.51ms ⚡ | Modern, minimal | ✅ | | C++ | 29.80ms ⚡ | System programming | ✅ | | Rust | 37.32ms ⚡ | Memory-safe systems | ✅ | | JavaScript | 136.72ms | Web & Node.js | ✅ | | Python | 148.34ms | Rapid development | ✅ | | Java | 283.37ms | Enterprise apps | ✅ | | HTML5 | - | Web interfaces | ✅ | | CSS | - | Styling | ✅ |

Performance benchmarks based on trimmed mean of 7 runs, outliers removed.

📦 Installation

NPM (Recommended)

npm install -g aclang

From Source

git clone https://github.com/ac-language/ac-core.git
cd ac-core
npm install && npm run build
npm link

Backend Compilers

# Install backend compilers automatically
ac install-backends

# Or install manually:
# - C/C++: GCC or MinGW
# - Rust: https://rustup.rs/
# - Go: https://golang.org/dl/
# - Java: JDK 8+
# - V: https://vlang.io/

🔧 CLI Usage

# Compile to different backends
ac compile program.ac --backend js --output program.js
ac compile program.ac --backend cpp --output program.cpp
ac compile program.ac --backend rs --output program.rs

# Compile and run immediately
ac run program.ac --backend js
ac run program.ac --backend go

# List available backends
ac backends

# Show help
ac help

📝 AC Language Syntax

Basic Structure

<mainloop>

AC->JS  *target backend*

<LOGIC>
     *your code here*
<LOGIC>

<mainloop>

Variables and Arithmetic

<LOGIC>
     value1 = 45.230
     value2 = 12.500
     sum = value1 + value2
     display sum
<LOGIC>

Control Flow

<LOGIC>
     IF sum > 50
          display $Large sum$
     OTHER
          display $Small sum$
<LOGIC>

Objects and Methods

<OBJECT>
     Obj.Calculator
     Calculator.add(value1, value2)
     Calculator.display()
<OBJECT>

🏗️ Key Features

High Performance

  • Native machine code generation
  • Optimized compilation pipeline
  • Minimal runtime overhead

🎯 Multi-Backend

  • Single codebase, multiple targets
  • Consistent behavior across platforms
  • Easy deployment anywhere

🔒 Type Safety

  • Compile-time error detection
  • String-number exact arithmetic
  • Memory-safe operations

📦 Zero Dependencies

  • Standalone executables
  • No runtime requirements
  • Minimal footprint

🌐 Universal Deployment

  • Web applications (HTML/CSS/JS)
  • Desktop applications (C/C++/Rust)
  • Server applications (Go/Java)
  • Scripts (Python/JavaScript)

📊 Performance Benchmarks

Based on comprehensive testing with outlier removal:

🥇 Binary/C:    21.20ms  (100% - fastest)
🥈 Go:          22.85ms  (92.8%)
🥉 V:           28.51ms  (74.4%)
   C++:         29.80ms  (71.1%)
   Rust:        37.32ms  (56.8%)
   JavaScript:  136.72ms (15.5%)
   Python:      148.34ms (14.3%)
   Java:        283.37ms (7.5% - JVM overhead)

🛠️ Development

# Clone repository
git clone https://github.com/ac-language/ac-core.git
cd ac-core

# Install dependencies
npm install

# Build project
npm run build

# Run tests
npm test

# Run with coverage
npm run test:coverage

# Development mode
npm run dev

📚 Documentation

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🌟 Why AC Language?

Traditional Approach

Write C++ → Compile to binary
Write JavaScript → Run in browser  
Write Python → Run with interpreter
Write Java → Compile to bytecode

AC Language Approach

Write AC → Compile to C++, JS, Python, Java, and 6+ more!

One language. Infinite possibilities.

🔗 Links


Made with ❤️ by the AC Language Team