crossbind
GitHub

A library

A ready-made library is a package. The project names it as a dependency and imports its header like one of its own.

This project has no C++ of its own. crossbind.config.js lists SQLite's package, a crossbind port from npm, and main.js imports two functions from its header. The library comes prebuilt.

A library's header binds only the functions you import by name, so a large header costs nothing until you use it. Libraries lists the ready-made ones, and the later lessons use a crate and a Conan package too.

Try it
Take the semicolon off sql, or open a quote and leave it open, and ask again whether the statement is complete.
Open in playground
Runs without a compile until the C++, Rust, packages or imports change.
Press Run, or Ctrl+Enter, to run main.js.
Type to search every guide page and section.
↑↓ navigate↵ openesc close