Skip to content

discere-os/boost.wave.wasm

 
 

Repository files navigation

@discere-os/boost.wave.wasm

WebAssembly port of Boost.Wave - Standards conformant C++ preprocessor library with high configurability and SIMD optimization support.

CI/CD JSR npm version License Status

Branch Appveyor (MSVC) GitHub Actions (gcc, clang)
Master AppVeyor GitHub Actions
Develop AppVeyor GitHub Actions

The Wave C++ preprocessor library is a Standards conformant implementation of the mandated C99/C++ preprocessor functionality packed behind a simple to use interface, which integrates well with the well known idioms of the Standard Template Library (STL).

Features

  • Professional C++ preprocessor library compiled to WebAssembly
  • SIMD optimizations for enhanced text processing performance
  • Complete TypeScript API with type safety
  • Browser and Node.js compatibility
  • Modern development workflow with Deno
  • Standards conformant C99/C++ preprocessor implementation
  • Highly configurable iterator-based interface
  • STL-compatible design patterns

Quick Start

# Install via npm
npm install @discere-os/boost.wave.wasm

# Or use with Deno
import BoostWave from "https://deno.land/x/boost_wave_wasm/mod.ts"

Usage

import BoostWave from '@discere-os/boost.wave.wasm'

const wave = new BoostWave()
await wave.initialize()

// Use the preprocessor...
const result = await wave.preprocess(sourceCode, options)

💖 Support This Work

This WebAssembly port is part of a larger effort to bring professional desktop applications to browsers with native performance.

👨‍💻 About the Maintainer: Isaac Johnston (@superstructor) - Building foundational browser-native computing infrastructure through systematic C/C++ to WebAssembly porting.

📊 Impact: 70+ open source WASM libraries enabling professional applications like Blender, GIMP, and scientific computing tools to run natively in browsers.

🚀 Your Support Enables:

  • Continued maintenance and updates
  • Performance optimizations
  • New library ports and integrations
  • Documentation and tutorials
  • Cross-browser compatibility testing

💖 Sponsor this work to help build the future of browser-native computing.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.5%
  • Other 0.5%