The cl-ltsv Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-ltsv Reference Manual

This is the cl-ltsv Reference Manual, version 0.2.0, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:14:00 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

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

Author

Copyright

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

License

Licensed under the LLGPL License.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

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


Previous: , Up: Systems   [Contents][Index]

2.1 cl-ltsv

Author

Takayuki Sato

License

LLGPL

Description

LTSV parser for common lisp.

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 (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

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


Previous: , Up: Modules   [Contents][Index]

3.1 cl-ltsv/src

Parent

cl-ltsv (system)

Location

src/

Component

cl-ltsv.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

4 Files

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


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 cl-ltsv.asd

Location

cl-ltsv.asd

Systems

cl-ltsv (system)

Packages

cl-ltsv-asd


Previous: , Up: Lisp files   [Contents][Index]

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

Parent

src (module)

Location

src/cl-ltsv.lisp

Packages

cl-ltsv

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 cl-ltsv-asd

Source

cl-ltsv.asd

Use List

Previous: , Up: Packages   [Contents][Index]

5.2 cl-ltsv

Source

cl-ltsv.lisp (file)

Nickname

ltsv

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

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


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Macros

Macro: with-ltsv-from-stream (ENTRY STREAM) &body BODY
Package

cl-ltsv

Source

cl-ltsv.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Functions

Function: alist-ltsv ENTRY
Package

cl-ltsv

Source

cl-ltsv.lisp (file)

Function: parse-line S
Package

cl-ltsv

Source

cl-ltsv.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Functions

Function: position-if-c C S &key START
Package

cl-ltsv

Source

cl-ltsv.lisp (file)

Function: split-sequence C S
Package

cl-ltsv

Source

cl-ltsv.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cl-ltsv.asd: The cl-ltsv<dot>asd file
cl-ltsv/src: The cl-ltsv/src module
cl-ltsv/src/cl-ltsv.lisp: The cl-ltsv/src/cl-ltsv<dot>lisp file

F
File, Lisp, cl-ltsv.asd: The cl-ltsv<dot>asd file
File, Lisp, cl-ltsv/src/cl-ltsv.lisp: The cl-ltsv/src/cl-ltsv<dot>lisp file

L
Lisp File, cl-ltsv.asd: The cl-ltsv<dot>asd file
Lisp File, cl-ltsv/src/cl-ltsv.lisp: The cl-ltsv/src/cl-ltsv<dot>lisp file

M
Module, cl-ltsv/src: The cl-ltsv/src module

Jump to:   C   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   A   F   M   P   S   W  
Index Entry  Section

A
alist-ltsv: Exported functions

F
Function, alist-ltsv: Exported functions
Function, parse-line: Exported functions
Function, position-if-c: Internal functions
Function, split-sequence: Internal functions

M
Macro, with-ltsv-from-stream: Exported macros

P
parse-line: Exported functions
position-if-c: Internal functions

S
split-sequence: Internal functions

W
with-ltsv-from-stream: Exported macros

Jump to:   A   F   M   P   S   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables


Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   P   S  
Index Entry  Section

C
cl-ltsv: The cl-ltsv system
cl-ltsv: The cl-ltsv package
cl-ltsv-asd: The cl-ltsv-asd package

P
Package, cl-ltsv: The cl-ltsv package
Package, cl-ltsv-asd: The cl-ltsv-asd package

S
System, cl-ltsv: The cl-ltsv system

Jump to:   C   P   S