dyna icon indicating copy to clipboard operation
dyna copied to clipboard

Repository has bitrotted?

Open nmsmith opened this issue 3 years ago • 6 comments

Has this repository bitrotted? I spent several hours just now trying to compile Dyna, but as someone who's not a Cabal expert, I was not able to get it to compile, no matter what version of Haskell or Cabal I tried. I kept getting package version clashes, primarily with wl-pprint-terminfo.

nmsmith avatar Sep 24 '20 10:09 nmsmith

Yes, I imagine the repository has bitrotted quite substantially in the several years since I've completed my PhD; it was fragile even then. If you want to play with a Dyna-like language, it's possible that @timvieira has better options available.

nwf avatar Sep 24 '20 11:09 nwf

Yes I’d love to be able to play with a similar logic language, especially if there are no functional Dyna compilers! The language has piqued my interest.

nmsmith avatar Sep 24 '20 12:09 nmsmith

We have a new iteration of dyna that we are working on here: https://github.com/matthewfl/dyna-R/ (paper)

matthewfl avatar Sep 24 '20 13:09 matthewfl

Exciting! I'll have a play around.

nmsmith avatar Sep 24 '20 23:09 nmsmith

Also, it might be worth updating the README with this information to save the next poor soul some time :)

nmsmith avatar Sep 25 '20 00:09 nmsmith

I tried to get a compiler which supports a extremely small subset of Dyna working https://github.com/PtrMan/Tenma It currently has a compiler to Haxe and a untested one to OpenCL (I belief). This thing takes the AST of the Dyna program and statically compiles it to the target language(s).

This project died down, because I am currently not using Dyna in my projects and because I have other stuff to do. But I made sure that the compiler works for simple cases.

Maybe this thing can inspire some people to try something similar, good luck :)

PtrMan avatar Sep 30 '20 13:09 PtrMan