Re:Fairylog: A Racket language aiming to be like Verilog
by Taniwha on Saturday April 20, 2019 @11:57PM
(#19710459)
I'm not sure I see the point, it turns a language that looks a lot like verilog but with lots more parentheses into verilog - why not just write verilog in the first place?
[ Parent
| on HN ]
Re:Fairylog: A Racket language aiming to be like Verilog
by neilv on Sunday April 21, 2019 @12:23AM
(#19710528)
The author's stated motivations sounded plausible to me:
> Fairylog is a Racket language (of course) which aims to be quite like Verilog, with less redundant syntax, Racket macros, and several additional compile-time features that Verilog seems to be lacking. > Fairylog extends Racket rather than replaces it, which means you can use all of Racket wherever you like in Fairylog code to help you generate stuff.
I think there might be an additional benefit of this, to implementers of languages atop Racket, in that they can transform/generate syntax objects (essentially, ASTs with source location info) to use this language as backend, pretty easily. I suppose this might be good for rapid experimenting in developing/compiling for CPU+FPGA targets.