Source/Packages

Compiler.Parser

packages/compiler/src/Compiler/Parser.alpha

5,902 lines337 declarations199.2 KiBSHA-256 6d135c41813d

def · lines 1107–1115

parserNextBytePrefix

Full file
Quote state flows forward (0 outside,1 quoted,2 escaped); atom construction flows backwards. Quoted bytes never become delimiters or comment markers.
1107def parserNextBytePrefix =
1108  (lambda unrestricted head : Byte .
1109    (lambda unrestricted quoteState : Nat .
1110      (lambda unrestricted stripState : Nat .
1111        (Std.Natural/naturalAnd
1112          (Std.Natural/naturalIsZero quoteState)
1113          (Std.Natural/naturalAnd
1114            (byte-equal head (byte 98))
1115            (Std.Natural/naturalIsZero stripState))))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.