# siscom

> it's a parser library for JS.

Latest version **0.4.0** (published 2015-01-30) · MIT license · 0 weekly downloads

## Install

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

## 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.4.0 |
| Published | 2015-01-30 |
| First published | 2015-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | TSUYUSATO Kitsune |
| Maintainers | makenowjust |

## Links

- npm: https://www.npmjs.com/package/siscom
- Repository: https://github.com/MakeNowJust/siscom.js
- Issues: https://github.com/MakeNowJust/siscom.js/issues
- npm.io page: https://npm.io/package/siscom

## Recent versions

- 0.4.0 (latest) — 2015-01-30
- 0.3.0 — 2015-01-29
- 0.2.1 — 2015-01-28
- 0.2.0 — 2015-01-25
- 0.1.0 — 2015-01-25

## README

siscom.js
===

it's a parser library for JS.

install
---

```console
$ npm install --save siscom
```

example
---

```javascript
var
siscom = require('siscom'),
P = siscom.Parsers,
C = siscom.Combinators;

var
x = C.some(P.string('x')),
y = P.string('y'),
z = C.some(P.string('z'));

var
parser = C.times(2, C.sequence(C.choice(x, z), y));

console.log(siscom.parseString(parser, "xxyzzy"));
// => [[['x', 'x'], 'y'], [['z', 'z'], 'y']]
```


feature
---

- A parser object is usual JavaScript function.
- A parsing error is usual JavaScript error, and it is very useful, for it has many informations for debugging.  
  for example:

  ```console
  <string>:1: expected "y"
  xxyzz
       ^
  ```
- API looks like [parsers](https://hackage.haskell.org/package/parsers) library of Haskell.


license
---

See <http://makenowjust.github.io/license/mit?2015>.


contribute
---

If you find a bug or make it better, please send a issue or pull request :smile:

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