fennel
fennel is an actively used programming language created in 2016.
4Years Old | 1,040Users | ?Jobs |
- the fennel website
- fennel on github
- fennel first appeared in 2016
- Have a question about fennel not answered here? Email me and let me know how I can help.
Example code from the web:
;; Sample: read the state of the keyboard and move the player accordingly (local dirs {:up [0 -1] :down [0 1] :left [-1 0] :right [1 0]}) (each [key delta (pairs dirs)] (when (love.keyboard.isDown key) (let [[dx dy] delta [px py] player x (+ px (* dx player.speed dt)) y (+ py (* dy player.speed dt))] (: world :move player x y))))
Last updated August 9th, 2020