Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions egg/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.cpp
*.c
12 changes: 11 additions & 1 deletion egg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This package implements the egg-style E-Graph data structure with deferred congr
- **Deferred Rebuilding**: egg-style deferred rebuilding for performance
- **Python Integration**: Seamless integration with apyds terms
- **Type-Safe**: Full type hints for Python 3.11+
- **Cython-Optimized**: Core implementation compiled with Cython for improved performance

## Installation

Expand Down Expand Up @@ -106,6 +107,7 @@ assert eg.find(fa) == eg.find(fb)

- Python 3.11-3.14
- apyds package
- Cython (for building from source)

### Python Package

Expand All @@ -115,7 +117,7 @@ cd egg
# Install dependencies
uv sync --extra dev

# Build package
# Build package (compiles Cython extensions)
uv build

# Run tests
Expand All @@ -125,6 +127,14 @@ uv run pytest
uv run pytest --cov
```

### Development Notes

The core implementation is written in Cython (`.pyx` files) for performance optimization. The build process automatically compiles these to C extensions. When developing, you may need to rebuild after changes:

```bash
pip install -e .[dev] # Reinstall in editable mode after changes
```

## License

This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).
Expand Down
215 changes: 0 additions & 215 deletions egg/apyds_egg/__init__.py

This file was deleted.

Loading
Loading