| Crates.io | swamp-analyzer |
| lib.rs | swamp-analyzer |
| version | 0.2.26 |
| created_at | 2025-03-29 15:10:25.896653+00 |
| updated_at | 2025-08-18 11:21:09.992719+00 |
| description | analyzer for swamp |
| homepage | |
| repository | https://github.com/swamp/swamp |
| max_upload_size | |
| id | 1611386 |
| size | 518,499 |
Performs semantic analysis for the Swamp programming language.
This crate bridges the gap between parsing and code generation/interpretation. It takes the Abstract Syntax Tree (AST) generated by swamp-parser (using types from swamp-ast) and transforms it into a type-checked, resolved Abstract Semantic Graph (ASG) defined in swamp-semantic.
The core process involves:
swamp_semantic::Expression tree, which represents the program with full type information and resolved references.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