# siscom.js **Repository Path**: mirrors_MakeNowJust/siscom.js ## Basic Information - **Project Name**: siscom.js - **Description**: it's a parser library for JS. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 :1: expected "y" xxyzz ^ ``` - API looks like [parsers](https://hackage.haskell.org/package/parsers) library of Haskell. license --- See . contribute --- If you find a bug or make it better, please send a issue or pull request :smile: