I’ve been ruminating on @bond’s suggestion to package the ERG binaries. I’m not 100% on how this would work with apt, but with homebrew (and I think with apt), the result would be putting the grammar binaries someplace like
/usr/share/, and then one could run
ace -g /usr/share/erg-XYZ.dat as usual.
This seems fine, but I’m wondering if a more user friendly option would be to make a grammar manager tool that handles the mechanics of getting and compiling the grammars as well as lookup. So, you could run something like
command parse erg (where command is some clever name I haven’t conceived ). With PyDelphin, I don’t think this would be much code.
Does this seem better to folks, or too much catering?
Also, I suppose this isn’t an either or situation. We could put the grammars on apt+homebrew and then write the wrapper to use those package managers.