Commits

Author Commit Message Labels Comments Date
Waldemar Kornewald
added eol def
Waldemar Kornewald
removed unnecessary import
Waldemar Kornewald
switched to new parsing exception in PyMeta2
Waldemar Kornewald
fixed license
Waldemar Kornewald
added BSD license
Waldemar Kornewald
changed "self"->"this" translation, so it only happens when you're within a function that defines a "self" parameter. this can be important when combining PyvaScript with pyjs
Waldemar Kornewald
added Function.prototype.bind() for binding methods
Waldemar Kornewald
fixed string escaping
Waldemar Kornewald
fixed a few bugs
Waldemar Kornewald
changed baseline for indentation to be the first char in the line, not "def". also, allow one-line blocks without indentation ("def(): pass")
Waldemar Kornewald
optimized len() and slicing and added special feature for negative indexing with a single immediate integer
Waldemar Kornewald
added "in" and "not in" support including unit tests
Waldemar Kornewald
added getattr and setattr
Waldemar Kornewald
added support for hasattr
Waldemar Kornewald
added support for slicing and del statement. also, fixed internal naming of int and float (will auto-convert to _$pyva_int/float)
Waldemar Kornewald
fixed missing parenthesis around lambda expressions, added len() and print(), fixed $pyva_iter for arguments
Waldemar Kornewald
fixed lone "return" statement without return value
Waldemar Kornewald
added compiler script to setup.py and improved the script
Waldemar Kornewald
fixed infinite recursion in for-loop => isinstance(..., (...)) => for-loop => isintance...
Waldemar Kornewald
fixed unit tests
Waldemar Kornewald
implemented str() and int()/float() and extended isinstance to support those and allow to use for-in loop over any object
Waldemar Kornewald
added stdlib.pyva to package
Waldemar Kornewald
recompiled stdlib
Waldemar Kornewald
Waldemar Kornewald
got rid of semi-colons when you only use JS() as a single statement
Thomas Wanschik
Thomas Wanschik
wrote as much of the code in pyvascript now
Waldemar Kornewald
added support for list(), dict(), and Array.insert/extend/append and String.join()
Thomas Wanschik
Thomas Wanschik
fixed JS call bug, added command line compile command
  1. Prev
  2. Next