Overview
DTLcode answers a simple question: “I have just found this source file. What is it supposed to do?”
The tool detects the language from the file extension, applies regular-expression heuristics, and produces a functional summary in a stand-alone HTML page.
Detected information
- global variables, constants, and imported modules;
- functions, subroutines, classes, and probable main processing;
- CSS rules and HTML sections;
- paths, URLs, and network resources;
- database access and system commands;
- user interactions, error handling, and useful comments.
Supported languages
Python, PowerShell, PHP, JavaScript, TypeScript, HTML, CSS, SCSS, Windows Batch, Shell, VBScript, SQL, JSON, YAML, XML, Java, C, C++, C#, Go, Rust, Ruby, Perl, and Lua.
How it works
DTLcode does not use a compiler or a complete language parser. It combines extension detection, regular expressions, and heuristic rules to provide a quick overview.
The report is a technical orientation summary, not an exhaustive specification. DTLcode never executes the analyzed file and does not replace a specialized parser.
Quick start
python .\DTLcode.py MyProgram.py python .\DTLcode.py MyProgram.py -o Report.html .\dist\DTLcode.exe MyProgram.py
Typical use cases
- discovering an old project or unfamiliar repository;
- preparing documentation;
- software audits and source inventories;
- technical due diligence.