Hello world/Graphical: Difference between revisions

Content added Content deleted
m (Specify required font file location.)
(→‎{{header|Fennel}}: rm unnecessary header)
Line 1,650: Line 1,650:


=={{header|Fennel}}==
=={{header|Fennel}}==
==={{libheader|LÖVE}}===
{{libheader|LÖVE}}
<syntaxhighlight lang="fennel">
<syntaxhighlight lang="fennel">
(fn love.load []
(fn love.load []
Line 1,660: Line 1,660:
(love.graphics.print str 95 150)))
(love.graphics.print str 95 150)))
</syntaxhighlight>
</syntaxhighlight>
To run this, you need to have LÖVE installed in your machine, and then run this command <code>fennel --compile love_test.fnl > main.lua; love .</code>. Since LÖVE has no compatibility with Fennel, we need to AOT-compile the file to a Lua file called <code>main.lua</code>, so then LÖVE can execute the program.
To run this, you need to have LÖVE installed in your machine, and then run this command <code>fennel --compile love_test.fnl > main.lua; love .</code>. Since LÖVE has no compatibility with Fennel, we need to AOT-compile the file to a Lua file called <code>main.lua</code>, so then LÖVE can execute the program.




=={{header|FreeBASIC}}==
=={{header|FreeBASIC}}==