Template::Grammar(3) User Contributed Perl Documentation Template::Grammar(3)

# [NAME](#NAME)

Template::Grammar - Parser state/rule tables for the TT grammar

# [SYNOPSIS](#SYNOPSIS)

```
    # no user serviceable parts inside
```

# [DESCRIPTION](#DESCRIPTION)

This module defines the state and rule tables that the Template::Parser module uses to parse templates. It is generated from a YACC-like grammar using the "Parse::Yapp" module. The *parser* sub-directory of the Template Toolkit source distribution contains the grammar and other files required to generate this module.

But you don't need to worry about any of that unless you're planning to modify the Template Toolkit language.

# [AUTHOR](#AUTHOR)

Andy Wardley &lt;abw@wardley.org&gt;

&lt;http://wardley.org/&gt;

# [COPYRIGHT](#COPYRIGHT)

Copyright (C) 1996-2022 Andy Wardley. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

# [SEE ALSO](#SEE_ALSO)

Template::Parser

2026-08-30 perl v5.44.0

---

Document: Template::Grammar(3pm) from perl-template-toolkit 3.106-r2 (Chainguard OS)
Source: https://github.com/abw/Template2.git
