Source Code in Database
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Source Code in Database (SCID) is a technique of code manipulation where the code is parsed and stored in a database. This allows many productivity-enhancing shortcuts[clarification needed] which were otherwise not possible.
A drawback of SCID systems is that code with syntax errors or other code that cannot be parsed[clarification needed], cannot be imported into an SCID system directly. One workaround for this is to comment out code that doesn't parse correctly.
visual programming tools may store programs as databases, since specialized structure editor are required to edit visual code.
Examples
IBM VisualAge Java is an example of an integrated development environment implementing SCID features. A more recent example of Source Code in Database is CodeOntology, a open source tool and RDF database of Java source code that supports advanced SPARQL queries[1].
See also
Some examples or discussions of this include:
- http://www.c2.com/cgi/wiki?SourceCodeInDatabase
- http://mindprod.com/project/scid.html
- http://martinfowler.com/bliki/ProjectionalEditing.html
Also, Eric & Mike Hewitt from PrecisionSoftware were working on a SCID in C# in 2014
- ^ CodeOntology, Query examples, http://codeontology.org/examples.