Giter Site home page Giter Site logo

silky / eclair-lang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luc-tielen/eclair-lang

0.0 1.0 0.0 70 KB

An experimental, minimal Datalog implementation in Haskell

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.43% Haskell 99.57%

eclair-lang's Introduction

eclair

An experimental and minimal Datalog implementation, for better understanding of certain compiler algorithms.

Features

Eclair is a very minimal Datalog (for now). It only supports the following features:

  • Facts containing literals (only integers are supported)
  • Rules consisting of one or more clauses.
  • Rules can be non-recursive, recursive or mutually recursive.

It's extremely alpha software, not ready for real use. Right now it only compiles down to an intermediate representation. Many edgecases are not checked yet (there is no semantic analysis / typesystem yet).

Roadmap

  • Compile Datalog to relation algebra (RA)
  • Prettyprinter for RA IR
  • Interpreter for RA IR
  • Compile to LLVM
  • Add indices to relations
  • Support other data types than integers (strings, ...)
  • Add typesystem
  • Add static analysis for the many edgecases
  • ...

This roadmap is not set in stone, but it gives an idea on the direction of the project. 😄

Why the name?

Eclair is inspired by Soufflé, a high performance Datalog that compiles to C++. Because of the similarities, I chose a different kind of food that I like. I mean, an eclair contains both chocolate and pudding, what's not to like!?

eclair-lang's People

Contributors

luc-tielen 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.