The csv Reference Manual

This is the csv Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:52:06 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 csv

Read CSV into lists natively. Convert CSV into lists dangerously.

Author

Spenser Truex spensertruex.com

License

GNU GPL, version 3

Version

0.1.0

Source

csv.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 csv/csv.asd

Source

csv.asd.

Parent Component

csv (system).

ASDF Systems

csv.


3.1.2 csv/package.lisp

Source

csv.asd.

Parent Component

csv (system).

Packages

csv.


3.1.3 csv/utils.lisp

Dependency

package.lisp (file).

Source

csv.asd.

Parent Component

csv (system).

Internals

3.1.4 csv/csv.lisp

Dependency

utils.lisp (file).

Source

csv.asd.

Parent Component

csv (system).

Public Interface

slurp (function).

Internals

4 Packages

Packages are listed by definition order.


4.1 csv

Source

package.lisp.

Use List

common-lisp.

Public Interface

slurp (function).

Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Ordinary functions

Function: slurp (path)

Read in a CSV file to list. Resource intensive.

Package

csv.

Source

csv.lisp.


5.2 Internals


5.2.1 Macros

Macro: dolines ((var stream) &body body)
Package

csv.

Source

utils.lisp.

Macro: make-reader (name (stream-var dispatch-1 dispatch-2) &body body)

Simplify the reader macro creation process in most cases.

Package

csv.

Source

utils.lisp.

Macro: toggle (place)

Flipping vars.

Package

csv.

Source

utils.lisp.

Macro: with-gensyms (symbols &body body)

Create gensyms for those symbols.

Package

csv.

Source

utils.lisp.


5.2.2 Ordinary functions

Function: dequote (list)
Package

csv.

Source

csv.lisp.

Function: end-tokenp (prev curr)
Package

csv.

Source

csv.lisp.

Function: make-escapep (prev curr)
Package

csv.

Source

csv.lisp.

Function: my-csv (stream g2 g3)
Package

csv.

Source

csv.lisp.

Function: openp (prev curr)
Package

csv.

Source

csv.lisp.

Function: push-on (elt stack)
Package

csv.

Source

utils.lisp.

Function: read-to-string (stream)
Package

csv.

Source

csv.lisp.

Function: slurp-csv (path)

Read in a CSV file to string. Resource intensive.

Package

csv.

Source

csv.lisp.

Function: splice (str)
Package

csv.

Source

csv.lisp.

Function: str->list (str)
Package

csv.

Source

csv.lisp.

Function: switches (prev curr str)
Package

csv.

Source

csv.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions


A.3 Variables