petergarnaes / CQL_parser

CQL parser written in Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monadic parser combinators for kotlin

Special thanks to Sergey Igushkin and the team of Graham Hutton and Erik Meijer.

This is an implementation of very basic monadic parser combinators.

Optimizations

  • The choice operator could evaluate lazily instead of using the plus operator.
  • List concatenation could be better in many1 and sepby1
  • Better string/char manipulation

Features

  • choice could be an operator, but which to choose?

TODO

  • Make monad implementation dependency on library
  • Make code a package, make example separate package
  • Write proper tests
  • Change repo name on GitHub
  • Publish???

About

CQL parser written in Kotlin


Languages

Language:Kotlin 100.0%