[antlr-interest] <name>
Luke A. Guest
laguest at archangeli.co.uk
Thu May 24 10:04:37 PDT 2007
Hi,
Is it possible to get the base name in the stg file?
For example, I'm wanting to provide a structure like this:
package T_Lexer is
type T_Lexer_Type is new ANTLR.Lexer.Lexer_Type with private;
private
end T_Lexer;
The grammar would be called T.g and the filenames generated would be
t_lexer.ads (specification) and t_lexer.adb (body).
It's not too much of a problem if it can't be done, but I would like to
try to stick as closely as possible to the Ada style guides.
Thanks,
Luke.
More information about the antlr-interest
mailing list