Thanks to visit codestin.com
Credit goes to github.com

Skip to content

serid/jlinks

Repository files navigation

JLinks

Parser generator for JVM.

JLinks uses generalized SLR parsing algorithm. SLR enables O(N) parsing for conflict-free grammars. Whenever a grammar contains a conflict, JLinks delays its resolution to runtime where the parsing algorithm forks, that is clones the parsing stack and runs two parsing processes concurrently until one of them succeds.

Features

  • LR(0) parser generator
  • SLR(1) lookahead generator
  • Generalized parsing

Examples

For examples see the tests directory.

Also check out this example, a type inference algorithm using JLinks to parse input expressions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages