src/lispnim/parser

  Source   Edit

Types

ParseState = object
  pos*: int
  fn*: string
  preservePos*: bool
  ln*, cl*: int
  Source   Edit

Procs

proc advance(str: string; p: var ParseState) {....raises: [], tags: [].}
  Source   Edit
proc currentInfo(p: ParseState): LineInfo {....raises: [], tags: [].}
  Source   Edit
proc init(str: string; p: var ParseState) {....raises: [], tags: [].}
  Source   Edit
proc parseAtomString(str: string; p: var ParseState): string {....raises: [],
    tags: [].}
  Source   Edit
proc parseLisp(str: string; filename = ""): seq[Lisp] {.
    ...raises: [Exception, ValueError], tags: [RootEffect].}
  Source   Edit
proc parseLisp(str: string; p: var ParseState): seq[Lisp] {.
    ...raises: [Exception, ValueError], tags: [RootEffect].}
  Source   Edit
proc parseList(str: string; p: var ParseState): Lisp {....raises: [Exception],
    tags: [RootEffect].}
  Source   Edit
proc parseQuotedString(str: string; p: var ParseState): string {....raises: [],
    tags: [].}
  Source   Edit
proc parseSingleLisp(str: string; p: var ParseState): Lisp {.
    ...raises: [Exception, ValueError], tags: [RootEffect].}
  Source   Edit