P
Petter Gustad
Guest
rickman <gnuarm@gmail.com> writes:
Rather than writing a parser one could build a small domain specific
language (DSL) on top of an existing HLL or scripting language like
Python, CL, Ruby, TCL, or whatever you prefer. Then it's usually quite
simple to generate HDL, C header files, ralf, xact, LaTeX, etc. from
there.
//Petter
--
..sig removed by request.
Thought about making C, VHDL, or HTML the source format rather than XML.
Either of the first two can be really ugly to parse, and HTML was even
uglier to write than my XML format.
But it wouldn't have to be a full C parser, just any limited subset
you care to specify. In essence the idea is to write a "special"
Rather than writing a parser one could build a small domain specific
language (DSL) on top of an existing HLL or scripting language like
Python, CL, Ruby, TCL, or whatever you prefer. Then it's usually quite
simple to generate HDL, C header files, ralf, xact, LaTeX, etc. from
there.
//Petter
--
..sig removed by request.