/hlpy

Primary LanguageJupyter Notebook

Sketching

Playing around with an alternate, Python AST-based embedding of Halide.

Check out the markdown first as the most readable form. (Also rendered in parallel as python source and a jupyter notebook. I'm using jupytext to sync them, and actually find working in markdown much of the time most effective.)

Development

Set up to use pipenv and pyenv. (I also use direnv so I don't have to manually switch to and from the pipenv shell, but that's optional.) To get started:

$ git clone git@github.com:jrk/hlpy.git
$ cd hlpy
$ pipenv install # bootstrap the environment
$ pipenv shell # enter the environment, if not using direnv

TODO

  • Start project template
  • [-] Define IR for front-end
  • Start parsing AST