Replies: 6 comments 14 replies
-
There is already a a helper / extension that tries to convert Pascal code into something that can be understood by doxygen (this is outside the maintenance sphere of doxygen, see https://www.doxygen.nl/helpers.html). |
Beta Was this translation helpful? Give feedback.
-
So far, I have implemented rudimentary code for Pascal - only a alpha start... - add pascode.l and passcanner.l to CMakefile.txt... BTW: What is the best way to test the Parser ? - by including the file with Extension (map) ? |
Beta Was this translation helpful? Give feedback.
-
For testing, get the Pascal extension etc registered:
These things are all based on the grep as mentioned before. The yy_pop_stated is present so the state structure (pascalcodeYY_state / pascalscallerYY_state) stack is popped. This function is provided by flex so that the parser is reentrant (can be used in a multi threading environment) and is based on the settings (%option) settings at the top of the lex file. |
Beta Was this translation helpful? Give feedback.
-
Forgot an important file:
|
Beta Was this translation helpful? Give feedback.
-
I could see, that scanner.l and code.l have nearly the same format. I have add support for Pascal mapping files, so I can use:
in the configuration file of doxygen.
when parsing the documentation Pascal file/text:
with:
in pascode.l I found the implementation was easy so far as I can see. I will stay tuned, and the time will it show how the project can support Pascal. But to this later ... |
Beta Was this translation helpful? Give feedback.
-
The scanner.l and code.l have similar format, definitions and states, but some rules have different handling etc, so yes it is necessary to different scanners. Merging these scanners would be quite difficult and would make everything much more complex Looks like you started with the pascalcode.l scanner.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would not use different Tools for documenting a Code Base that comes from the same origin.
So, I would like have the same look and feel for the Pascal documentation like the C++ documentation that Doxygen can generate.
I know that it give Tools already.
But it would be a nice neat that Doxygen can handle Pascal Files with its procedures, functions, records and classes...
A later very big neat thing is the Support for Pascal generic class documentation.
I would be happy - what did you think Albert ?
Beta Was this translation helpful? Give feedback.
All reactions