> For the complete documentation index, see [llms.txt](https://mivik.gitbook.io/kiot-lexer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mivik.gitbook.io/kiot-lexer/master.md).

# Introduction

**WARNING: kiot-lexer is still EXPERIMENTAL.**

[kiot-lexer on GitHub](https://github.com/KiotLand/kiot-lexer)

### What is kiot-lexer?

A state-based lexer generator written in pure Kotlin.

### Why kiot-lexer?

To create lexers in pure Kotlin without other languages like *jflex* or *ANTLR*.

kiot-lexer implemented almost everything from automata (NFA and DFA) to RegExp parsing (not stable), which provides you efficiency beyond ordinary lexer implementations.

Also, kiot-lexer is a Kotlin MPP (multi-platform) project, which means you can use it almost everywhere: JVM, Native, Web... Don't limit your imagination!

### Contribute

Since we only have one maintainer here, the progress of development can be slow. If you're interested in this project and are also fond of Kotlin, then write me a request [here](mailto:mivik@qq.com) and become one member of [KiotLand](https://github.com/KiotLand)!
