On Tue, Jan 12, 2021 at 11:10:23PM +1300, Evan Hanson wrote:
> On 2021-01-11 16:53, Vasilij Schneidermann wrote:
> > Evan Hanson wrote one: https://git.foldling.org/schematic/
>
> I did. I actually forgot about that! But I did, a while ago, and I've
> been using it ever since, which I guess means
Thanks for the replies!
This gives me some stuff to play with.
I know about emacs, and frequently use it just to format
code.
But I mostly use vi these days.
I pipe the buffer thru gofmt for go code, and thru indent for
C code. I like this work flow.
thanks!,
--
Paul
Hi Paul,
On 2021-01-11 16:53, Vasilij Schneidermann wrote:
> Evan Hanson wrote one: https://git.foldling.org/schematic/
I did. I actually forgot about that! But I did, a while ago, and I've
been using it ever since, which I guess means it works?
You can install the "schematic" egg and try piping
Hi Paul,
Evan Hanson wrote one: https://git.foldling.org/schematic/
I don't use source code formatters though, Emacs does the indentation
parts far better than anything else, leaving strategic placement of line
breaks to the programmer.
Vasilij
signature.asc
Description: PGP signature
The problem with pretty printer is that it is not designed for source:
it does not keep comments and blank lines.
+1
Scheme reader that preserves them:
- https://github.com/weinholt/laesare
Work-in-progress formatters:
- https://github.com/paines/scmfmt (uses Chicken pretty printer)
- https
; I don't know of any dedicated source code formatter for Scheme. Piping
> expressions through Chicken's pretty printer[1] can be (ab)used for
> this, though. (Credit goes to kooda for showing me this trick)
>
> [1] https://wiki.call-cc.org/man/5/Module%20(chicken%20pretty-prin
I don't know of any dedicated source code formatter for Scheme. Piping
expressions through Chicken's pretty printer[1] can be (ab)used for
this, though. (Credit goes to kooda for showing me this trick)
[1] https://wiki.call-cc.org/man/5/Module%20(chicken%20pretty-print)
On 1/11/
Hi!,
Does anyone use a source code formatter?
Which one?
thanks!