PtcRunner.Lisp.AST (PtcRunner v0.12.0)

Copy Markdown View Source

AST node types for PTC-Lisp

Summary

Functions

Create a symbol node

Types

name()

@type name() :: atom() | String.t()

t()

@type t() ::
  nil
  | boolean()
  | number()
  | {:string, String.t()}
  | {:keyword, name()}
  | {:vector, [t()]}
  | {:map, [{t(), t()}]}
  | {:set, [t()]}
  | {:symbol, name()}
  | {:ns_symbol, name(), name()}
  | {:quoted_symbol, String.t()}
  | {:list, [t()]}

Functions

symbol(name)

Create a symbol node