Permalink
Commits on Jan 9, 2012
  1. Merge branch 'devel' of github.com:chrivers/pyjaco into devel

    Christian Iversen committed Jan 9, 2012
  2. Merge pull request #10 from buchuki/run_script

     * Extensive improvements to pyjs.py and source tree layout (buchiki)
    Christian Iversen committed Jan 9, 2012
  3. Merge pull request #12 from buchuki/documentation

     + Add a comprehensive example of using pyjaco and jQuery to build a todo list (buchuki)
    Christian Iversen committed Jan 9, 2012
Commits on Jan 8, 2012
  1. Add a comprehensive example of using pyjaco and jquery to build a tod…

    …o list.
    Dusty Phillips committed Jan 8, 2012
  2. I forgot to update the distributed libraries directory.

    Dusty Phillips committed Jan 8, 2012
Commits on Jan 6, 2012
  1. Allow generating a py-builtins.js without any input files.

    Dusty Phillips committed Jan 6, 2012
  2. Don't wrap the compile step in the argument check.

    Dusty Phillips committed Jan 6, 2012
  3. Use pkg_resources to load the library files instead of __file__. This…

    … should make the package much more cooperative when distributed as an egg.
    Dusty Phillips committed Jan 6, 2012
  4. Merge (rewrite) the generate_library.py into pyjs.py

    This commit also moves the library into the pyjaco package to ease distribution via setup.py.
    
    NOTE: This is a rewrite of a previous commit where the library had been moved
    to pyjaco/jslib instead of pyjaco/stdlib
    Dusty Phillips committed Jan 6, 2012
  5. Make the parser a global so that the execution scripts can call parse…

    …r.error()
    Dusty Phillips committed Jan 6, 2012
  6. Merge pull request #9 from buchuki/run_script

     * Add an import option as an alias to -b import
    Christian Iversen committed Jan 6, 2012
  7. Add an import option as an alias to -b import

    Dusty Phillips committed Jan 6, 2012
  8. Merge pull request #6 from buchuki/run_script

     * Major improvements to pyjs.py from buchuki
    Christian Iversen committed Jan 6, 2012
Commits on Jan 2, 2012
  1. Continue monitoring even if the compilation fails.

    Dusty Phillips committed Jan 2, 2012
Commits on Dec 29, 2011
  1. Create a code monitor that automatically recompiles .py and .pyjaco f…

    …iles when the input file or directory changes.
    
    This should work, but hasn't been tested on Windows or MacOS.
    Dusty Phillips committed Dec 29, 2011
  2. move the compilation step to its own function in preparation for code…

    … watching.
    Dusty Phillips committed Dec 29, 2011
Commits on Dec 28, 2011
  1. allow processing a directory of input files in addition to a single f…

    …ile.
    Dusty Phillips committed Dec 28, 2011
  2. Refactor input to compile individual files.

    This paves the way for compiling all files in one directory into another directory.
    Dusty Phillips committed Dec 28, 2011
  3. Add an option to generate a py-builtin.js file.

    This is still a work in progress. Generating the file in the input directory is probably not sensible. Additionally, the path to the file is hard-coded and the source py-builtins are not included in the binary distribution from setup.py anyway.
    Dusty Phillips committed Dec 28, 2011
  4. collapse the builtin generation options into a single option.

    A default value is provided to enhance the user experience. The dummy generate option will be used to generate a separate file in a future commit.
    Dusty Phillips committed Dec 28, 2011
  5. Allow setting the output to a directory, automatically building the f…

    …ilename from the input file.
    Dusty Phillips committed Dec 28, 2011
  6. Add a short option for output

    Dusty Phillips committed Dec 28, 2011
Commits on Dec 27, 2011
  1. Merge branch 'devel' of github.com:chrivers/pyjaco into devel

    Christian Iversen committed Dec 27, 2011
  2. Merge pull request #4 from buchuki/documentation

     * Path from buchuki: Create a pyjaco example that utilizes jQuery.
    Christian Iversen committed Dec 27, 2011
  3. Create a pyjaco example that utilizes jQuery.

    This example uses the pyjs.py script to compile a single javascript file.
    Dusty Phillips committed Dec 27, 2011
  4. + Added support for compiler switches (we have needed them for a whi…

    …le now)
    
     + Added first switch: check_params (default = True). When this is on,
       generate code to ensure that every function call receives all
       expected parameters. This incurs a small performance hit, so it is
       possible (although not recommended) to switch it off for production
       code.
    Christian Iversen committed Dec 27, 2011
  5. * Updateed known-to-fail.py to reflect new test case names

    Christian Iversen committed Dec 27, 2011
  6. + Added support for tuple unpacking in list comprehension

    Christian Iversen committed Dec 27, 2011
  7. * Split tests out into categories. This makes it much easier to figu…

    …re out where they belong, and how good coverage we have
    Christian Iversen committed Dec 27, 2011
  8. * Create tests/class for class and OO tests

    Christian Iversen committed Dec 27, 2011
  9. * Create tests/class for class and OO tests

    Christian Iversen committed Dec 27, 2011
  10. * Renamed tests/lists -> tests/list

    Christian Iversen committed Dec 27, 2011