Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Calypso: Related work that might be useful. #2

Copy link
Copy link
@kevinswiber

Description

@kevinswiber
Issue body actions

Howdy.

This repo just popped up on my radar.

I'm doing something similar with kevinswiber/calypso.

You can find all the query language parsing code here: https://github.com/kevinswiber/calypso/tree/master/compiling

I'm using Jison to generate a SQL parser. It doesn't fully conform to any SQL standard, but it's a start.

The goal of Calypso is to provide a common query language that can be implemented on top of any queryable data source. I have drivers for MongoDB and a Backend-as-a-Service called Usergrid. Calypso was born out of another project. I still need to port over older CouchDB and Salesforce drivers.

It also has a data mapper associated with it for automatically hydrating query results into object models.

The source code is released under the MIT license (my employer, Apigee, holds the copyright).

Here's a usage example: https://gist.github.com/kevinswiber/44542186e5dbc5bd03c6

Anyway, the point is... there might be some code you can steal from Calypso to serve your interests. If so, have at it!

Cheers!

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.