chrivers/pyjaco — Issue #11: Support grammar (aka: str.format not supported)
Author: buchuki
Created: 2012-01-08 16:26:39+00:00
State: open

As far as I can tell, Pyjaco makes no statement as to what statements and library functions are supported as compilable code. For example, I noticed that str.format (a python 2.6+ construct) is not supported. I also tested that the with statement (python 2.5+) is not currently supported.

Should an effort be made to say "all python 2.4 features are supported" before "all python 2.5"? Or should a hybrid grammar of those features most useful in pyjaco practical use be supported? With statements are most often used for opening files, something that is not useful in the web browser. str.format, on the other hand, could be very useful in javascript templating situations.

I'm sure there are various other python features that are not supported. Ideally, pyjaco should have something like pypy used to have, saying "python2.x fully supported with the exception of feature X and feature Y" prominently displayed on the website.