Edit detail for The Big Picture revision 10 of 10

1 2 3 4 5 6 7 8 9 10
Editor: edreamleo
Time: 2008/01/22 15:38:15 GMT+0
Note:

changed:
-There are intimate connections between editing, semantic analysis, syntax coloring, .cix files and autocompletion.  This can be seen in the data contained in KomodoCatalog files:  not only do these files contain lots of semantic information, **they contain actual line numbers** where specific syntactic constructs occur.Unless I am missing some deep magic, this means that .cix must be updated **while the user types**.  This is indeed a big (truly heroic) task. **Note**: I'll soon be doing some experiments to test this hypothesis.
There are intimate connections between editing, semantic analysis, syntax coloring, KomodoCatalog files and autocompletion.  This can be seen in the data contained in KomodoCatalog files:  not only do these files contain lots of semantic information, **they contain actual line numbers** where specific syntactic constructs occur.Unless I am missing some deep magic, this means that KomodoCatalog files must be updated **while the user types**.  This is indeed a big (truly heroic) task. **Note**: I'll soon be doing some experiments to test this hypothesis.

The OpenKomodo project is ambitious, perhaps even heroic. I don't usually use the term "heroic" as a term of praise, but in this case I may make an exception :-)

The project is ambitious because it aims to marry several complex technologies at once:

  • Syntax coloring and lexical analysis of source code, for several languages, namely css, django, html, javascript, mason, perl, php, python, rhtml, ruby, smarty, tcl, xbl, xml, xslt and xul. This list comes from the lang_*.py files in the codeintel2 directory.
  • Parsing and fairly deep semantic analysis for some (all?) of the above languages.
  • The result of this analysis are stored in KomodoCatalog files. Important: Understanding these files is essential to understanding the autocompleter; see the KomodoCatalog page for details.
  • Autocompletion and calltips.

There are intimate connections between editing, semantic analysis, syntax coloring, KomodoCatalog files and autocompletion. This can be seen in the data contained in KomodoCatalog files: not only do these files contain lots of semantic information, they contain actual line numbers where specific syntactic constructs occur.Unless I am missing some deep magic, this means that KomodoCatalog files must be updated while the user types. This is indeed a big (truly heroic) task. Note: I'll soon be doing some experiments to test this hypothesis.