Recommendations for module hierarchy names for Python parser

Christian Maeder Christian.Maeder at dfki.de
Fri Jan 16 07:08:10 EST 2009


Henning Thielemann wrote:
> I think the version number should be part of the module name for the
> reasons you mention. Is
> 
>   Language.Python.30
>   Language.Python.26
> 
> also possible?

Good question. Where is this documented?
http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#hierarchical-modules

"GHC supports a small extension to the syntax of module names: a module
name is allowed to contain a dot ‘.’."

This would also allow lowercase letters following a dot.

Given:
http://www.haskell.org/onlinelibrary/lexemes.html
modid 	 -> 	 conid 	 (modules)
conid 	 -> 	 large {small | large | digit | ' }

I would add:
modid -> modid . modid

(or make it a qualified conid: qconid)

So Python.30 should beillegal. Why not use V30 or Ver30.

Cheers Christian



More information about the Libraries mailing list