Giter Site home page Giter Site logo

pestle's People

Contributors

amikitevich avatar andrii-dymov avatar astorm avatar benmarks avatar brideo avatar davidangel avatar ddoddsr avatar fooman avatar horizonfitness avatar ihor-sviziev avatar joshfortyfour avatar khishman avatar lukeromanowicz avatar mfdj avatar nkajic avatar qwertyzw avatar ryantfowler avatar sallaberry avatar tdgroot avatar theycallmepepper avatar vincentmarmiesse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pestle's Issues

Add phar to build

Should phar prepackage all commands? Or should it be a generic runner you can point to a library?

Can't pestle_import a function if it matches a php function

Discovered this with the token functions. Because the importer works by exporting a function to the global namespaces, any function with a PHP name will bork things.

Possible fix -- throw a warning when this is encountered and import as a pestle_ prefixed function.

Implementing as is another possible fix.

Undo module.php?

This was an experiment gone wrong. Modules should be name based on their namespace only. We'll need to identify every file using module.php and make sure its not anymore.

Proper Option Parsing

Right now we're accepting arguments as passed to PHP. We should have proper - and -- option parsing. Initial thoughts are to have the options passed in to pestle_main as a second array. The $argv should be kept for that inputOrIndex still works as expected.

Normalizing Case on pestle_include calls

The following

pestle_import('Pulsestorm\Pestle\Importer\getCacheDir');
pestle_import('pulsestorm\pestle\importer\getCacheDir');

should "work" i.e. even though someone is trying to include something twice, the second should be silently ignored. Right now the system barfs on this, which creates problems if two modules are loaded, and each one uses a different format.

Need to dice if we're going to force a naming/case convention, be case sensitive, or normalize case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.