To familiarize myself with the GHDL source code, I've decided to use
the source as a library and try to perform some of my own analysis of
parsed VHDL files.

I want to:
  1) parse a VHDL file and check for syntax errors
  2) if successful, walk the parsed design units / context clauses
  3) output the filename and line/column at which design units /
context clauses are declared

So far I am at a loss on how to even supply a filename to start to parse.

I saw libraries.ads has a Load_File( File_Name : Name_Id ) function,
but Name_Id is just a natural number (0..Int32'last).

Is there a general initialization I need to do beforehand?  More
functions I need to call which end up calling that?

Any help would be appreciated.

Thanks,
Brian

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to