Can I modify C syntax by using Clang and LLVM?

I want to add command line (shell) like statement to C is it possible to implement this syntax by clang and llvm? The syntax is like

func arg1 arg2 … argn;

and define func like

void func( int arg1, int arg2, …, int argn)
{ …}

Charlie

If you're asking if you can change the clang source code repository like that, no, would be the basic answer. If you're asking do you have the skill to implement that with clang, I don't know, do you? If you're asking is it possible do modify clang to support this syntax, yes, it can be done.

Hi Charlie,

You definitely could hack clang to allow syntax like this, it would be a straight-forward parser extension. Why would you want to do this though?

-Chris