You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vchekan edited this page Sep 13, 2010
·
3 revisions
Experimental project of programming language manipulations using Domain Specific Language.
Features I would like to implement
Multiple languages support: C#, SQL, etc.
Multiple sources: from .net assembly, Java Jar, or source code.
SQL-alike query language, for example "select Name from member where class in (select class where assembly like ‘MyComplany.%’)
For SQL, implement a query to find all suspicious function usage: a function is called from WHERE condition and is referring another table. Usually this pattern causes performance problems by inexperienced programmers. If hooked up with cource control system, it can provide early warnings for architect.
Write a library of queries detecting suspicious code: “blind catches”, etc. Unlike “Gendarme” project, if source code was scanned, the warning could be suppressed if there is a comment inside blind catch.