GithubHelp home page GithubHelp logo

sullis / partiql-lang-kotlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from partiql/partiql-lang-kotlin

0.0 1.0 0.0 2.42 MB

A implementation of PartiQL written in Kotlin.

Home Page: https://partiql.org/

License: Apache License 2.0

Kotlin 94.91% Java 0.06% HTML 4.61% Shell 0.42%

partiql-lang-kotlin's Introduction

Maven Central Build Status codecov

PartiQL Lang Kotlin

This is a Kotlin implementation of the PartiQL specification. PartiQL is based on SQL-92 and has added support for working with schemaless hierarchical data. PartiQL’s extensions to SQL are easy to understand, treat nested data as first class citizens and compose seamlessly with each other and SQL.

This repository contains an embeddable reference interpreter, test framework, and tests for PartiQL in Kotlin.

The easiest way to get started with PartiQL is to clone this repository locally, build, then run the REPL.

Status

PartiQL should be considered to be in "preview" status. It has been in use within a number of Amazon internal systems and an AWS product for over one year. The behavior of the language itself is mostly stable however the public API of the interpreter is slated to undergo significant improvements in the near term. (See the GitHub issues list for details.)

Using In Your Project

This project is published to Maven Central.

Group ID Artifact ID Recommended Version
org.partiql partiql-lang-kotlin 0.2.4

For Maven builds, add this to your pom.xml:

<dependency>
  <groupId>org.partiql</groupId>
  <artifactId>partiql-lang-kotlin</artifactId>
  <version>{version}</version>
</dependency>

For Gradle 5 and later, add this to your build.gradle:

repositories {
    mavenCentral()
}

dependencies {
    implementation "org.partiql:partiql-lang-kotlin:{version}"
}

Be sure to replace {version} with the desired version.

Building

To build this project, clone this repository and from its root directory execute:

$./gradlew build

This will build the reference interpreter and test framework, then run all unit and integration tests.

Building the documentation

Instructions on how to build PartiQL's documentation

Directory Structure

  • docs/user documentation for developers embedding the interpreter in an application.
  • docs/dev documentation for developers of the interpreter library.
  • lang contains the source code of the library containing the interpreter.
  • cli contains the source code of the command-line interface and interactive prompt. (CLI/REPL)
  • testframework contains the source code of the integration test framework.
  • integration-test/test-scripts contains the test scripts executed by the test framework as part of the Gradle build.
  • integration-test/test-scripts-ignored contains test scripts which cannot be executed during the Gradle build.

Examples

See the examples project in this repository for examples covering use of the PartiQL interpreter in your project.

Contributing

See CONTRIBUTING

License

This the works contained within this repository are licensed under the Apache 2.0 License.

See the LICENSE file.

partiql-lang-kotlin's People

Contributors

dlurton avatar therapon avatar raganhan avatar alancai98 avatar abhikuhikar avatar sullis avatar evanj avatar appwiz avatar zslayton avatar almann avatar scb01 avatar axiomabsolute avatar metadaddy avatar pcholakov avatar eko avatar

Watchers

 avatar

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.