How to parse VBA script file in MFC ?
-
How to parse VBA script file in MFC ? I want to extract following information from the VBA script file, 1. Number of modules in the script. 2. Name of all the modules. 3. All the function names in the given module. Is there any scripting engine ? Any help would be appreciated ? Regards, Paresh.
-
How to parse VBA script file in MFC ? I want to extract following information from the VBA script file, 1. Number of modules in the script. 2. Name of all the modules. 3. All the function names in the given module. Is there any scripting engine ? Any help would be appreciated ? Regards, Paresh.
Look into LEX & YACC... It's been awhile since I used them, but they could help if nothing else does. Though there must be a more modern alternative!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [SoonR Inc -- PC Power delivered to your phone](http://www.soonr.com)
-
Look into LEX & YACC... It's been awhile since I used them, but they could help if nothing else does. Though there must be a more modern alternative!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [SoonR Inc -- PC Power delivered to your phone](http://www.soonr.com)
Thanks for your reply. Could you please give some reference to start with ? Regards, Paresh.
-
Thanks for your reply. Could you please give some reference to start with ? Regards, Paresh.
There's a HUGE documentation about bison and flex, Google is your best friend. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
There's a HUGE documentation about bison and flex, Google is your best friend. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
Thanks. Regards, Paresh.