[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Verilog 19990529 snapshot
stevew@home.com said:
> There IS VBPP which should do this job I would think. It's GPL'd and
> available from the same place I got VBS.
Ah hah! It is even an extended version. It is missing a few things that
I would like to see, though:
- include search path.
The -I switch would be nice.
- #line directives.
ivl keeps track of what tokens/items show where in the source file
so that it can print meaningful error statements and parse dumps.
The preprocssor needs to write ``#line "file" <number>'' into the
output stream so that ivl can know that a preprocessor is changing
the file. (This is how the c preprocessor works.)
- predefines
The -Dfoo=<value> would be nice.
Problem: It is not quite GPL.
Oh well. Now that I know that it exists and is a reasonable starting point,
I can put the whole preprocessor issue aside for a while. In fact, people can
use the program as is as a preprocessor. The only glitch will be that the
file and line numbers from ivl will match the intermediate file, not the
original source.
--
Steve Williams "The woods are lovely, dark and deep.
steve@icarus.com But I have promises to keep,
steve@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."