From 8ef91f03fac2bad20fb927fe2ca2782c66fdb513 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 6 Jan 2022 23:41:32 +0530 Subject: feat: adds more parser combinators --- tests/basic.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/basic.spec.ts b/tests/basic.spec.ts index eeeb121..962f076 100644 --- a/tests/basic.spec.ts +++ b/tests/basic.spec.ts @@ -9,7 +9,9 @@ import { whitespaces0, delimited, symbol, + optional, } from '../src/parser' +import { parser } from '../src' describe('Foobar', () => { it('should do shit', () => { @@ -26,4 +28,8 @@ describe('Foobar', () => { right([2, '0 ']) ) }) + + it('should maybeshut', () => { + console.log(JSON.stringify(parser('fuck'), null, 2)) + }) }) -- cgit v1.3.1