UnifyWeaver

Book 2: Bash Target

Learning Path for UnifyWeaver’s Bash Code Generation

Part of the UnifyWeaver Education Series

This book covers Prolog-to-Bash compilation, stream processing, data source plugins, and parallel processing capabilities.

Prerequisites: Complete Book 1: Foundations first for architecture and Prolog basics.

Prerequisites

Learning Path

Part 1: Getting Started (Chapter 1)

Chapter 1: Your First Program

Part 2: Core Compilation Techniques (Chapters 2-5)

Chapter 2: Stream Compilation

Chapter 3: Advanced Constraints

Chapter 4: Variable Scope and Process Substitution

Chapter 5: Template System

Part 3: Advanced Recursion (Chapters 6-7)

Chapter 6: Advanced Recursion

Chapter 7: Prolog Introspection

Part 4: Testing & Code Quality (Chapters 8-9)

Chapter 8: Test Runner Inference

Chapter 9: Recursive Compilation

Part 5: Parallelism & Data Sources (Chapters 10-11)

Chapter 10: Partitioning and Parallel Execution

**Chapter 11: Data Sources and ETL Pipelines

Appendices

A. Recursion Patterns

B. SIGPIPE and Streaming Safety

C. Fold Pattern Deep Dive

Case Studies

Production Pipeline

Declarative Testing

Additional Resources

What’s Next?

After completing Book 2, you’ll understand:

Continue to Book 3 to learn about:

License

This educational content is licensed under CC BY 4.0. Code examples are dual-licensed under MIT OR Apache-2.0.