slamdata/truffled-purescript

Name: truffled-purescript

Owner: SlamData, Inc.

Description: null

Created: 2015-06-08 22:43:12.0

Updated: 2018-04-29 04:32:06.0

Pushed: 2015-11-13 12:33:20.0

Homepage: null

Size: 172

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Truffled PureScript

Truffle is an API for writing AST interpreters on the JVM. When combined with Graal, Truffle can partially evaluate and specialise AST nodes to generate efficient machine code.

PureScript is a small strongly typed programming language.

This project combines both together so that we can run PureScript on the JVM.

Implementation
purescript-corefn-gen

Takes PureScript (since 0.7) code, compiles to the intermediate CoreFn representation and dumps it out as JSON.

purescript-truffle-eval

Takes the CoreFn JSON, constructs Truffle nodes and evaluates the root node.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.