#swamp #embedding #swamp-core-extra

swamp-core-extra

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

4 releases

Uses new Rust 2024

new 0.1.13 Mar 30, 2025
0.1.12 Mar 30, 2025
0.1.11 Mar 29, 2025
0.1.10 Mar 29, 2025

#795 in Parser implementations

Download history

85 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

~490KB