Custom Compiler with phases for the documentation tool
Custom Compiler with phases for the documentation tool
The idea here is to structure dottydoc around the new infrastructure. As
such, dottydoc will itself be a compiler. It will, however, produce a format
that can be used by other tools or web-browsers.
Example:
Use the existing FrontEnd to typecheck the code being fed to dottydoc
2. Create an AST that is serializable
3. Serialize to JS object
Custom Compiler with phases for the documentation tool
The idea here is to structure
dottydoc
around the new infrastructure. As such, dottydoc will itself be a compiler. It will, however, produce a format that can be used by other tools or web-browsers.Example: