Skip to content

XilunWu/sc-public

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 99.7%
  • Shell 0.3%