| Crates.io | swamp-semantic |
| lib.rs | swamp-semantic |
| version | 0.2.31 |
| created_at | 2025-03-29 14:48:51.491834+00 |
| updated_at | 2025-09-22 10:11:46.478069+00 |
| description | semantic types for swamp |
| homepage | |
| repository | https://github.com/swamp/semantic |
| max_upload_size | |
| id | 1611368 |
| size | 69,663 |
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).
Add this to your Cargo.toml:
[dependencies]
swamp-semantic = "0.2.29"
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