Skip to content
/ scmfmt Public

A simple sexp pretty printter which works on stdin / stdout

Notifications You must be signed in to change notification settings

paines/scmfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scmfmt

  • A simple sexp pretty printer or chicken scheme code formatter which works on stdin / stdout.

Installation

sudo chicken-install scmfmt

or clone the repo, enter the directory and exectue

sudo chicken-install 

This will place an scmfmt executable in your PATH.

Testing

scmfmt < yourFile.scm

You can also:

  • use vscode extension named "External formatters" to enable this extension if you add
 "externalFormatters.languages": {
        "scheme": {
            "command": "scmfmt",
        }
    }

to settings.json located in ~/.config/Code/User/settings.json or @ext:steefh.external-formatters.

Once enabled you can use Ctrl-Shift+I to format the document/file containing the code.

About

A simple sexp pretty printter which works on stdin / stdout

Resources

Stars

Watchers

Forks

Packages

No packages published