Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 970 Bytes

Readme.md

File metadata and controls

59 lines (40 loc) · 970 Bytes

Truly RYX -- DO NOT confuse Pseudoryx!

What is this?

Truly RYX is yet another parser generator.

Why useful?

The LL(1) class has limited representability. But if a grammar has completely been wrote in the LL(1) class, that is easy to say the grammar is simple.

Truly RYX accepts a grammar if the grammar is in the LL(1).

Get Started

$ git clone git://github.com/pixie-grasper/ryx.git
$ cd ryx
$ make

Syntax

input = syntax*
      ;

syntax = ID '=' body_list ';'
       | '%' ID* ';'
       ;

body_list = body_internal ('|' body_internal)*
          ;

body_internal = (','? body)*
              ;

body = '(' body_list ')' body_opt*
     | (ID | REGEXP) body_opt*
     | '@' NUM?
     ;

body_opt = /[?+*]/
         | '{' NUM (',' NUM)? '}'
         ;

TODO

  • Generate codes
    • It has ability to syntax-check only now.

Authors

License

The GPL 3.0 and the later versions.