fsprojects / FsLexYacc

Lexer and parser generators for F#
http://fsprojects.github.io/FsLexYacc/
MIT License
203 stars 68 forks source link

Question: Can we get FSLex to embed a comment with the date-time that the outputs were generated? #155

Open Korporal opened 2 years ago

Korporal commented 2 years ago

This is not an issue but a question. I'm seeking a way to modify some .fsl files so that I can then see in the generated outputs, the date and time they were generated. FSlex seems to copy comments from its input file into the generated file, but can I embed executable code that I can use to stamp the date-time into those generated files?

teo-tsirpanis commented 1 year ago

Doesn't look like a good idea because the tools' output will not be deterministic.