As Nitra progresses we will use it in a number of places for dog-fooding and optimizing our own development.
Errors DSL
We have errors.xml
files, which utilize Xml as a syntax for input for code generator. Here is how we can improve it:
- Using Nitra Parser, create a DSL syntax for these files. It could look like this:
CodeRedundancies.issuesFirst phase is to parse it and use AST instead of XElements to power ErrorsGenerator - Use embedded C# language. It should work a bit like Razor, allowing C# code in specific places.
- Code completion for keywords, expand selection, comments, syntax errors, and all other AST-based features in ReSharper extension
- Resolve, completion, find usages and renames
- "Go to" navigation
- Create from usage for Fixes
AllAssemblies DSL
- Measure speed of AST building compared to XmlSerializer
Actions DSL
- Measure speed of processing during load at runtime, build ActionManager's data on parse.
- Generate action handlers
CQL
- Design code query language
- Implement processing in ReSharper
1 Comment
Ilya Ryzhenkov
Grammar for issues (except for std::header)