tnt.pyc
1 o 2 ��c�( � @ sZ d Z ddlZddlmZ ddlmZmZmZmZm Z m 3 Z 4 mZmZ dgZ G dd� de�ZdS )z� 5 pygments.lexers.tnt 6 ~~~~~~~~~~~~~~~~~~~ 7 8 Lexer for Typographic Number Theory. 9 10 :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. 11 :license: BSD, see LICENSE for details. 12 � N)�Lexer)�Text�Comment�Operator�Keyword�Name�Number�Punctuation�Error�TNTLexerc @ s� e Zd ZdZdZdZdgZdgZg Ze d�Z 13 e d�Ze d�Ze d �Z e d 14 �Ze d�Ze d�Ze d �Ze�d�Ze�d�Ze�d�Zdd� Zd%dd�Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$S )&r u� 15 Lexer for Typographic Number Theory, as described in the book 16 Gödel, Escher, Bach, by Douglas R. Hofstadter 17 18 .. versionadded:: 2.7 19 zTypographic Number Theoryz,https://github.com/Kenny2github/language-tnt�tntz*.tntu ⊃→]&∧^|∨Vvu +.⋅*�abcdeu '′z~!u AE∀∃� 20 0123456789z 21 ax (?xi) 22 joining | separation | double-tilde | fantasy\ rule 23 | carry[- ]over(?:\ of)?(?:\ line)?\ ([0-9]+) | detachment 24 | contrapositive | De\ Morgan | switcheroo 25 | specification | generalization | interchange 26 | existence | symmetry | transitivity 27 | add\ S | drop\ S | induction 28 | axiom\ ([1-5]) | premise | push | pop 29 z((?:[0-9]+)(?:(?:, ?|,? and )(?:[0-9]+))*z\[[^\n\]]+\]c O s"