package catala

  1. Overview
  2. Docs
val token_list_en : (string * Parser.token) list

Same as Surface.Lexer.token_list_language_agnostic, but with tokens specialized to English.

val lex_code_en : Sedlexing.lexbuf -> Parser.token

Main lexing function used in code blocks

val lex_law_en : Sedlexing.lexbuf -> Parser.token

Main lexing function used outside code blocks

val lexer_en : Sedlexing.lexbuf -> Parser.token

Entry point of the lexer, distributes to lex_code_en or lex_law_en depending of Surface.Lexer.is_code.

OCaml

Innovation. Community. Security.