Menu

#56 Imports in jape grammar

closed
nobody
None
5
2010-02-16
2009-03-13
No

It would be nice to have some kind of mechanism where you could specify imports in a JAPE file and have them inserted into all the RHS actions for that grammar.
Currently the imports are hard-coded in gate.jape.RightHandSide#RightHandSide.

We could have the keyword 'Imports:' used like this in a jape grammar:
Imports: gate.creole.ontology.*

The default imports should stay the same and always be added to these optional imports.

Discussion

  • Johann Petrak

    Johann Petrak - 2010-02-16
    • status: open --> closed
     
  • Johann Petrak

    Johann Petrak - 2010-02-16

    This has been implemented already a while ago.

     

Log in to post a comment.