diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-05-15 18:39:50 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-05-15 18:39:50 +0200 |
commit | 7791faea231292a261acfaf8e5a6c4f256744df3 (patch) | |
tree | 60dc2b00629caafc287bdfe044922ca786d782ff /src/edif/edif-parse.ads | |
parent | 3d528d7ce6dc1848286c951dc7851f4361170a5b (diff) | |
download | ghdl-7791faea231292a261acfaf8e5a6c4f256744df3.tar.gz ghdl-7791faea231292a261acfaf8e5a6c4f256744df3.tar.bz2 ghdl-7791faea231292a261acfaf8e5a6c4f256744df3.zip |
Add edif parser.
Diffstat (limited to 'src/edif/edif-parse.ads')
-rw-r--r-- | src/edif/edif-parse.ads | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/edif/edif-parse.ads b/src/edif/edif-parse.ads new file mode 100644 index 000000000..929be9b1e --- /dev/null +++ b/src/edif/edif-parse.ads @@ -0,0 +1,12 @@ +with Edif.Nodes; use Edif.Nodes; + +package Edif.Parse is + -- Simple parser: return generic constructs (lists). + -- Do not try to interpret EDIF. + function Parse_File_Simple return Node; + + -- Parse as EDIF 2.0.0 + -- There is almost no error recovery: the parser stops at the first error, + -- and it return Null_Node. + function Parse_Edif200 return Node; +end Edif.Parse; |