Why would you want to do that? Ziron is a programming language not a compiler "kit"
if you want to add a custom type, this will be possible anyways without detecting program, new types will be possible to add such as WIN32OBJ and so on.
do you mean that , make event handler for 'WIN32OBJ' term and register it as a keyword?
also , by scanning the source code from plugin from that start will give the plugin more facility, take an example.
function event_prg()
{
@loop:
extract a line
check it and made the needed modification
let ziron execute it
if we reach to end of source code then exit function
goto @loop;
you can do that without keyword detection, you do that with FileEntry event, and about WIN32OBJ - not exactly, i was working on a set of pf functions for developing new file formats, such as linux bin files and so on, but right now i'm concentrating on other areas.
However, i will try to get back around to adding the rest of the functions.