gdritter repos s-cargot / d954a88
Added small clarification to README Getty Ritter 9 years ago
1 changed file(s) with 12 addition(s) and 3 deletion(s). Collapse all Expand all
11 S-Cargot is a library for parsing and emitting S-expressions, designed
22 to be flexible, customizable, and extensible. Different uses of
33 S-expressions often understand subtly different variations on what an
4 S-expression is. The goal of S-Cargot is to create as many reusable
4 S-expression is. The goal of S-Cargot is to create several reusable
55 components that can be repurposed to nearly any S-expression variant.
66
77 Additionally, S-Cargot uses these to include out-of-the-box parsing and
99 Common Lisp (**in progresss**), Scheme (**in progress**), the
1010 [Rivest internet-draft](http://people.csail.mit.edu/rivest/Sexp.txt)
1111 (**in progress**), and Clojure (**in progress**).
12
13 S-Cargot does _not_ aim to be the fastest or most efficient
14 s-expression library. If you need speed, then it would probably be
15 best to roll your own [AttoParsec]() parser.
16 Wherever there's a choice, S-Cargot errs on the side of
17 maximum flexibility, which means that it should be easy to
18 plug together components to understand various existing flavors of
19 s-expressions or to extend it in various ways to accomodate new
20 flavors.
1221
1322 The central way of interacting with the S-Cargot library is by creating
1423 and modifying a _spec_, which is a value that represents a given
3342
3443 There are three built-in representations of S-expression lists: two of them
3544 are isomorphic, as one or the other might be better for processing
36 S-expression data, and the third represents only a subset of possible
37 S-expressions.
45 S-expression data in a particular circumstance, and the third represents
46 only a subset of possible S-expressions.
3847
3948 ~~~~.haskell
4049 -- cons-based representation