Skip to content

Instantly share code, notes, and snippets.

@verma
Created April 22, 2018 03:14
Show Gist options
  • Save verma/ab41ab46ed8170c0f84612745cc5fda8 to your computer and use it in GitHub Desktop.
Save verma/ab41ab46ed8170c0f84612745cc5fda8 to your computer and use it in GitHub Desktop.
;; main.fnl
(fn love.draw []
(love.graphics.print "Hello World" 200 200))
$ fennel --compile main.fnl > .\main.lua
;; main.lua
love.draw = function()
return love.graphics.print("Hello World", 200, 200)
end
return love.draw
;; error
Syntax error: main.lua:1: '=' expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment