Sha256: 507c475c7a17f721e4b415a28826ec8b700a90d1bd94fa6060204ea737942472

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

# Lrama

Lrama is LALR (1) parser generator written by Ruby. The first goal of this project is providing error tolerant parser for CRuby with minimal changes on CRuby parse.y file.

## Features

* Bison style grammar file is supported with some assumptions
  * b4_locations_if is always true
  * b4_pure_if is always true
  * b4_pull_if is always false
  * b4_lac_if is always false
* Error Tolerance parser
  * Subset of [Repairing Syntax Errors in LR Parsers (Corchuelo et al.)](https://idus.us.es/bitstream/handle/11441/65631/Repairing%20syntax%20errors.pdf) algorithm is supported

## Installation

```shell
$ bundle exec rake install
$ lrama --version
0.1.0
```

## Usage

```shell
# "y.tab.c" is generated
$ lrama parse.y
```

## License

See LEGAL.md file.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lrama-0.1.0 README.md