The cl-ltsv Reference Manual

This is the cl-ltsv Reference Manual, version 0.2.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 15:25:33 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-ltsv

LTSV parser for common lisp.

Author

Takayuki Sato

License

LLGPL

Long Description

# cl-ltsv

cl-ltsv is LTSV parser for common lisp.

http://ltsv.org/

## Installation

“‘
(ql:quickload ’cl-ltsv)
“‘

## Usage

“‘
CL-USER> (cl-ltsv:parse-line "host:127.0.0.1 ident:- user:frank")
(("host" . "127.0.0.1") ("ident" . "-") ("user" . "frank"))

CL-USER> (with-input-from-string (ss "host:127.0.0.1 ident:- user:frank
host:127.0.0.1 ident:- user:jane
host:127.0.0.1 ident:- user:john")
(cl-ltsv:with-ltsv-from-stream (entry ss)
(print entry)))

(("host" . "127.0.0.1") ("ident" . "-") ("user" . "frank"))
(("host" . "127.0.0.1") ("ident" . "-") ("user" . "jane"))
(("host" . "127.0.0.1") ("ident" . "-") ("user" . "john"))
NIL

CL-USER> (cl-ltsv:alist-ltsv ’(("host" . "127.0.0.1") ("ident" . "-") ("user" . "frank"))) "host:127.0.0.1 ident:- user:frank"
“‘

## Lisp

* allegro cl
* clozure cl
* sbcl
* abcl

## Author

* Takayuki Sato (takayuki.sato.dev@gmail.com)

## Copyright

Copyright (c) 2013 Takayuki Sato (takayuki.sato.dev@gmail.com)

# License

Licensed under the LLGPL License.

Version

0.2.0

Source

cl-ltsv.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 cl-ltsv/src

Source

cl-ltsv.asd.

Parent Component

cl-ltsv (system).

Child Component

cl-ltsv.lisp (file).


4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 cl-ltsv/cl-ltsv.asd

Source

cl-ltsv.asd.

Parent Component

cl-ltsv (system).

ASDF Systems

cl-ltsv.

Packages

cl-ltsv-asd.


4.1.2 cl-ltsv/src/cl-ltsv.lisp

Source

cl-ltsv.asd.

Parent Component

src (module).

Packages

cl-ltsv.

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 cl-ltsv

Source

cl-ltsv.lisp.

Nickname

ltsv

Use List

common-lisp.

Public Interface
Internals

5.2 cl-ltsv-asd

Source

cl-ltsv.asd.

Use List
  • asdf/interface.
  • common-lisp.

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Macros

Macro: with-ltsv-from-stream ((entry stream) &body body)
Package

cl-ltsv.

Source

cl-ltsv.lisp.


6.1.2 Ordinary functions

Function: alist-ltsv (entry)
Package

cl-ltsv.

Source

cl-ltsv.lisp.

Function: parse-line (s)
Package

cl-ltsv.

Source

cl-ltsv.lisp.


6.2 Internals


6.2.1 Ordinary functions

Function: position-if-c (c s &key start)
Package

cl-ltsv.

Source

cl-ltsv.lisp.

Function: split-sequence (c s)
Package

cl-ltsv.

Source

cl-ltsv.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables