Quoting skaller <[EMAIL PROTECTED]>: > On Thu, 2007-07-19 at 19:48 +0200, Emmanuel Onzon wrote: >> Quoting skaller <[EMAIL PROTECTED]>: > >> > The point is you can't delete the translated rule because >> > it is physically a different Ocaml term. >> >> It should only need to be structurally equal to the existing >> rule you want to delete, not physically. >> Otherwise it's a bug in dypgen. > > Er, Ok, you're right .. just checked the code. > > But deleting rules isn't really possible: there's no simple way > for the end user to specify them.. except to delete all the rules > for or using a given non-terminal. > > IMHO: the right way to 'delete' a rule is to let it go out of scope.
One may want to have in some portion of the code some specific language to be valid (say C) and only this one, to the exclusion of any other included the host language Felix. Emmanuel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language