conrad.steenberg
2019-8-16 21:45:34

Hi all - since Honu is proposed as the basis of a new syntax, is there a simple honu -> scheme converter somewhere to play with?



soegaard2
2019-8-16 22:02:58

soegaard2
2019-8-16 22:05:04

Also here is a few examples: https://github.com/kazzmir/Honu


conrad.steenberg
2019-8-16 22:05:04

I assume for someone who knows racket it would be trivial to use the #lang honu machinery to produce a converter


conrad.steenberg
2019-8-16 22:05:25

Those are all fine resources :+1:


conrad.steenberg
2019-8-16 22:06:38

I was wondering if there’s a converter script somewhere that can do honu-convert file.hnu > file.scm :slightly_smiling_face:


soegaard2
2019-8-16 22:08:03

Well, #lang honu is a converter. It is implemented as a parser that turns a #lang honu file into racket code.


soegaard2
2019-8-16 22:08:50

It’s not trivial to produce standard Scheme code from a Honu file.


conrad.steenberg
2019-8-16 22:13:53

ok, gotcha


notjack
2019-8-16 23:43:28

@conrad.steenberg just to be clear: all of the racket command line programs and tools should automatically work on Honu files, because they use the #lang line to figure out how to parse and execute the code. So if there was a racket to scheme converter tool like racket-to-scheme program.rkt, it would be about to convert Honu files as well, without any extra configuration or anything.