XilunWu / sc-public

Example DSLs for working with SC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SC Public

This repository contains example Domain-Specific Languages (DSLs) defined using the SC framework.

To learn and develop optimized DSLs using SC, one should first get familiar with some programming language fundamentals, explained in the development process page.

We concretely demonstrate the development process through three toy examples:

  • the List tutorial: using quasiquotes to define lowerings and offline optimizations on a basic List class, and converting it to use simple C-like memory management
  • the Relation tutorial: using quasiquotes to define transformations for compiling relational algebra queries, specializing them based on Schema information
  • the Vector tutorial: defining a DSL for working with Vectors

Some additional docs are provided in the doc folder.

You can download the binaries of SC here.

About

Example DSLs for working with SC


Languages

Language:Scala 99.7%Language:Shell 0.3%