Transforming .mm file to readably form by java

I am developing Multi-mode resource-constrain project scheduling solver in Java. I was looking for test instances but only I found this. It is in .mm file that is extension for C++ compilator. Is there any way how to transform this data into something easy readable by java like XML, JSON?

Answers


As suggested you could of course parse the file as a text file. Alternatively the two other main approaches would be:

  • Use clang/llvm's active syntax tree (AST) to interpret the data in the file.
  • Use an Objective-C++ grammar for a compiler generator like yacc or, since you're using Java, JavaCC. This will also yield a syntax tree, that you can that walk and extract information from.

Need Your Help

unable to including ajax file

c# html ajax visual-studio-2010

Im getting this error message from IE when trying to set up Ajax

How can i add another data in the next column using VB6

excel csv vb6

I have a script in VB6 that will parse a CSV file and get only the needed data. I used Writeline to write the data in the CSV file. My problem is how can I write the next data into the next column ...