LanguageDev / Yoakke

A collection of libraries for implementing compilers in .NET.
Apache License 2.0
141 stars 8 forks source link

Generate a "top" method for the parser which invokes the top rule #147

Open WhiteBlackGoose opened 2 years ago

WhiteBlackGoose commented 2 years ago

Module: SynKit.Parser

Is your feature request related to a problem? Please describe. The problem is that the list of rules may be changed from time to time, whereas the caller needs to invoke the top rule regardless of which one it is.

Describe the solution you'd like Method Parse, which invokes the top rule.