Research / Case study
XAI-MCC: converting code between languages, and explaining it
A system that converts code from one programming language to another and then explains the converted code line by line. The work was published on IEEE Xplore at I-SMAC 2026, with me as a co-author.
- Venue
- 2026 10th International Conference on I-SMAC, Kirtipur, Nepal
- Publisher
- IEEE · on IEEE Xplore since 30 October 2026
- Role
- Co-author (second of six)
- Read it
- IEEE Xplore (opens in a new tab) · DOI 10.1109/I-SMAC70384.2026.11747628
Code converters that translate without understanding
Existing online code converters struggle with limited syntax analysis, inefficient generated code and missing comments, so the converted code is hard to trust and hard to follow.
Deep syntax analysis, then an explanation
XAI-MCC uses Transformer-based Xtream AI learning for deep syntax analysis, converting code while keeping its meaning consistent. An AI agent then explains the converted code line by line.
How the pieces fit
InputSource code
PreparationPre-processingTokenization
ModelTransformer encoder–decoder
OutputCode in the target languageLine-by-line explanation from an AI agent
The stack
What was built
- An encoder–decoder architecture that captures complex code patterns and the relationships between them.
- Pre-processing and tokenization that refine the input before conversion.
- An AI agent that gives line-by-line explanations of the converted code.
- An evaluation on 100 code samples in various programming languages, collected from online sources.
Outcomes
- 99.89% conversion accuracyAs reported in the paper, on 100 code samples.
- Published on IEEE XploreI-SMAC 2026, held 16–18 September 2026. Read on IEEE Xplore (opens in a new tab).
Need AI that understands your code or documents?
Start a conversation