She is a Indentation-sensitive syntax tool for Scheme
  • A live demo here, just type word in the left one. If there are problems about running the demo, please use Chrome. Or just submit issuses here to help me improve it.
  • Since the old version of Hightlight.js haven't udpated yet, the arshbang may break the syntax in the demo. No need to comment out that while using the command-line tool.
  • 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.

    comments powered byDisqus