mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
development/Fennel: Fix README.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ebdd06a166
commit
fcd64708e2
1 changed files with 21 additions and 11 deletions
|
@ -1,24 +1,34 @@
|
|||
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 is a programming language that brings together the speed,
|
||||
simplicity, and reach of Lua with the flexibility of a lisp syntax and
|
||||
macro system.
|
||||
|
||||
* Full Lua compatibilty: Easily call any Lua function or library from Fennel and vice-versa.
|
||||
* Zero overhead: Compiled code should be just as or more efficient than hand-written Lua.
|
||||
* Compile-time macros: Ship compiled code with no runtime dependency on Fennel.
|
||||
* Embeddable: Fennel is a one-file library as well as an executable. Embed it in other
|
||||
programs to support runtime extensibility and interactive development.
|
||||
* Full Lua compatibilty: Easily call any Lua function or library from
|
||||
Fennel and vice-versa.
|
||||
* Zero overhead: Compiled code should be just as or more efficient
|
||||
than hand-written Lua.
|
||||
* Compile-time macros: Ship compiled code with no runtime dependency
|
||||
on Fennel.
|
||||
* Embeddable: Fennel is a one-file library as well as an
|
||||
* executable. Embed it in other programs to support runtime
|
||||
* extensibility and interactive development.
|
||||
|
||||
Anywhere you can run Lua code, you can run Fennel code.
|
||||
|
||||
This require one version of Lua installed (lua, lua52, lua53, luajit):
|
||||
Default support for all versions of Lua installed before build.
|
||||
To specify which Lua versions:
|
||||
LUAVER="vers"
|
||||
"vers" must be one or more of "5.1 5.2 5.3 jit" in the right order separated with space
|
||||
export LUAVER="vers"
|
||||
|
||||
"vers" must be one or more of "5.1 5.2 5.3 jit" in the right order
|
||||
separated with space.
|
||||
|
||||
After installation there are one or more fennel executable files for the
|
||||
equivalent versions of Lua.
|
||||
|
||||
To install compiled binary versions (experimental, only works with lua5.2 or higher):
|
||||
BINARY=yes
|
||||
To install compiled binary versions (experimental, only works with
|
||||
lua5.2 or higher):
|
||||
|
||||
export BINARY=yes
|
||||
|
||||
Optional dependency:
|
||||
* lua-readline
|
||||
|
|
Loading…
Reference in a new issue