Next: , Previous: , Up: Recognizer methods   [Contents][Index]


14.2 Creating a new recognizer

Function: Marpa_Recognizer marpa_r_new ( Marpa_Grammar g )

[Constructor] On success, creates a new recognizer and increments the reference count of g, the base grammar, by one. In the new recognizer,

Return value: On success, the newly created recognizer, which is never NULL. If g is not precomputed, or on other hard failure, NULL.