I've added some code parsing features to the Standard Libraries.
http://www.oehive.org/project/lib
Below is a sample for parsing queries -
/** * test-slibpro.p - * * (c) Copyright ABC Alon Blich Consulting Tech, Ltd. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful,