Charles Explorer logo
🇬🇧

Phalanger IntelliSense: Syntactic and semantic prediction

Publication at Faculty of Mathematics and Physics |
2009

Abstract

In the context of computer programming, the importance of computer assistance is being understood by many developer communities. Developers are using the same well known expressions or searching method signatures in library documentations.

IntelliSense methods make most of these actions unnecessary because they serve the available useful information directly to the programmer in a completely automated way. Recently, with the increased focus of the industry on dynamic languages a problem emerges - the complete knowledge on the source code is postponed until the runtime, since there may be ambiguous semantics in the code fragment.

As a part of the Phalanger project the methods for syntax and semantic analysis of the dynamic code were designed, especially targeted for the PHP language. These methods produce a list of possibilities which can be then used on a specified position in the source code.

This collected information can be also used to a fine-grained syntax highlighting.