As I am still not seeing the board "Discussion - Software" while beeing logged in, I am asking here.
I wrote an email to the board admin address a while ago about this.
I am working on an exporter script for ESE that generates code which is compatible with my library FT81x / BT81x library.
I used one of the existing exporter scripts as a starting point and things are starting to make sense.
However, I just found that comments seem to be stripped from the data that is send to the converter script.
All comments, lines that only have a comment end up empty, lines that end up in comments have the comments removed.
All exporter scripts have this however:
if (line.lstrip()).startswith("//"):
and
functionName, functionArgs, comment = parseCommand(line, functionMap, convertArgs)
My .ese file:
"",
"/* foo */",
"// foo",
"VERTEX_FORMAT(0) // boo",
"",
The result when printing out each line raw with
f.write("// " + line + "\n")
plus either the parsed command line or
f.write(" \n")
in case the line was empty:
//
//
// VERTEX_FORMAT(0)
EVE_vertex_format(0);
//
So, not only are all comments stripped, the lines with comments end up beeing empty lines instead of beeing removed.
Is this actually working as intended?