Code Monkey home page Code Monkey logo

optica's Introduction

Build Status

optica

This repository contains Optica, the library associated to the article Viewing Language-Integrated Query From a Different Optic (J. López González and Juan M. Serrano), which was recently submitted to Science of Computer Programming.

Repo Structure

Core

  • concrete: definition of read-only concrete optics.
  • symantics: symantics of Optica (both optic combinators and actions), along with the standard, XQuery, TripletFun and T-LINQ interpretations.
  • xquery: algebraic data type that represents a subset of the XQuery grammar, with an interpretation to textual XQuery expressions.
  • triplet: definition of TripletFun and involved data types, with an interpretation to SQL select statements.
  • sql: algebraic data type that represents a subset of the SQL grammar, with an interpretation to textual SELECT statements.
  • tlinq: subset of T-LINQ primitives, along with the standard semantics.

Examples

  • couple: couple model and general queries over it.
  • organisation: organisation model and general queries over it.
  • test: suite of tests to execute general queries over different underlying infrastructures.

Running Tests

  1. Install SBT
  2. Clone this repo: $ git clone https://github.com/hablapps/optica.git
  3. Change directory: $ cd optica
  4. Run tests: $ sbt test (it might take up to several minutes)

optica's People

Contributors

alfonsorr avatar neutropolis avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  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.