diff docs/lexer-algpseudocode.rst @ 212:18553f595b34

Allow nested \TEXT and \EXPR commands. \TEXT within \TEXT and \EXPR within \EXPR is allowed!
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 14 May 2026 07:30:38 +0200
parents f20177032d21
children d470250f8451
line wrap: on
line diff
--- a/docs/lexer-algpseudocode.rst	Wed May 13 21:22:33 2026 +0200
+++ b/docs/lexer-algpseudocode.rst	Thu May 14 07:30:38 2026 +0200
@@ -59,6 +59,8 @@
     A closing curly brace can be quoted with ``\}`` to not end the
     text mode prematurely.
 
+  - ``\EXPR`` or ``\EXPRESSION`` as nested construct
+
   - ``\NAME``, ``\CALL`` and ``\GETS``
 
   - ``\REM`` and ``\REMARK`` for remarks (aka comments)
@@ -80,6 +82,8 @@
     A closing curly brace can be quoted with ``\}`` to not end the expression
     mode prematurely.
 
+  - ``\TEXT`` as nested construct
+
   - ``\REM`` and ``\REMARK`` for remarks (aka comments)
 
   - :ref:`explicit-token-types`
@@ -113,7 +117,7 @@
 
      **Type:** :py:class:`str` or :py:obj:`None`
 
-     **Default:** :py:obj:`None` (yields ``←``)
+     **Default:** :py:obj:`None` (yields ``⟵``)
 
      The operator symbol to be printed by the command ``\GETS``.