

- Textadept wiki how to#
- Textadept wiki install#
- Textadept wiki update#
- Textadept wiki manual#
- Textadept wiki code#
If the target system of your application does not make it easy to add the Fennel compiler but has Lua installed, Fennel offers ahead-of-time compilation. You can pass options to the fennel compiler, by using fennel.makeSearcher() instead of archer.īe sure to use the a library and not the file for the entire fennel executable.
Textadept wiki code#
searcher ) local mylib = require ( "mylib" ) - will compile and load code in mylib.fnl Local fennel = require ( "fennel" ) table.insert (package.
Textadept wiki install#
If you already use a package manager on your system, you may be able to use it to install Fennel. Move the downloaded binary to a directory on your $PATH, such as /usr/local/bin.Download the signature and confirm it matches using gpg -verify fennel-1.2.0*.asc (optional but recommended).

Textadept wiki update#
This method requires you to manually update the fennel binary when you want to use a newer version that has come out. Downloading a Fennel binaryĭownloading a Fennel binary allows you to run Fennel on your computer without having to download Lua, if you are on a supported platform. Or you can leave the version in the name, which makes it easy to keep many versions of Fennel installed at once. Note: You can rename the script to fennel for convenience. Move fennel-1.2.0 to a directory on your $PATH, such as /usr/local/bin.Run gpg -verify fennel-1.2.0.asc to verify that the fennel script is from the Fennel creators (optional but recommended).Run chmod +x fennel-1.2.0 to make it executable.This method requires you to manually update the fennel script when you want to use a newer version that has come out. This method assumes you have Lua 5.1, 5.2, 5.3, 5.4, or LuaJIT installed on your system. Downloading the fennel scriptĭownloading the fennel script allows you to place the script in convenient locations for running Fennel code.
Textadept wiki how to#
You have a few options for how to install Fennel. Downloading Fennelĭownloading Fennel on your computer allows you to run Fennel code and compile to Lua. Note: Fennel can be used in non-UNIX environments, but those environments will not be covered in this document. This document assumes you know how to run shell commands and edit configuration files in a UNIX-like environment. This document will guide you through setting up Fennel on your computer.
Textadept wiki manual#
From there you can define new functions, key bindings, themes, and even modules, as explained in the manual and the API.īy default, Textadept features modules for its core only, that is ANSI C, Lua and itself, however the AUR package also embeds some of the official modules.

You can edit ~/.textadept/a to start customizing the editor. On first start, Textadept will create a ~/.textadept folder. The curses version runs in a CLI environment.
