Conversation
Creating 2 functions that allow for direct usage of MPCA grammar without needing to declare any additional parsers.
Finishes the work and allows usage of mpca_lang_auto as well as mpca_lang_auto_files.
Clarifying some changes
|
Thanks a lot @Shdorsh. This looks like a nice feature. I left some comments on the changes. Please would you also be able to add some tests for this before I merge it? |
|
This seems a bit unfinished. I'll try adding onto it, especially the auto parsers, to be able to construct one from multiple parsers so that auto functions can actually make use of what was predefined in raw C. Edit: Also, mpca_lang_auto_files tests are not in yet. Will work on it some more. |
|
Had to dig in a bit deeper to adapt things and make it work, hope you don't mind. |
|
Thanks, I will try to get around to looking at this at some point... |
|
Okay, I had some pretty dumb moment when I forgot to remove the escape sign in my |
|
@orangeduck I also just saw that |
Adds the following functions:
mpca_lang_autompca_lang_auto_filesmpc_auto_find_parsermpc_auto_deleteAllows to use mpca grammar without having to spam
mpc_new.