Indexing of source code (CodeIndex)

Online Status

As a side project to Codecraft we are currently working on a project we call CodeIndex. The idea is parse headerfiles and make a database of all typedefs, structures, function etc. In Codecraft this database can then be used to make lookups and provide codecompletion.

We have worked on it almost every weekend for the past year. Obviously except for sickness or vacation etc.

Status right now is that we can parse most header files in the NDK, although we have a few files that have special C language constructs that we are still working on.

We are also able to make a lookup from inside Codecraft. Right now the lookup happens in exec/types.h so the results are limited at the moment. To move on from that, we need to index the current sourcefile on the fly as the user is editing the source file, and the change Codecraft to lookup in that.

The project will be opensourced eventually, and will be available in the form of a shared library. For now it is only able to parse C source, but if someone is interested in creating a parser for another language it should be possible.

Online Status

I'd be interested in having a go at creating a parser for E

Online Status

That would be great. Get in touch with me and we can arrange that you start out by joining a discord session, where we can talk it over. And we can push it to a gitlab project where you can work on it

Online Status

Today we continued to try and parse the entire NDK. We are running into a few hickups in our parser, but we do hope to fix those at our next session next weekend, so that we can finally claim to be able to parse the entire ndk

Online Status

I will get in touch via Facebook to kick things off

Online Status

Today we fixed our hickups with parsing the entire AmigaOS NDK. On my admitedly very fast WinUAE it takes little over a minute.
The neext thing we need to look into is using this from the Codecraft side.

We will now take a few months break from working on the code indexer, as Codecraft and amigagit both need our attention.

Online Status

We have had a little break from CodeIndex. But next we will work on automatially detecting if the index needs to be updated.