From 87c603a4493c167c49458e623d67f723330813ce Mon Sep 17 00:00:00 2001 From: marihachi Date: Wed, 23 Aug 2023 17:50:44 +0900 Subject: [PATCH] readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f6f569b..faea126 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A refined, expressive parser combinator library. [Try it out!](https://npm.runkit.com/terrario) - 📍 Minimal yet powerful APIs -- 🖨 Scannerless parsing +- 🖨 Supports scannerless parsing and tokens parsing - ⚙ Supports conditional control by state - ✨ Zero dependency @@ -27,9 +27,9 @@ import * as T from 'terrario'; // build a parser const parser = T.alt([ - T.str('hello'), - T.str('world'), - T.str(' '), + T.token('hello'), + T.token('world'), + T.token(' '), ]).many(); // parse the input string