On Sat Dec 15 05:30:57 2007, bernhard wrote: > ... > > The other problem is that the method 'ostgrammar' has been removed > from PCT::HLLCompiler. > IMHO this should be fixed with porting languages/lua from using > 'PAST-pm' to using the shiny new > PCT::PAST.
Yes, I didn't quite expect anyone to be using PCT::HLLCompiler with PAST-pm, or supplying their own PAST->POST transformation. If we need to put the ostgrammar back into the HLLCompiler, we can do that. Either that or Lua can subclass PCT::HLLCompiler to provide the ostgrammar transformation. Let me know if help is needed for this. Another approach would be to subclass PAST::Compiler to provide the additional Lua-specific transformations that don't exist in the current PAST compiler. This would be interesting and worthwhile in a number of respects, so we could verify that the PAST implementation is indeed extensible to support language-specific needs. Pm