Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow definition of subsequences to reduce duplication #30

Open
jvdb opened this issue Jan 14, 2013 · 0 comments
Open

Allow definition of subsequences to reduce duplication #30

jvdb opened this issue Jan 14, 2013 · 0 comments

Comments

@jvdb
Copy link
Owner

jvdb commented Jan 14, 2013

Currently, the sequence is always one "sentence":

sequence
  (a b c)*
  d
  (a b c e)*

Which may lead, as shown above, to duplication (in this case, of a b c). A possible solution is to allow the definition of additional "production rules". As an example, this is illustrated in the following example:

def x = a b c
sequence = x* d (x e)*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant