Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

sogaiu/abridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abridge Helper Program and Friends

Because you’ve seen that long string enough already.

Rationale

Sufficient docstrings can become long, but long docstrings can adversely affect readability and navigability of code.

What if long strings in your code could be automatically set up for folding?

Prerequisites

  • Some Java (using >= 8 here)

  • Native Image (implies appropriate GraalVM >= 19)

  • Clojure 1.9 and its clj tool

  • Atom or VSCode

Building and Setup

  • Clone this repository and cd to the clone

  • Ensure native-image is in your PATH -OR-
    Set GRAALVM_HOME appropriately (e.g. on Arch Linux this might be /usr/lib/jvm/java-8-graal)

  • Build the helper: clj -A:native-image. After some time, this should produce a file named "abridge" in the current directory.

  • Examine the atom / vscode subdirectory and follow the contained instructions for getting the Atom plugin / VSCode extension to work.

Technical Background

See the adorn repository.

Acknowledgments

Thanks to (at least) the following folks:

  • borkdude

  • lread

  • mauricioszabo

  • rundis

  • Saikyun

  • seancorfield

  • taylorwood

  • thheller

  • xsc

Releases

No releases published

Packages

No packages published