# comparse

> Functional parsing library

Latest version **0.9.3** (published 2017-01-11) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install comparse
pnpm add comparse
yarn add comparse
bun add comparse
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.3 |
| Published | 2017-01-11 |
| First published | 2014-08-06 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ladislav Lhotka |
| Maintainers | llhotka |
| Keywords | monadic, functional, parsing, library |

## Links

- npm: https://www.npmjs.com/package/comparse
- Repository: https://github.com/llhotka/comparse
- Homepage: https://github.com/llhotka/comparse/wiki
- Issues: https://github.com/llhotka/comparse/issues
- npm.io page: https://npm.io/package/comparse

## Recent versions

- 0.9.3 (latest) — 2017-01-11
- 0.9.2 — 2014-08-07
- 0.9.1 — 2014-08-06

## README

Comparse – Monadic Parsing Library
==================================

_Comparse_ is a functional parsing library written in CoffeeScript. It
is inspired by Haskell monadic parsers
[Parsec](https://wiki.haskell.org/Parsec) or
[attoparsec](https://github.com/bos/attoparsec "attoparsec").

License
-------

Copyright © 2014–2017 Ladislav Lhotka, CZ.NIC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Installation
------------

For a global installation, run

    npm install -g comparse

Root privileges (`sudo`) might be needed.

Leave off `-g` if you prefer a local installation.

Resources
---------

For documentation, see the project
[wiki page](https://github.com/llhotka/comparse/wiki).

The `examples` subdirectory contains examples of simple parsers
written in [Literate CoffeeScript](http://coffeescript.org/#literate "Literate
Coffeescript"). They can be run using the `coffee` interpreter,
formatted versions are [here](https://github.com/llhotka/comparse/wiki/examples).

The _Comparse_ library itself is written in Literate CoffeeScript,
here is the
[annotated source code](https://github.com/llhotka/comparse/wiki/comparse).

---
_Source: https://npm.io/package/comparse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
