Giter VIP home page Giter VIP logo

Comments (2)

EntilZha avatar EntilZha commented on May 21, 2024

After thinking about this more, this seems like it might be worth doing. It looks like the benefits could be:

  • Some brevity offered by SQL
  • Further differentiate capabilities of the package from other packages
  • It is an interesting problem and maybe it comes useful down the line for running on structured data.

I have been experimenting with pyparsing as I have time here and there. Code is in an ipython notebook gist with most of a SQL parser implementation complete.

Next steps will be:

  • Do more testing to make sure the parser works correctly
  • See if the SQL subset currently there is worth cutting down further
  • Implement a parsed SQL to ScalaFunctional transformations compiler (this is the hardest one and I need to read more to find what is the best way to do this).
  • Separate out different expressions so they can be used independently to parse some of the LINQ functions when the input is a string (query).

from pyfunctional.

EntilZha avatar EntilZha commented on May 21, 2024

Closing this since it seems far off. I like the idea, but this will require writing a SQL parser/compiler which seems beyond the scope of just this project. If this happens it would be in a separate package and PyFunctional would use it as a library.

from pyfunctional.

Related Issues (20)

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.