shful / gofp

Gofp is an ontology parser for the OWL-Functional syntax.
MIT License
9 stars 5 forks source link

Can we parse import declarations? #2

Open fahadsiddiqui opened 4 years ago

fahadsiddiqui commented 4 years ago

Looking at the library I cannot parse import declarations using gofp. I'd like to extend the library, can you give me a jumpstart from where to start?

Mystelven commented 2 years ago

That's a good idea. We indeed cannot parse an IMPORT. If you want to do it, you need to extend the Lexer to deal with IMPORT keyword.