She is a cli tool for generating part of brackets in Scheme.
Usenpm install -g sheto installshefrom NPM.
Yeah.. You need to install nodejs first, rather than Chicken Scheme , which looks better.
Runshe a.sheorshe a.ss, and the process begins to watch and convert, just like the demo above.
Useshe -q a.sheorshe --quickto force it quit after running for one time.
Option-ocan be used to specify the output directoryshe -o dir/ a.she,
Orshe a.she -o dir/as well. Only the first argument after-oworks as directory.
How does she work on brackets..
There a some rules.. Quite complicated to explain for me to use English on this issue.
But indetations relates to brackets right? I wrote CoffeeScript to count the indetations first,
then I try to add brackets according to the numbers.For special characters, I have to handle them elsewhere.
If you are interested about that, please read my code on Github which was writtern in CoffeeScript.
That's all about she. I'm trying to learn Chicken these days.