Skip to content

Commit

Permalink
Merge branch 'main' of github.com:openpeeps/toktok
Browse files Browse the repository at this point in the history
  • Loading branch information
georgelemon committed Oct 10, 2023
2 parents 50a1825 + 91cc8b3 commit be76e78
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
## 😍 Key Features
- ✨ Powered by Nim's Macros
- 🪄 Based on `std/lexbase` / Zero Regular Expression
- Static generation using **TokenKind** `enum`, `lexbase`
- Dynamic generation using **TokenKind** `tables`, `lexbase`
- Compile-time generation using macro-based **TokenKind** `enum`, `lexbase`
- Runtime generation using **TokenKind** `tables`, `lexbase`
- Open Source | `MIT`

> __Note__ Toktok is a generic Lexer, based on standard Nim libraries `streams`, `lexbase` and `macros`. It is meant to be used by higher level parsers for writing any kind of tools or programs.
> __Note__ Compile with `-d:toktokdebug` to inspect the generated code.
> [!NOTE]
> This is a generic Lexer, based on std/ `streams`, `lexbase` and `macros`. It is meant to be used by higher level parsers for writing any kind of tools or programs.
> [!NOTE]
> Compile with `-d:toktokdebug` to inspect the generated code.
## Quick Example

Expand Down

0 comments on commit be76e78

Please sign in to comment.