#swamp #embedding #swamp-core-extra

swamp-core-extra

Rust runtime implementations for Swamp core library collections (Vec, Map, Grid, Stack, etc.)

8 releases

Uses new Rust 2024

0.1.16 Apr 7, 2025
0.1.15 Apr 1, 2025
0.1.13 Mar 30, 2025
0.0.14 Apr 1, 2025

#571 in Parser implementations

Download history 375/week @ 2025-03-26 301/week @ 2025-04-02 46/week @ 2025-04-09

722 downloads per month
Used in 6 crates (2 directly)

MIT license

150KB
3.5K SLoC

Swamp Core Extra

Provides the Rust runtime implementations for core collection types and operations defined in the core of the Swamp programming language.

Overview

This crate contains the underlying Rust functions that power Swamp's built-in data structures like Vec, Map, Map2, Grid, etc. When you use functions like Vec<T>,in Swamp code, the actual logic executed at runtime often comes from this crate.

It acts as a bridge between the Swamp language definition (types defined in swamp-types, semantic representation in swamp-semantic) and the host Rust environment where the Swamp code is executed.

License

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

Copyright (c) Peter Bjorklund. All rights reserved. https://github.com/swamp/swamp

Dependencies

~485KB