Files
ServerSync/lib/pygments/lexers/__pycache__/forth.cpython-314.pyc

34 lines
5.3 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
<00> <0C>i<00><00>b<00>Rt^RIt^RIHtHt^RIHtHtHtH t H
t
H t H t R.t !RR]4tR#)z<>
pygments.lexers.forth
~~~~~~~~~~~~~~~~~~~~~
Lexer for the Forth language.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)<02>
RegexLexer<EFBFBD>bygroups)<07>Text<78>Comment<6E>Keyword<72>Name<6D>String<6E>Number<65>
Whitespace<EFBFBD>
ForthLexerc<00><>a<00>]tRt^toRtRtRtR.tRR.tR.t Rt
] P] P,tR R
]3R ]P"3R ]P"3R ]!]P(]4R3R]!]]4R3R]3R]P.3R]P03R]P23R]P63R]P83R]!]P(]4R3R]P<3. RR]P>R3.RR]R3./t Rt!Rt"Vt#R#)r z
Lexer for Forth files.
<EFBFBD>Forthzhttps://www.forth.com/forth/<2F>forthz*.frtz*.fszapplication/x-forthz2.2<EFBFBD>rootz\s+z\\.*?$z \([\s].*?\)z((:|variable|constant|value|buffer:)(\s+)<29>worddefz([.sc]")(\s+?)<29> stringdefau (blk|block|buffer|evaluate|flush|load|save-buffers|update|empty-buffers|list|refill|scr|thru|\#s|\*\/mod|\+loop|\/mod|0<|0=|1\+|1-|2!|2\*|2\/|2@|2drop|2dup|2over|2swap|>body|>in|>number|>r|\?dup|abort|abort\"|abs|accept|align|aligned|allot|and|base|begin|bl|c!|c,|c@|cell\+|cells|char|char\+|chars|constant|count|cr|create|decimal|depth|do|does>|drop|dup|else|emit|environment\?|evaluate|execute|exit|fill|find|fm\/mod|here|hold|i|if|immediate|invert|j|key|leave|literal|loop|lshift|m\*|max|min|mod|move|negate|or|over|postpone|quit|r>|r@|recurse|repeat|rot|rshift|s\"|s>d|sign|sm\/rem|source|space|spaces|state|swap|then|type|u\.|u\<|um\*|um\/mod|unloop|until|variable|while|word|xor|\[char\]|\[\'\]|@|!|\#|<\#|\#>|:|;|\+|-|\*|\/|,|<|>|\|1\+|1-|\.|\.r|0<>|0>|2>r|2r>|2r@|:noname|\?do|again|c\"|case|compile,|endcase|endof|erase|false|hex|marker|nip|of|pad|parse|pick|refill|restore-input|roll|save-input|source-id|to|true|tuck|u\.r|u>|unused|value|within|\[compile\]|\#tib|convert|expect|query|span|tib|2constant|2literal|2variable|d\+|d-|d\.|d\.r|d0<|d0=|d2\*|d2\/|d<|d=|d>s|dabs|dmax|dmin|dnegate|m\*\/|m\+|2rot|du<|catch|throw|abort|abort\"|at-xy|key\?|page|ekey|ekey>char|ekey\?|emit\?|ms|time&date|BIN|CLOSE-FILE|CREATE-FILE|DELETE-FILE|FILE-POSITION|FILE-SIZE|INCLUDE-FILE|INCLUDED|OPEN-FILE|R\/O|R\/W|READ-FILE|READ-LINE|REPOSITION-FILE|RESIZE-FILE|S\"|SOURCE-ID|W/O|WRITE-FILE|WRITE-LINE|FILE-STATUS|FLUSH-FILE|REFILL|RENAME-FILE|>float|d>f|f!|f\*|f\+|f-|f\/|f0<|f0=|f<|f>d|f@|falign|faligned|fconstant|fdepth|fdrop|fdup|fliteral|float\+|floats|floor|fmax|fmin|fnegate|fover|frot|fround|fswap|fvariable|represent|df!|df@|dfalign|dfaligned|dfloat\+|dfloats|f\*\*|f\.|fabs|facos|facosh|falog|fasin|fasinh|fatan|fatan2|fatanh|fcos|fcosh|fe\.|fexp|fexpm1|fln|flnp1|flog|fs\.|fsin|fsincos|fsinh|fsqrt|ftan|ftanh|f~|precision|set-precision|sf!|sf@|sfalign|sfaligned|sfloat\+|sfloats|\(local\)|to|locals\||allocate|free|resize|definitions|find|forth-wordlist|get-current|get-order|search-wordlist|set-current|set-order|wordlist|also|forth|only|order|previous|-trailing|\/string|blank|cmove|cmove>|compare|search|sliteral|.s|dump|see|words|;code|ahead|assembler|bye|code|cs-pick|cs-roll|editor|state|\[else\]|\[if\]|\[then\]|forget|defer|defer@|defer!|action-of|begin-structure|field:|buffer:|parse-name|buffer:|traverse-wordlist|n>r|nr>|2value|fvalue|name>interpret|name>compile|name>string|cfield:|end-structure)(?!\S)z (\$[0-9A-F]+)z(\#|%|&|\-|\+)?[0-9]+z(\#|%|&|\-|\+)?[0-9.]+z<>(@i|!i|@e|!e|pause|noop|turnkey|sleep|itype|icompare|sp@|sp!|rp@|rp!|up@|up!|>a|a>|a@|a!|a@+|a@-|>b|b>|b@|b!|b@+|b@-|find-name|1ms|sp0|rp0|\(evaluate\)|int-trap|int!)(?!\S)z<>(do-recognizer|r:fail|recognizer:|get-recognizers|set-recognizers|r:float|r>comp|r>int|r>post|r:name|r:word|r:dnum|r:num|recognizer|forth-recognizer|rec:num|rec:float|rec:word)(?!\S)z0(Evalue|Rvalue|Uvalue|Edefer|Rdefer|Udefer)(\s+)z\S+z#popz[^"]+c <0C>D<00>\P!RV4'dR#R#)zRForth uses : COMMAND ; quite a lot in a single line, so we're trying
to find that.z
:[^
]+;
g333333<EFBFBD>?N)<02>re<72>search)<01>texts&<26></tmp/pip-target-qd_sq_1j/lib/python/pygments/lexers/forth.py<70> analyse_text<78>ForthLexer.analyse_text<78>s<00><00> <0E>9<EFBFBD>9<EFBFBD>^<5E>T<EFBFBD> *<2A> *<2A><16> +<2B><00>N)$<24>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__<5F>name<6D>url<72>aliases<65> filenames<65> mimetypes<65> version_addedr<00>
IGNORECASE<EFBFBD> MULTILINE<4E>flagsr
r<00>Singlerr<00> Namespacerr <00>Hex<65>Integer<65>Typer<00>Constant<6E> Decoratorr<00>Function<6F>Class<73>tokensr<00>__static_attributes__<5F>__classdictcell__)<01> __classdict__s@rr r sm<00><><00><00><08> <13>D<EFBFBD>
(<28>C<EFBFBD><16>i<EFBFBD>G<EFBFBD><18>&<26>!<21>I<EFBFBD>&<26>'<27>I<EFBFBD><19>M<EFBFBD> <0E>M<EFBFBD>M<EFBFBD>B<EFBFBD>L<EFBFBD>L<EFBFBD> (<28>E<EFBFBD> <0F> <13>Z<EFBFBD> <20> <16><07><0E><0E> '<27> <1B>W<EFBFBD>^<5E>^<5E> ,<2C> 8<> <15>g<EFBFBD>'<27>'<27><1A> 4<>i<EFBFBD> A<01><1F><08><16><1A> <<3C>k<EFBFBD> J<>^-<2D>|/6<>}^ 7<>B<1E>v<EFBFBD>z<EFBFBD>z<EFBFBD> *<2A> %<25>v<EFBFBD>~<7E>~<7E> 6<> &<26><07> <0C> <0C> 5<>:<3A>
<12>]<5D>]<5D>  <1C>2<>48<34>><3E>><3E> C<01>
A<01> <15>g<EFBFBD>'<27>'<27><14> .<2E> <09> ;<3B><14>T<EFBFBD>]<5D>]<5D> #<23>AB
<EFBFBD>F <12> <13>T<EFBFBD>Z<EFBFBD>Z<EFBFBD><16> (<28>
<EFBFBD> <14> <15>v<EFBFBD>v<EFBFBD> &<26>
<EFBFBD>OJ<06>F<EFBFBD>X<17>r)rr<00>pygments.lexerrr<00>pygments.tokenrrrrrr r
<00>__all__r rrr<00><module>r9s8<00><01><04>
<EFBFBD>/<2F><0F><0F><0F> <18>.<2E><07>]<17><1A>]r