1.5 KiB
1.5 KiB
Fennel
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 code is compiled to Lua, which then runs in the browser using Fengari. See documentation for Lua language support in LiveCodes here.
:::info Note
Lisp language family supported in LiveCodes includes Common Lisp, Scheme, ClojureScript and Fennel.
:::
Usage
JavaScript interoperability and DOM access is achieved using "js" module.
import LiveCodes from '../../src/components/LiveCodes.tsx';
This example demonstrates usage, JavaScript interoperability and DOM access:
Language Info
Name
fennel
Extension
.fnl
Editor
script
Compiler
Version
Fennel v1.3.0
Code Formatting
Using Parinfer.
Starter Template
https://livecodes.io/?template=fennel
Links
- Fennel
- Fennel tutorial
- Lua
- Fengari
- lua in LiveCodes
- Common Lisp in LiveCodes