1. A computer-implemented method comprising: receiving a source code at a compiler on a machine, the source code comprising a new keyword to a scripting language of the compiler; processing, using a processor of the machine, the source code with an extension compiler module configured to support the new keyword; the extension compiler module is further configured to support various contexts by specifying snippet metadata describing the context in which the language is used and define different snippet signatures from different runtime contexts; and generating an executable machine code based on a process of the extension compiler module and the compiler.