CTAN Comprehensive TeX Archive Network

Directory graphics/pgf/contrib/lc-visualizer

README.md

lc-visualizer, a λ-Calculus Visualizer

made-with-latex MIT License PR's Welcome CTAN Build Example

A small and work-in-progress package to visualize lambda calculus expressions in (see the documentation).

lc-visualizer is actively developed by Florian Sihler (contact me at: <florian.sihler@uni-ulm.de>) under the MIT License. I am very happy about every contribution (see CONTRIBUTING.md).

Terms can also be reduced automatically (with alpha/eta conversions, beta reductions and the unfolding of rewriting rules), e.g., \lcReduce{(\\f.\\x.\f \x) \x}. Everything is set through keys, with \lcSetup{...} for the defaults and \LC[...], \RLC[...] or the reduction commands for a single term. Run the tests with l3build check. The manual uses the xlistings submodule (git submodule update --init).

Download the contents of this package in one zip archive (396.7k).

Lc-visualizer – Visualize and reduce lambda calculus terms

The lc-visualizer package typesets terms of the untyped lambda calculus with . Each abstraction gets a color, and the variables it binds as well as the range of its body are highlighted in that color. Terms can be reduced automatically, with alpha and eta conversions, beta reductions and the unfolding of user-defined rewriting rules, and every step of a reduction can be shown. Terms can also be typeset with de Bruijn indices.

PackageLc-visualizer
Support
Bug tracker
Repository
Version1.0.0
LicensesMIT License
Copyright2022 Florian Sihler
MaintainerFlorian Sihler
Contained inTeX Live as lc-visualizer
TopicsLogic
PGF
Computer science
...
Guest Book Sitemap Contact Contact Author