Giter Site home page Giter Site logo

hywar's Introduction

The Hywar GPU programming language

Start the compiler in a haskell enviroment by executing

$ ghci Compiler.hs

Useful functions

doTaal x

Compiles a program to an expression tree. x is the id of the program. Extra programs can be defined in Testing.hs.

generateAndSaveLibrary program name

Will generate a .cpp and .h file in a folder named according to the name parameter. Will copy the utils.cpp and utils.hpp files as well. Include these in a project linked against an OpenCL SDK and you're good to go.

showTaal x

Starts a graphviz dot instance with a visual representation of the parse tree.

doTest

Will compile all original test cases (6003-6007) and execute make. TestKernels.cpp will be compiled with the compiled Hywar programs. The OpenCL SDK location should be written in de makefile.

showEx x

Will show variable example programs in strings. The Hywar example programs are programs in the range 6003-6007 inclusive.

Credits

Parsing framework written by Jan Kuper (all the files with the fancy formatting). The rest is written by Bob Rubbens (all the files without the fancy formatting).

hywar's People

Contributors

bobismijnnaam avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.