Source code in database
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 which were otherwise not possible.
A drawback of SCID systems is that code with syntax errors or other code that cannot be parsed, cannot be imported into a 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 editors are required to edit visual code.
01Examples
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, an open source tool and RDF database of Java source code that supports advanced SPARQL queries, such as Select recursive methods or Select methods that compute the cube root of a double.
Some other examples or discussions of SCID 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 .
Sources and credits
This article is adapted from the Wikipedia article “Source code in database”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.