slamdata/truffled-purescript

Scala

91

17 commits

updated Nov 13, 2015

See the code

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.

Contributors

puffnfresh

15 commits

jdegoes

2 commits

slamdata/truffled-purescript

Scala

91

17 commits

updated Nov 13, 2015

See the code

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.

Contributors

puffnfresh

15 commits

jdegoes

2 commits

Languages

Scala

35.7%

Java

33.7%

Haskell

29.7%