tag:blogger.com,1999:blog-2707273230216261185.post6239933276256112420..comments2015-05-10T16:06:00.705-07:00Comments on pythonjs: optional static typingraptorhttp://www.blogger.com/profile/14287416587600419675noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2707273230216261185.post-63754867288986813732014-06-07T17:56:43.185-07:002014-06-07T17:56:43.185-07:00I started with this current solution because it al...I started with this current solution because it allows typing of any variable within the function body, and not just the function arguments.<br /><br />In the future I will try to support Python3's function annotations for typing, either by making the translator compatible with Python3 and using the AST parser, or directly parsing the annotations in the pre-processing phase.raptorhttps://www.blogger.com/profile/14287416587600419675noreply@blogger.comtag:blogger.com,1999:blog-2707273230216261185.post-38738462518237860782014-06-07T15:02:25.525-07:002014-06-07T15:02:25.525-07:00Just out of curiosity, why didn't you used the...Just out of curiosity, why didn't you used the python 3's function annotations ?<br /><br />Eg:<br /><br />def F(i:'int', n, arr:'list'):<br /> while i < n:<br /> pass<br />AMIGrAvehttps://www.blogger.com/profile/14242800953356521721noreply@blogger.com