%% %% This is file `lwarp-simplebnf.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% lwarp.dtx (with options: `simplebnf') %% This is a generated file. %% Copyright 2016-2022 Brian Dunn %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{simplebnf}[2023-11-25] \ExplSyntaxOn \VerifyEnvironment[lwarp][simplebnf]{bnf} {A7E8911B9291D4EB7C1CD8366CD75341}{3B45D7D9107687D718F5303B6632776C} \RenewDocumentEnvironment { bnf } { d() O{llcll} +b } { \begin{lateximage}[bnf:\space\detokenize{#3}]% lwarp \IfNoValueF { #1 } { \keys_set:nn { simplebnf } { #1 } } \__simplebnf_build_grammar:n { #3 } \begin{@simplebnf_tblr_env}[expand=\l__simplebnf_table_tl]{#2} \tl_use:N \l__simplebnf_table_tl \end{@simplebnf_tblr_env} \end{lateximage}% lwarp } { } \VerifyEnvironment[lwarp][simplebnf]{bnfgrammar} {E7326E6CAE6E35827E866B4A08C5CEA8}{A9B27A2478E8BD67B19E94ECF8A44F14} \RenewDocumentEnvironment { bnfgrammar } { O{llcll} O{[^\|]\|[^\|]} O{\|\|} +b } { \msg_warning:nn { simplebnf } { dep } \begin{center} \begin{lateximage}[bnf:\space\detokenize{#4}]% lwarp \begin{tabular}{#1} \@dep__simplebnf_typeset_grammar:nnn { #2 } { #3 } { #4 } \tl_use:N \l__simplebnf_table_tl \end{tabular} \end{lateximage}% lwarp \end{center} } { } \ExplSyntaxOff \endinput %% %% End of file `lwarp-simplebnf.sty'.