Skip to content

Latest commit

 

History

History
executable file
·
34 lines (27 loc) · 656 Bytes

README.md

File metadata and controls

executable file
·
34 lines (27 loc) · 656 Bytes

thanos

This is the initial skeleton for a trufflecuda Truffle language.

To build the language and the unit tests:

mx build

To create eclipse, intellij, netbeans projects:

mx ideinit

To run unit tests:

mx unittest org.thanos

To use the thanos language from python:

mx --dynamicimports graalpython --cp-sfx <path-to-thanos>/mxbuild/dists/jdk1.8/thanos.jar python --polyglot
...
>>> import polyglot
>>> polyglot.eval(language="thanos",string="asdf")
Create Context for Thanos
1
>>> polyglot.eval(language="thanos",string="asdf")
1

thanosDSL

A Truffle DSL for algebraic rewrites to speed up linear algebra algorithms