├── .gitignore ├── MANIFEST.in ├── README.rst ├── convert.py ├── docs ├── logo.png └── logo.svg ├── gen_builtins.py ├── make.pbj ├── pjs ├── __init__.py ├── assign.py ├── atomic.py ├── blocks.py ├── converter.py ├── data │ ├── ast_nodes.txt │ ├── js_reserved.txt │ └── pjslib.js ├── declared.py ├── errors.py ├── expression.py ├── imports.py ├── jslib │ ├── __builtin__.js │ ├── classes.js │ ├── functions.js │ └── modules.js ├── modules.py ├── old_utils.py ├── scoping.py ├── small.py ├── special.py ├── templates.py ├── templates │ ├── template.html │ ├── template.js │ └── template.ss.js └── utils.py ├── requirements.txt ├── runtest.py ├── setup.py ├── strider-custom.json └── test ├── browser ├── ext │ └── layout2.js ├── hello.py ├── jqueryui.html ├── jqueryui.js ├── jqueryui.py ├── json.py ├── json2.js └── makefile ├── js ├── jasmine-0.10.3.js └── lib.js ├── pjs ├── basic.py ├── classes.py └── tojs.py ├── py ├── StringIO.py ├── allimports.py ├── assert.py ├── assign.py ├── class.py ├── cmp.py ├── decorators.py ├── deep_inherit.py ├── dicts.py ├── errno.py ├── exceptions.py ├── funcs.py ├── globals.py ├── imports.py ├── inheritence.py ├── lcomp.py ├── loops.py ├── math.py ├── more_imports.py ├── moreclass.py ├── numbers.py ├── ops.py ├── scope.py ├── several_inherit.py ├── simple.py ├── slice.py ├── small_scope.py ├── strings.py ├── sub │ ├── __init__.py │ └── smod.py ├── toimp.py ├── undef.py └── xrange.py ├── py2js ├── basic │ ├── assign_slice.py │ ├── augassign.py │ ├── augassign2.py │ ├── binaryops.py │ ├── break.py │ ├── class.py │ ├── class2.py │ ├── closure.py │ ├── continue.py │ ├── default.py │ ├── del_array.py │ ├── del_attr.py │ ├── del_dict.py │ ├── del_global.py │ ├── del_local.py │ ├── del_slice.py │ ├── dictionary.py │ ├── dictionary2.py │ ├── docstring.py │ ├── embedding.py │ ├── fib.py │ ├── float2int.py │ ├── for_in.py │ ├── for_step.py │ ├── for_xrange.py │ ├── generator.py │ ├── globalvar.py │ ├── helloworld.py │ ├── ifs.py │ ├── keys.py │ ├── kwargs.py │ ├── kwargs2.py │ ├── lambda.py │ ├── list.py │ ├── list2.py │ ├── listcomp2.py │ ├── literals.py │ ├── logicalops.py │ ├── loops.py │ ├── multiassign.py │ ├── nestedclass.py │ ├── none.py │ ├── oo.py │ ├── oo_attributes.py │ ├── oo_diamond.py │ ├── oo_inherit.py │ ├── oo_inherit2.py │ ├── oo_inherit3.py │ ├── oo_inherit_simple.py │ ├── oo_inherit_simple2.py │ ├── oo_static_inherit.py │ ├── pass.py │ ├── print.py │ ├── raise.py │ ├── scope.py │ ├── str1.py │ ├── sumcomp.py │ ├── super.js │ ├── super.py │ ├── trueorfalse.py │ ├── try.py │ ├── tuple.py │ ├── tuple2.py │ ├── valueerror.py │ ├── vargs.py │ ├── vars.py │ ├── vars2.py │ └── while.py ├── convert_tabs_spaces.js ├── convert_tabs_spaces.py ├── errors │ ├── decorator.py │ ├── modules │ │ └── __init__.py │ └── py_collision.py ├── functions │ ├── and.js │ ├── and.py │ ├── append.py │ ├── aug.js │ ├── aug.py │ ├── bitand.js │ ├── bitand.py │ ├── bitor.js │ ├── bitor.py │ ├── bitxor.js │ ├── bitxor.py │ ├── divfloor.py │ ├── float.js │ ├── float.py │ ├── floatdiv.js │ ├── floatdiv.py │ ├── gtge.py │ ├── in.py │ ├── int.py │ ├── isinstance.js │ ├── isinstance.py │ ├── len.py │ ├── lshift.js │ ├── lshift.py │ ├── ltle.py │ ├── ne.py │ ├── or.js │ ├── or.py │ ├── pop.py │ ├── rshift.js │ ├── rshift.py │ ├── sort.py │ ├── sort23.js │ ├── sort23.py │ ├── sort_cmp.js │ ├── sort_cmp.py │ ├── str.py │ ├── ubitcomp.js │ ├── ubitcomp.py │ ├── uminus.py │ └── uplus.py ├── libraries │ └── xmlwriter.py ├── lists │ ├── extend.py │ ├── filter.py │ ├── in.py │ ├── insert.py │ ├── map.py │ ├── max.py │ ├── min.py │ ├── reduce.py │ ├── reverse.py │ ├── subclass.py │ ├── subclass2.py │ ├── subclass3.py │ ├── sum.py │ ├── sum2.py │ ├── xrange.py │ └── zip.py ├── modules │ ├── classname.py │ ├── from_import.py │ ├── import.py │ ├── import_alias.py │ ├── import_class.py │ ├── import_diamond.py │ ├── import_global.js │ ├── import_global.py │ ├── import_multi.py │ ├── imported │ │ ├── __init__.py │ │ ├── alias_classes.py │ │ ├── alias_fns.py │ │ ├── modulea.py │ │ ├── moduleb.py │ │ ├── modulec.py │ │ ├── moduled.py │ │ └── submodules │ │ │ ├── __init__.py │ │ │ └── submodulea.py │ ├── module_name.py │ ├── modules │ │ ├── __init__.py │ │ ├── diamond1.py │ │ ├── diamond2.py │ │ ├── klasses.py │ │ ├── moda.py │ │ ├── module_name.py │ │ └── submodules │ │ │ ├── __init__.py │ │ │ ├── diamondbase.py │ │ │ └── module_name.py │ └── rng.py ├── strings │ ├── count.js │ ├── count.py │ ├── find.py │ ├── join.py │ ├── lstrip0.js │ ├── lstrip0.py │ ├── lstrip1.js │ ├── lstrip1.py │ ├── replace.js │ ├── replace.py │ ├── rfind.js │ ├── rfind.py │ ├── rstrip0.js │ ├── rstrip0.py │ ├── rstrip1.js │ ├── rstrip1.py │ ├── split.js │ ├── split.py │ ├── splitlines.py │ ├── string_format_d.js │ ├── string_format_d.py │ ├── string_format_efg.js │ ├── string_format_efg.py │ ├── string_format_i.js │ ├── string_format_i.py │ ├── string_format_o.js │ ├── string_format_o.py │ ├── string_format_u.js │ ├── string_format_u.py │ ├── string_format_x.js │ ├── string_format_x.py │ ├── strip.js │ ├── strip.py │ ├── strip1.js │ ├── strip1.py │ ├── ulcase.py │ ├── ulcase1.py │ └── zipstring.py ├── test_builtins.js ├── test_compile_js.js └── test_compile_js.py └── runtests.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/.gitignore -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/README.rst -------------------------------------------------------------------------------- /convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/convert.py -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/docs/logo.png -------------------------------------------------------------------------------- /docs/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/docs/logo.svg -------------------------------------------------------------------------------- /gen_builtins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/gen_builtins.py -------------------------------------------------------------------------------- /make.pbj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/make.pbj -------------------------------------------------------------------------------- /pjs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/__init__.py -------------------------------------------------------------------------------- /pjs/assign.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/assign.py -------------------------------------------------------------------------------- /pjs/atomic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/atomic.py -------------------------------------------------------------------------------- /pjs/blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/blocks.py -------------------------------------------------------------------------------- /pjs/converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/converter.py -------------------------------------------------------------------------------- /pjs/data/ast_nodes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/data/ast_nodes.txt -------------------------------------------------------------------------------- /pjs/data/js_reserved.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/data/js_reserved.txt -------------------------------------------------------------------------------- /pjs/data/pjslib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/data/pjslib.js -------------------------------------------------------------------------------- /pjs/declared.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/declared.py -------------------------------------------------------------------------------- /pjs/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/errors.py -------------------------------------------------------------------------------- /pjs/expression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/expression.py -------------------------------------------------------------------------------- /pjs/imports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/imports.py -------------------------------------------------------------------------------- /pjs/jslib/__builtin__.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/jslib/__builtin__.js -------------------------------------------------------------------------------- /pjs/jslib/classes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/jslib/classes.js -------------------------------------------------------------------------------- /pjs/jslib/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/jslib/functions.js -------------------------------------------------------------------------------- /pjs/jslib/modules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/jslib/modules.js -------------------------------------------------------------------------------- /pjs/modules.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | # vim: et sw=4 sts=4 4 | -------------------------------------------------------------------------------- /pjs/old_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/old_utils.py -------------------------------------------------------------------------------- /pjs/scoping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/scoping.py -------------------------------------------------------------------------------- /pjs/small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/small.py -------------------------------------------------------------------------------- /pjs/special.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/special.py -------------------------------------------------------------------------------- /pjs/templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/templates.py -------------------------------------------------------------------------------- /pjs/templates/template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/templates/template.html -------------------------------------------------------------------------------- /pjs/templates/template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/templates/template.js -------------------------------------------------------------------------------- /pjs/templates/template.ss.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/templates/template.ss.js -------------------------------------------------------------------------------- /pjs/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/pjs/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | pbj 2 | pytest 3 | -------------------------------------------------------------------------------- /runtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/runtest.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/setup.py -------------------------------------------------------------------------------- /strider-custom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/strider-custom.json -------------------------------------------------------------------------------- /test/browser/ext/layout2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/ext/layout2.js -------------------------------------------------------------------------------- /test/browser/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/hello.py -------------------------------------------------------------------------------- /test/browser/jqueryui.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/jqueryui.html -------------------------------------------------------------------------------- /test/browser/jqueryui.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/jqueryui.js -------------------------------------------------------------------------------- /test/browser/jqueryui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/jqueryui.py -------------------------------------------------------------------------------- /test/browser/json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/json.py -------------------------------------------------------------------------------- /test/browser/json2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/json2.js -------------------------------------------------------------------------------- /test/browser/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/browser/makefile -------------------------------------------------------------------------------- /test/js/jasmine-0.10.3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/js/jasmine-0.10.3.js -------------------------------------------------------------------------------- /test/js/lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/js/lib.js -------------------------------------------------------------------------------- /test/pjs/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/pjs/basic.py -------------------------------------------------------------------------------- /test/pjs/classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/pjs/classes.py -------------------------------------------------------------------------------- /test/pjs/tojs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/pjs/tojs.py -------------------------------------------------------------------------------- /test/py/StringIO.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/StringIO.py -------------------------------------------------------------------------------- /test/py/allimports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/allimports.py -------------------------------------------------------------------------------- /test/py/assert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/assert.py -------------------------------------------------------------------------------- /test/py/assign.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/assign.py -------------------------------------------------------------------------------- /test/py/class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/class.py -------------------------------------------------------------------------------- /test/py/cmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/cmp.py -------------------------------------------------------------------------------- /test/py/decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/decorators.py -------------------------------------------------------------------------------- /test/py/deep_inherit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/deep_inherit.py -------------------------------------------------------------------------------- /test/py/dicts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/dicts.py -------------------------------------------------------------------------------- /test/py/errno.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | EINVAL = 22 4 | 5 | # vim: et sw=4 sts=4 6 | -------------------------------------------------------------------------------- /test/py/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/exceptions.py -------------------------------------------------------------------------------- /test/py/funcs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/funcs.py -------------------------------------------------------------------------------- /test/py/globals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/globals.py -------------------------------------------------------------------------------- /test/py/imports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/imports.py -------------------------------------------------------------------------------- /test/py/inheritence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/inheritence.py -------------------------------------------------------------------------------- /test/py/lcomp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/lcomp.py -------------------------------------------------------------------------------- /test/py/loops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/loops.py -------------------------------------------------------------------------------- /test/py/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/math.py -------------------------------------------------------------------------------- /test/py/more_imports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/more_imports.py -------------------------------------------------------------------------------- /test/py/moreclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/moreclass.py -------------------------------------------------------------------------------- /test/py/numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/numbers.py -------------------------------------------------------------------------------- /test/py/ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/ops.py -------------------------------------------------------------------------------- /test/py/scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/scope.py -------------------------------------------------------------------------------- /test/py/several_inherit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/several_inherit.py -------------------------------------------------------------------------------- /test/py/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/simple.py -------------------------------------------------------------------------------- /test/py/slice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/slice.py -------------------------------------------------------------------------------- /test/py/small_scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/small_scope.py -------------------------------------------------------------------------------- /test/py/strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/strings.py -------------------------------------------------------------------------------- /test/py/sub/__init__.py: -------------------------------------------------------------------------------- 1 | vbl = 34 2 | -------------------------------------------------------------------------------- /test/py/sub/smod.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py/toimp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/toimp.py -------------------------------------------------------------------------------- /test/py/undef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/undef.py -------------------------------------------------------------------------------- /test/py/xrange.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py/xrange.py -------------------------------------------------------------------------------- /test/py2js/basic/assign_slice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/assign_slice.py -------------------------------------------------------------------------------- /test/py2js/basic/augassign.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/augassign.py -------------------------------------------------------------------------------- /test/py2js/basic/augassign2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/augassign2.py -------------------------------------------------------------------------------- /test/py2js/basic/binaryops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/binaryops.py -------------------------------------------------------------------------------- /test/py2js/basic/break.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/break.py -------------------------------------------------------------------------------- /test/py2js/basic/class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/class.py -------------------------------------------------------------------------------- /test/py2js/basic/class2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/class2.py -------------------------------------------------------------------------------- /test/py2js/basic/closure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/closure.py -------------------------------------------------------------------------------- /test/py2js/basic/continue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/continue.py -------------------------------------------------------------------------------- /test/py2js/basic/default.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/default.py -------------------------------------------------------------------------------- /test/py2js/basic/del_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/del_array.py -------------------------------------------------------------------------------- /test/py2js/basic/del_attr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/del_attr.py -------------------------------------------------------------------------------- /test/py2js/basic/del_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/del_dict.py -------------------------------------------------------------------------------- /test/py2js/basic/del_global.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/del_global.py -------------------------------------------------------------------------------- /test/py2js/basic/del_local.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/del_local.py -------------------------------------------------------------------------------- /test/py2js/basic/del_slice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/del_slice.py -------------------------------------------------------------------------------- /test/py2js/basic/dictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/dictionary.py -------------------------------------------------------------------------------- /test/py2js/basic/dictionary2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/dictionary2.py -------------------------------------------------------------------------------- /test/py2js/basic/docstring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/docstring.py -------------------------------------------------------------------------------- /test/py2js/basic/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/embedding.py -------------------------------------------------------------------------------- /test/py2js/basic/fib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/fib.py -------------------------------------------------------------------------------- /test/py2js/basic/float2int.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/float2int.py -------------------------------------------------------------------------------- /test/py2js/basic/for_in.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/for_in.py -------------------------------------------------------------------------------- /test/py2js/basic/for_step.py: -------------------------------------------------------------------------------- 1 | 2 | for x in xrange(19,342,13): 3 | print x 4 | -------------------------------------------------------------------------------- /test/py2js/basic/for_xrange.py: -------------------------------------------------------------------------------- 1 | 2 | for x in xrange(1,10): 3 | print x 4 | -------------------------------------------------------------------------------- /test/py2js/basic/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/generator.py -------------------------------------------------------------------------------- /test/py2js/basic/globalvar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/globalvar.py -------------------------------------------------------------------------------- /test/py2js/basic/helloworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/helloworld.py -------------------------------------------------------------------------------- /test/py2js/basic/ifs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/ifs.py -------------------------------------------------------------------------------- /test/py2js/basic/keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/keys.py -------------------------------------------------------------------------------- /test/py2js/basic/kwargs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/kwargs.py -------------------------------------------------------------------------------- /test/py2js/basic/kwargs2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/kwargs2.py -------------------------------------------------------------------------------- /test/py2js/basic/lambda.py: -------------------------------------------------------------------------------- 1 | 2 | y = lambda x:x*x 3 | 4 | print y(4) 5 | 6 | -------------------------------------------------------------------------------- /test/py2js/basic/list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/list.py -------------------------------------------------------------------------------- /test/py2js/basic/list2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/list2.py -------------------------------------------------------------------------------- /test/py2js/basic/listcomp2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/listcomp2.py -------------------------------------------------------------------------------- /test/py2js/basic/literals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/literals.py -------------------------------------------------------------------------------- /test/py2js/basic/logicalops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/logicalops.py -------------------------------------------------------------------------------- /test/py2js/basic/loops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/loops.py -------------------------------------------------------------------------------- /test/py2js/basic/multiassign.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/multiassign.py -------------------------------------------------------------------------------- /test/py2js/basic/nestedclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/nestedclass.py -------------------------------------------------------------------------------- /test/py2js/basic/none.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/none.py -------------------------------------------------------------------------------- /test/py2js/basic/oo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_attributes.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_diamond.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_diamond.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_inherit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_inherit.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_inherit2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_inherit2.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_inherit3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_inherit3.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_inherit_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_inherit_simple.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_inherit_simple2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_inherit_simple2.py -------------------------------------------------------------------------------- /test/py2js/basic/oo_static_inherit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/oo_static_inherit.py -------------------------------------------------------------------------------- /test/py2js/basic/pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/pass.py -------------------------------------------------------------------------------- /test/py2js/basic/print.py: -------------------------------------------------------------------------------- 1 | 2 | print 1.23, "foobar", -1, 'x' 3 | -------------------------------------------------------------------------------- /test/py2js/basic/raise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/raise.py -------------------------------------------------------------------------------- /test/py2js/basic/scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/scope.py -------------------------------------------------------------------------------- /test/py2js/basic/str1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/str1.py -------------------------------------------------------------------------------- /test/py2js/basic/sumcomp.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | x = sum(x*x for x in [2,3,4,5,6,7]) 4 | print x 5 | -------------------------------------------------------------------------------- /test/py2js/basic/super.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/basic/super.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/super.py -------------------------------------------------------------------------------- /test/py2js/basic/trueorfalse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/trueorfalse.py -------------------------------------------------------------------------------- /test/py2js/basic/try.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/try.py -------------------------------------------------------------------------------- /test/py2js/basic/tuple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/tuple.py -------------------------------------------------------------------------------- /test/py2js/basic/tuple2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/tuple2.py -------------------------------------------------------------------------------- /test/py2js/basic/valueerror.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/valueerror.py -------------------------------------------------------------------------------- /test/py2js/basic/vargs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/vargs.py -------------------------------------------------------------------------------- /test/py2js/basic/vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/vars.py -------------------------------------------------------------------------------- /test/py2js/basic/vars2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/vars2.py -------------------------------------------------------------------------------- /test/py2js/basic/while.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/basic/while.py -------------------------------------------------------------------------------- /test/py2js/convert_tabs_spaces.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/convert_tabs_spaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/convert_tabs_spaces.py -------------------------------------------------------------------------------- /test/py2js/errors/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/errors/decorator.py -------------------------------------------------------------------------------- /test/py2js/errors/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/errors/py_collision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/errors/py_collision.py -------------------------------------------------------------------------------- /test/py2js/functions/and.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/and.js -------------------------------------------------------------------------------- /test/py2js/functions/and.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/and.py -------------------------------------------------------------------------------- /test/py2js/functions/append.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/append.py -------------------------------------------------------------------------------- /test/py2js/functions/aug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/aug.js -------------------------------------------------------------------------------- /test/py2js/functions/aug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/aug.py -------------------------------------------------------------------------------- /test/py2js/functions/bitand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/bitand.js -------------------------------------------------------------------------------- /test/py2js/functions/bitand.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/bitand.py -------------------------------------------------------------------------------- /test/py2js/functions/bitor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/bitor.js -------------------------------------------------------------------------------- /test/py2js/functions/bitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/bitor.py -------------------------------------------------------------------------------- /test/py2js/functions/bitxor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/bitxor.js -------------------------------------------------------------------------------- /test/py2js/functions/bitxor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/bitxor.py -------------------------------------------------------------------------------- /test/py2js/functions/divfloor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/divfloor.py -------------------------------------------------------------------------------- /test/py2js/functions/float.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/float.js -------------------------------------------------------------------------------- /test/py2js/functions/float.py: -------------------------------------------------------------------------------- 1 | 2 | a = '123.456' 3 | b = float(a) 4 | print b 5 | -------------------------------------------------------------------------------- /test/py2js/functions/floatdiv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/floatdiv.js -------------------------------------------------------------------------------- /test/py2js/functions/floatdiv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/floatdiv.py -------------------------------------------------------------------------------- /test/py2js/functions/gtge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/gtge.py -------------------------------------------------------------------------------- /test/py2js/functions/in.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/in.py -------------------------------------------------------------------------------- /test/py2js/functions/int.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/int.py -------------------------------------------------------------------------------- /test/py2js/functions/isinstance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/isinstance.js -------------------------------------------------------------------------------- /test/py2js/functions/isinstance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/isinstance.py -------------------------------------------------------------------------------- /test/py2js/functions/len.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/len.py -------------------------------------------------------------------------------- /test/py2js/functions/lshift.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/lshift.js -------------------------------------------------------------------------------- /test/py2js/functions/lshift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/lshift.py -------------------------------------------------------------------------------- /test/py2js/functions/ltle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/ltle.py -------------------------------------------------------------------------------- /test/py2js/functions/ne.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/ne.py -------------------------------------------------------------------------------- /test/py2js/functions/or.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/or.js -------------------------------------------------------------------------------- /test/py2js/functions/or.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/or.py -------------------------------------------------------------------------------- /test/py2js/functions/pop.py: -------------------------------------------------------------------------------- 1 | 2 | a = [1,2,3,4] 3 | 4 | print a.pop() 5 | 6 | -------------------------------------------------------------------------------- /test/py2js/functions/rshift.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/rshift.js -------------------------------------------------------------------------------- /test/py2js/functions/rshift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/rshift.py -------------------------------------------------------------------------------- /test/py2js/functions/sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/sort.py -------------------------------------------------------------------------------- /test/py2js/functions/sort23.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/sort23.js -------------------------------------------------------------------------------- /test/py2js/functions/sort23.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/sort23.py -------------------------------------------------------------------------------- /test/py2js/functions/sort_cmp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/sort_cmp.js -------------------------------------------------------------------------------- /test/py2js/functions/sort_cmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/sort_cmp.py -------------------------------------------------------------------------------- /test/py2js/functions/str.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/functions/str.py -------------------------------------------------------------------------------- /test/py2js/functions/ubitcomp.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/functions/ubitcomp.py: -------------------------------------------------------------------------------- 1 | 2 | b = (~1 & 0xFFFF) 3 | print b 4 | -------------------------------------------------------------------------------- /test/py2js/functions/uminus.py: -------------------------------------------------------------------------------- 1 | 2 | x = -7623 3 | print x 4 | -------------------------------------------------------------------------------- /test/py2js/functions/uplus.py: -------------------------------------------------------------------------------- 1 | 2 | x = +7623 3 | print x 4 | -------------------------------------------------------------------------------- /test/py2js/libraries/xmlwriter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/libraries/xmlwriter.py -------------------------------------------------------------------------------- /test/py2js/lists/extend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/extend.py -------------------------------------------------------------------------------- /test/py2js/lists/filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/filter.py -------------------------------------------------------------------------------- /test/py2js/lists/in.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/in.py -------------------------------------------------------------------------------- /test/py2js/lists/insert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/insert.py -------------------------------------------------------------------------------- /test/py2js/lists/map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/map.py -------------------------------------------------------------------------------- /test/py2js/lists/max.py: -------------------------------------------------------------------------------- 1 | 2 | l = [4,7,3,4,2,1] 3 | 4 | v = max(l) 5 | 6 | print v 7 | -------------------------------------------------------------------------------- /test/py2js/lists/min.py: -------------------------------------------------------------------------------- 1 | 2 | l = [4,7,3,4,2,1] 3 | 4 | v = min(l) 5 | 6 | print v 7 | -------------------------------------------------------------------------------- /test/py2js/lists/reduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/reduce.py -------------------------------------------------------------------------------- /test/py2js/lists/reverse.py: -------------------------------------------------------------------------------- 1 | a = [1, 2, 3, 4] 2 | a.reverse() 3 | print a 4 | -------------------------------------------------------------------------------- /test/py2js/lists/subclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/subclass.py -------------------------------------------------------------------------------- /test/py2js/lists/subclass2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/subclass2.py -------------------------------------------------------------------------------- /test/py2js/lists/subclass3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/subclass3.py -------------------------------------------------------------------------------- /test/py2js/lists/sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/sum.py -------------------------------------------------------------------------------- /test/py2js/lists/sum2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/sum2.py -------------------------------------------------------------------------------- /test/py2js/lists/xrange.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/xrange.py -------------------------------------------------------------------------------- /test/py2js/lists/zip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/lists/zip.py -------------------------------------------------------------------------------- /test/py2js/modules/classname.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/classname.py -------------------------------------------------------------------------------- /test/py2js/modules/from_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/from_import.py -------------------------------------------------------------------------------- /test/py2js/modules/import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/import.py -------------------------------------------------------------------------------- /test/py2js/modules/import_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/import_alias.py -------------------------------------------------------------------------------- /test/py2js/modules/import_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/import_class.py -------------------------------------------------------------------------------- /test/py2js/modules/import_diamond.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/import_diamond.py -------------------------------------------------------------------------------- /test/py2js/modules/import_global.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/modules/import_global.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/import_global.py -------------------------------------------------------------------------------- /test/py2js/modules/import_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/import_multi.py -------------------------------------------------------------------------------- /test/py2js/modules/imported/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/modules/imported/alias_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/imported/alias_classes.py -------------------------------------------------------------------------------- /test/py2js/modules/imported/alias_fns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/imported/alias_fns.py -------------------------------------------------------------------------------- /test/py2js/modules/imported/modulea.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/imported/modulea.py -------------------------------------------------------------------------------- /test/py2js/modules/imported/moduleb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/imported/moduleb.py -------------------------------------------------------------------------------- /test/py2js/modules/imported/modulec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/imported/modulec.py -------------------------------------------------------------------------------- /test/py2js/modules/imported/moduled.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/imported/moduled.py -------------------------------------------------------------------------------- /test/py2js/modules/imported/submodules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/modules/imported/submodules/submodulea.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/imported/submodules/submodulea.py -------------------------------------------------------------------------------- /test/py2js/modules/module_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/module_name.py -------------------------------------------------------------------------------- /test/py2js/modules/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/modules/modules/diamond1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/modules/diamond1.py -------------------------------------------------------------------------------- /test/py2js/modules/modules/diamond2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/modules/diamond2.py -------------------------------------------------------------------------------- /test/py2js/modules/modules/klasses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/modules/klasses.py -------------------------------------------------------------------------------- /test/py2js/modules/modules/moda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/modules/moda.py -------------------------------------------------------------------------------- /test/py2js/modules/modules/module_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/modules/module_name.py -------------------------------------------------------------------------------- /test/py2js/modules/modules/submodules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/modules/modules/submodules/diamondbase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/modules/submodules/diamondbase.py -------------------------------------------------------------------------------- /test/py2js/modules/modules/submodules/module_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/modules/submodules/module_name.py -------------------------------------------------------------------------------- /test/py2js/modules/rng.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/modules/rng.py -------------------------------------------------------------------------------- /test/py2js/strings/count.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/count.js -------------------------------------------------------------------------------- /test/py2js/strings/count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/count.py -------------------------------------------------------------------------------- /test/py2js/strings/find.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/find.py -------------------------------------------------------------------------------- /test/py2js/strings/join.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/join.py -------------------------------------------------------------------------------- /test/py2js/strings/lstrip0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/lstrip0.js -------------------------------------------------------------------------------- /test/py2js/strings/lstrip0.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/lstrip0.py -------------------------------------------------------------------------------- /test/py2js/strings/lstrip1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/lstrip1.js -------------------------------------------------------------------------------- /test/py2js/strings/lstrip1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/lstrip1.py -------------------------------------------------------------------------------- /test/py2js/strings/replace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/replace.js -------------------------------------------------------------------------------- /test/py2js/strings/replace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/replace.py -------------------------------------------------------------------------------- /test/py2js/strings/rfind.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/rfind.js -------------------------------------------------------------------------------- /test/py2js/strings/rfind.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/rfind.py -------------------------------------------------------------------------------- /test/py2js/strings/rstrip0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/rstrip0.js -------------------------------------------------------------------------------- /test/py2js/strings/rstrip0.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/rstrip0.py -------------------------------------------------------------------------------- /test/py2js/strings/rstrip1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/rstrip1.js -------------------------------------------------------------------------------- /test/py2js/strings/rstrip1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/rstrip1.py -------------------------------------------------------------------------------- /test/py2js/strings/split.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/split.js -------------------------------------------------------------------------------- /test/py2js/strings/split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/split.py -------------------------------------------------------------------------------- /test/py2js/strings/splitlines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/splitlines.py -------------------------------------------------------------------------------- /test/py2js/strings/string_format_d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_d.js -------------------------------------------------------------------------------- /test/py2js/strings/string_format_d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_d.py -------------------------------------------------------------------------------- /test/py2js/strings/string_format_efg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_efg.js -------------------------------------------------------------------------------- /test/py2js/strings/string_format_efg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_efg.py -------------------------------------------------------------------------------- /test/py2js/strings/string_format_i.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_i.js -------------------------------------------------------------------------------- /test/py2js/strings/string_format_i.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_i.py -------------------------------------------------------------------------------- /test/py2js/strings/string_format_o.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_o.js -------------------------------------------------------------------------------- /test/py2js/strings/string_format_o.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_o.py -------------------------------------------------------------------------------- /test/py2js/strings/string_format_u.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_u.js -------------------------------------------------------------------------------- /test/py2js/strings/string_format_u.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_u.py -------------------------------------------------------------------------------- /test/py2js/strings/string_format_x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_x.js -------------------------------------------------------------------------------- /test/py2js/strings/string_format_x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/string_format_x.py -------------------------------------------------------------------------------- /test/py2js/strings/strip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/strip.js -------------------------------------------------------------------------------- /test/py2js/strings/strip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/strip.py -------------------------------------------------------------------------------- /test/py2js/strings/strip1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/strip1.js -------------------------------------------------------------------------------- /test/py2js/strings/strip1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/strip1.py -------------------------------------------------------------------------------- /test/py2js/strings/ulcase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/ulcase.py -------------------------------------------------------------------------------- /test/py2js/strings/ulcase1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/ulcase1.py -------------------------------------------------------------------------------- /test/py2js/strings/zipstring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/strings/zipstring.py -------------------------------------------------------------------------------- /test/py2js/test_builtins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/test_builtins.js -------------------------------------------------------------------------------- /test/py2js/test_compile_js.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/py2js/test_compile_js.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/py2js/test_compile_js.py -------------------------------------------------------------------------------- /test/runtests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredly/PJs/HEAD/test/runtests.js --------------------------------------------------------------------------------