Created
April 22, 2018 03:14
-
-
Save verma/ab41ab46ed8170c0f84612745cc5fda8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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