ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Fennel

by gbaptista ST3

Fennel Language Support for Sublime Text 3 & 4

Details

Installs

  • Total 222
  • Win 81
  • Mac 70
  • Linux 71
Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Fennel Support for Sublime Text 3 & 4 Syntax Tests

“Fennel is a programming language that brings together the speed, simplicity, and reach of Lua with the flexibility of a lisp syntax and macro system.” fennel-lang.org

Heavily tested against Fennel 1.3.0 and Lua 5.4.4 specifications.

Screenshot of a Fennel code highlighted.

Installing

  • Install Package Control
  • ctrl + shift + p
    • Package Control: Install Package
    • Fennel

Completions

One hundred ninety-nine completions are available for Fennel 1.3.0 and Lua 5.4.4.

Fennel Completions

Screenshot of a Fennel code with a completions list.

Lua Completions

Screenshot of a Fennel code with a completions list.

Snippets

14 snippets are available:

  • fn lambda λ
  • and or not
  • -> ->> -?> -?>>
  • while do if do while

Screenshot of a Fennel code highlighted.

References

Development

Uninstall your current Fennel package.

Clone the repository inside Packages/Fennel (symbolic link doesn't work):

git clone \
  https://github.com/gbaptista/sublime-text-fennel.git \
  /home/me/.config/sublime-text/Packages/Fennel

Check the files under tests/ and:

ctrl + shift + p:

  • Build With: Syntax Tests
  • Build With: Syntax Tests - Performance
  • Build With: Syntax Tests - All Syntaxes
  • Build With: Syntax Tests - Regex Compatibility

To debug the current scope of a character: ctrl + alt + shift + p

The project Sublime Text Colors may be helpful.

Screenshots

Material Theme Darker Screenshots

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Monokai Screenshots

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Solarized (Light) Screenshots

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Completions Screenshots

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Snippets Screenshots

Screenshot of a Fennel code highlighted.

Screenshot of a Fennel code highlighted.

Acknowledgments

The Clojure Package inspired this package.