swamp-semantic

Crates.ioswamp-semantic
lib.rsswamp-semantic
version0.2.31
created_at2025-03-29 14:48:51.491834+00
updated_at2025-09-22 10:11:46.478069+00
descriptionsemantic types for swamp
homepage
repositoryhttps://github.com/swamp/semantic
max_upload_size
id1611368
size69,663
Peter Bjorklund (piot)

documentation

README

Swamp Semantic

Core data structures for the semantic analysis phase of the Swamp programming language compiler.

This crate defines the Abstract Semantic Graph (ASG) - the representation of Swamp code after parsing, type checking, and name resolution.

Unlike swamp-analyzer, which performs the analysis, this crate only provides the resulting structures used by later compiler stages (HIR, MIR, LIR, and code generation).

Installation

Add this to your Cargo.toml:

[dependencies]
swamp-semantic = "0.2.29"

License

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

Copyright

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

Commit count: 0

cargo fmt