Metadata-Version: 2.4
Name: cdlab
Version: 1.0.0
Summary: Compiler Design Lab programs accessible through Python functions
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# CDLab — Compiler Design Lab

This Python package provides the seven exercise source files through individual functions. Each function returns its exercise as a string; it does not run the C, Lex, or Yacc program.

## Use from this folder

```python
import cdlab

print(cdlab.ex1())
print(cdlab.ex7())
```

You can also call `cdlab.ex2()` through `cdlab.ex6()`, or select by number with `cdlab.get_exercise(3)`.

## Install locally

From the folder containing `pyproject.toml`, run `python -m pip install .`. Then import `cdlab` in Python.
