Liking cljdoc? Tell your friends :D

active.vfei

Encode and decode VFEI messages.

Encode and decode VFEI messages.
raw docstring

array-format-element-formatclj

(array-format-element-format ArrayFormat)

Lens for the element-format field from a [[ArrayFormat]] record. See active.vfei/make-array-format.

Lens for the `element-format` field from a [[ArrayFormat]] record. See [[active.vfei/make-array-format]].
sourceraw docstring

array-format-sizeclj

(array-format-size ArrayFormat)

Lens for the size field from a [[ArrayFormat]] record. See active.vfei/make-array-format.

Lens for the `size` field from a [[ArrayFormat]] record. See [[active.vfei/make-array-format]].
sourceraw docstring

array-format?clj

(array-format? thing)

Is object a ArrayFormat record? See active.vfei/make-array-format.

Is object a `ArrayFormat` record? See [[active.vfei/make-array-format]].
sourceraw docstring

data-item->exprclj

(data-item->expr di)

Convert a data item to a Clojure expression that generates it.

For generating tests.

Convert a data item to a Clojure expression that generates it.

For generating tests.
sourceraw docstring

data-item-formatclj

(data-item-format DataItem)

Lens for the format field from a [[DataItem]] record. See active.vfei/really-make-data-item.

Lens for the `format` field from a [[DataItem]] record. See [[active.vfei/really-make-data-item]].
sourceraw docstring

data-item-nameclj

(data-item-name DataItem)

Lens for the name field from a [[DataItem]] record. See active.vfei/really-make-data-item.

Lens for the `name` field from a [[DataItem]] record. See [[active.vfei/really-make-data-item]].
sourceraw docstring

data-item-valueclj

(data-item-value DataItem)

Lens for the value field from a [[DataItem]] record. See active.vfei/really-make-data-item.

Lens for the `value` field from a [[DataItem]] record. See [[active.vfei/really-make-data-item]].
sourceraw docstring

data-item?clj

(data-item? thing)

Is object a DataItem record? See active.vfei/really-make-data-item.

Is object a `DataItem` record? See [[active.vfei/really-make-data-item]].
sourceraw docstring

data-items->exprclj

(data-items->expr sq)

Convert a seq of data items to a Clojure expression that generates it.

For generating tests.

Convert a seq of data items to a Clojure expression that generates it.

For generating tests.
sourceraw docstring

data-items->mapclj

(data-items->map items)

Convert a list of VFEI data items into a map.

Convert a list of VFEI data items into a map.
sourceraw docstring

decode-vfei-nclj

(decode-vfei-n s)
source

decode-vfei-stringclj

(decode-vfei-string s)

Decode a VFEI-encoded string.

Decode a VFEI-encoded string.
sourceraw docstring

format->exprclj

(format->expr f)

Convert a format to a Clojure expression that generates it.

For generating tests.

Convert a format to a Clojure expression that generates it.

For generating tests.
sourceraw docstring

list-format-sizeclj

(list-format-size ListFormat)

Lens for the size field from a [[ListFormat]] record. See active.vfei/make-list-format.

Lens for the `size` field from a [[ListFormat]] record. See [[active.vfei/make-list-format]].
sourceraw docstring

list-format?clj

(list-format? thing)

Is object a ListFormat record? See active.vfei/make-list-format.

Is object a `ListFormat` record? See [[active.vfei/make-list-format]].
sourceraw docstring

make-array-formatclj

(make-array-format element-format size)

Make an array format for a VFEI data item.

Make an array format for a VFEI data item.
sourceraw docstring

make-data-itemclj

(make-data-item name format value)

Assert that list length matches format.

Assert that list length matches format.
sourceraw docstring

make-list-formatclj

(make-list-format size)

Make a list format for a VFEI data item.

Make a list format for a VFEI data item.
sourceraw docstring

parse-data-itemclj

(parse-data-item s null-anywhere?)

Parse a VFEI data item, returning it and the rest.

Parse a VFEI data item, returning it and the rest.
sourceraw docstring

parse-data-item-nameclj

(parse-data-item-name s)

Parse the name of a VFEI data item, returning a pair of the name and the rest.

Parse the name of a VFEI data item, returning a pair of the name and the rest.
sourceraw docstring

parse-data-item-valueclj

(parse-data-item-value format null-anywhere? s)

Parse the value of a VFEI data item, given its format, returning it and the rest.

Parse the value of a VFEI data item, given its format, returning it and the rest.
sourceraw docstring

parse-format-codeclj

(parse-format-code s)

Parse a VFEI format code, returning it and the rest.

Parse a VFEI format code, returning it and the rest.
sourceraw docstring

parse-sizeclj

(parse-size s)

Parse the size of a list or array item, returning it and the rest.

Parse the size of a list or array item, returning it and the rest.
sourceraw docstring

parse-vfeiclj

(parse-vfei s & [null-anywhere?])

Parse a VFEI message, returning a list of data items.

null-anywhere? says whethere null (Systema extension) is allowed anywhere or just for A, N, D, and lists.

Parse a VFEI message, returning a list of data items.

`null-anywhere?` says whethere `null` (Systema extension) is allowed anywhere
or just for `A`, `N`, `D`, and lists.
sourceraw docstring

really-make-data-itemclj

(really-make-data-item name format value)

Make a VFEI data item.

Make a VFEI data item.
sourceraw docstring

skip-whitespaceclj

(skip-whitespace s)
source

value->exprclj

(value->expr v)

Convert a value to a Clojure expression that generates it.

For generating tests.

Convert a value to a Clojure expression that generates it.

For generating tests.
sourceraw docstring

vfei->mapclj

(vfei->map v)

Recursivley convert the result of parse-vfei to a key-value map. Warning: This function does not keep the order of the elements in VFEI lists.

Recursivley convert the result of `parse-vfei` to a key-value map.
Warning: This function does not keep the order of the elements in VFEI lists.
sourceraw docstring

vfei-encode-charclj

(vfei-encode-char c)

Encode a character in VFEI format.

Encode a character in VFEI format.
sourceraw docstring

vfei-encode-stringclj

(vfei-encode-string s)

Encode a string as a VFEI style, using C-style escapes.

Encode a string as a VFEI style, using C-style escapes.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close